Adds calibration files - #24
Open
jajmitchell wants to merge 5 commits into
Open
Conversation
samaloney
reviewed
Jun 29, 2026
| 29 0.077942 50.202 0.0629 0.0460 0.0011 0.0029 0.3597 0.0446 1.180051 | ||
| 30 0.160430 10.117 0.0747 0.0772 0.0007 0.0014 0.3903 0.0590 1.810433 | ||
| 31 0.228535 109.322 0.0951 0.1190 0.0006 0.0014 0.3838 0.0595 2.070182 | ||
| 32 0.682316 51.715 0.4884 0.3384 0.0018 0.0026 0.3980 0.0000 0.000000 No newline at end of file |
Collaborator
There was a problem hiding this comment.
Am blind or are these no identical ( I guess could be whitespace?)
samaloney
reviewed
Jun 29, 2026
Collaborator
There was a problem hiding this comment.
I was just looking a this file the matrix is 3230x3230 but the output count axis is only 31? Also I thought we now go above 150keV
hdul[3].data
Out[119]:
FITS_rec([( 4.,), ( 5.,), ( 6.,), ( 7.,), ( 8.,), ( 9.,), ( 10.,),
( 11.,), ( 12.,), ( 13.,), ( 14.,), ( 15.,), ( 16.,), ( 18.,),
( 20.,), ( 22.,), ( 25.,), ( 28.,), ( 32.,), ( 36.,), ( 40.,),
( 45.,), ( 50.,), ( 56.,), ( 63.,), ( 70.,), ( 76.,), ( 84.,),
(100.,), (120.,), (150.,)],
dtype=(numpy.record, [('DRM', '>f4')]))
Author
There was a problem hiding this comment.
I need to change the titles, this is the full output count axis, its used in the code when generating the correct SRM
This file contains hidden or 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
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.
This PR adds the necessary calibration files and STIX DRM file for the calibration of STIX data and the creation of an event specific SRM.
stix_drm_energy.npzfile