-
Notifications
You must be signed in to change notification settings - Fork 3
L2_spec #427
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
base: master
Are you sure you want to change the base?
L2_spec #427
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #427 +/- ##
===========================================
- Coverage 72.23% 40.29% -31.94%
===========================================
Files 78 77 -1
Lines 8085 8259 +174
===========================================
- Hits 5840 3328 -2512
- Misses 2245 4931 +2686 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| l2 = super().from_level1(l1product, parent=parent)[0] | ||
| l2.data['test'] = 1 | ||
|
|
||
| # interpolate counts if RCR > 0 at any time point | ||
| if l2.data['rcr'].sum() > 0: | ||
| l2.data_corrected = l2.data[:] |
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.
@samaloney here goes the count to flux conversion and lifetime correction
Add support for trigger scaling in compression mode S=0,k=0,M=7 (i4Ds#377) * Unscale data when compressed with mode S=0,k=0,M=7 * QL - LC, BKG, SPECTRA * BSD - CPD, SCPD, VIS and SPEC bump all product versions to 2 (i4Ds#378) * bump all product versions to 2 * roleout IDB version 2.26.27 * fix test with new version number in mock object * fix test * fix for latest IDB as fallback Fix duplicated hk time bin bug Ddpdupdates2 (i4Ds#380) * bump all product versions to 2 * prep for L2 ddpd * integrate IDB release 2.26.38 * update for common CONF submodule * fir text for latest IDB to 2.26.38 Config fix (i4Ds#381) * bump all product versions to 2 * fix module path Fix bugs found when processing new scaled trigger data. (i4Ds#382) * Fix bug processing new scaled trigger data. * Allow for QL file to unscale by packet * Fix bug that create extra (replica) triggers in Spectrogram Publish_L2 / RID LUT Manager (i4Ds#385) * bump all product versions to 2 * RID LUT data manager update and use in processing for trigger descaling * Update stixcore/io/RidLutManager.py * fixed API mock via static files on pup99 --------- Co-authored-by: Shane Maloney <[email protected]> Add warning if trigger scaling changes in request (i4Ds#388) End2end rid lut manager (i4Ds#390) * bump all product versions to 2 * add copy and parent option * fix missing init of singleton bump all product versions to 2 (i4Ds#389) Bump conf version (i4Ds#391) * bump all product versions to 2 * bump common version Flexible way to fill DATAMAX/MIN BUNIT EXPOSURE in FITS header keywords (i4Ds#393) * bump all product versions to 2 * add properties for dedicated fits header keywords with class inhe. / override * add test and minor fixes after review * fix XPOSURE/XPOMAX header error * fix tests for dmax... * relax end2end fitsdiff * less tolerance in end2end test Solo anc stix ephemeris (i4Ds#399) * bump all product versions to 2 * add more FITS header keywords * fix for ANC also get fits updated headers while publishing Upgrade_watchdog (i4Ds#401) * bump all product versions to 2 * bump version * fix version label * pin common CONF version for end2end test * ignore VERS_CFG in end2end testing * add test for TM folder observing * bump watchdog==6.0.0 * integrate review fixes Update docks (i4Ds#409) * bump all product versions to 2 * update documentation * add doc for end to end tetsing * fix format * add doc for manual (re)processing of fits products E2e fix sym add (i4Ds#412) * bump all product versions to 2 * dep np.bool8 * disable test Get rid reason/scaling lookup error handling (i4Ds#411) * bump all product versions to 2 * add global error detection in pipeline logger (not just main process) * add exception handling for get_reason daily processing pipeline (i4Ds#405) * bump all product versions to 2 * initial * daily processing task * add singleStep * move ANC-aspect from pipeline to daily_pipeline * removed requirement for the moment * fix i4Ds#283 and option to process only latest fits file versions * update ddpd scripts * fix circular imports * test git dep * skio test on win * skip test on win/mac * Update stixcore/io/FlareListManager.py Co-authored-by: Shane Maloney <[email protected]> * fix format error --------- Co-authored-by: Shane Maloney <[email protected]> Add Zenodo file (i4Ds#413) * Add Zenodo author information Update high resolution transmission to match IDL defaults (i4Ds#414) Pin major and minor versions of some packages (i4Ds#415) V1.5.1_fixes (i4Ds#420) * bump all product versions to 2 * fix i4Ds#417 * fix i4Ds#418 * daily report log files could have different names if the scripts run over multiple days * fix i4Ds#419 * end2end test: better report if no corresponding file found * rewrite pipeline to cronjob based approach i4Ds#422 * cleanup before merge Fix bug in spectrogram time bin calculations (i4Ds#423) * Only use the closing time offset (NIX00269) for the last science substrure Update .zenodo.json
QL calibration spectra and sci-spectra as L2