-
Notifications
You must be signed in to change notification settings - Fork 17
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
Binning prototype #1236
Open
demajistre
wants to merge
15
commits into
IMAP-Science-Operations-Center:dev
Choose a base branch
from
demajistre:binning-prototype
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Binning prototype #1236
demajistre
wants to merge
15
commits into
IMAP-Science-Operations-Center:dev
from
demajistre:binning-prototype
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…1187) * Add combined HI 45/90 xtce file generated from TLM spreadsheets Remove Hi L0 decom as this is now done entirely with packets_to_datasets Point L1A at new xtce file and add Hi 90 APIDs * Add new Hi 90 sample L0 data Point l1a and l1b tests at new sample L0 data Fix issues with histogram (SCI_CNT) decom issues after packet definition change * Get sci_de decom working for now. Validation will likely uncover some bugs. * Remove Hi L0 from code documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary
Overview
This is pull request is NOT meant to be merged. Rather it provides some example code for an abstract class for binning schemes and some examples of their use.
Overall structure
All the example code is in the ultra_user package, which contains code for us to execute the ultra codebase locally from some current state of the ISOC repo. The current package has a sub-package called 'energy_check', and these changes are not important to the binning schemes - they are just there to provide testing data and functionality (mostly because the initial version we pulled from did not have the velocity corrections necessary for testing the binning schemes).
The code of interest here is in mapbin, which provides:
binscheme: an abstract class for binning types
lonLatscheme: an example binning type - longitude latitude
hpscheme: an example binning type - using healpix
mapBinner: an example of the use of the abstract class
binfragments: some python that 'test drives' the modules in the package