-
Notifications
You must be signed in to change notification settings - Fork 3
Category splitting #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Category splitting #185
Conversation
…d N2. Also padded inproperly sized submaps using np.pad.
samaloney
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, just some minor comments and need tests for the functions at least.
| """ | ||
| selection = [] | ||
| for type in types: | ||
| subtable = table[table["category"] == type] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the input just an astroy table this columns name should be parameter also need some tests.
…Passes tests locally.
Refactored tests into separate file within testing folder, created te…
…_flare_check can work properly
…me series test data from .parq to .ecsv
Changed the data prep function to check and split both flares and active regions for positive and negative data, split into 4 categories. F - positive case, flare occurs after run. N - negative case, no flare after run. 1 - no flares during run. 2 - flares during run.
Added padding function to ensure all frame sizes the same.