-
Notifications
You must be signed in to change notification settings - Fork 16
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
Added a few functionalities to stx_science_data_lightcurve #99
Conversation
@@ -23,16 +23,21 @@ | |||
; | |||
; time_min : in, type="float", default="20." | |||
; Minimum time size in seconds | |||
; | |||
; time_shift : in, type="string", default: taken from the FITS header |
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.
Usually I would have time_shift as a float.
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.
Of course, apologize for the mistake :)
@@ -44,24 +49,44 @@ | |||
; | |||
; :history: | |||
; 30-Jun-2022 - ECMD (Graz), initial release | |||
; 15-Jul-2022 - Andrea Francesco Battaglia (FHNW) | |||
; Added a few functionalities: | |||
; -> automatic recognition of SPEC and CPD files: /is_pixel_data is no more needed |
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.
; -> automatic recognition of SPEC and CPD files: /is_pixel_data is no more needed | |
; -> automatic recognition of SPEC and CPD files: /is_pixel_data is no longer needed |
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.
Slight change of wording
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.
Thanks!
endif else begin | ||
message, 'ERROR: the FILENAME field in the primary header should contain either cpd or spec' | ||
endelse |
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.
I think this won't work with the L1A files which have a different naming scheme? In the short term it would be good to be able to use them too.
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.
Ok, I will create a new pull request allowing the alpha version files too.
…dates * commit 'bc3ecfceee3785d0b07261df4f82b1a1a4e468f0': Fix error in sci energy channel config file (i4Ds#96) Added automatic check for energy shift (i4Ds#101) Added a few functionalities to stx_science_data_lightcurve (i4Ds#99) # Conflicts: # stix/idl/processing/spectrogram/stx_convert_pixel_data.pro # stix/idl/processing/spectrogram/stx_convert_spectrogram.pro
* automatic-fitting: Pass through additional useful keywords to the spectrum and srm FITS files Fix error in sci energy channel config file (i4Ds#96) Added automatic check for energy shift (i4Ds#101) Added a few functionalities to stx_science_data_lightcurve (i4Ds#99) stx_read_elut - fixed issue when filename keyword is not used # Conflicts: # stix/idl/processing/spectrogram/stx_convert_pixel_data.pro # stix/idl/processing/spectrogram/stx_convert_science_data2ospex.pro # stix/idl/processing/spectrogram/stx_convert_spectrogram.pro # stix/idl/processing/spectrogram/stx_fsw_sd_spectrogram2ospex.pro # stix/idl/processing/spectrogram/stx_write_ospex_fits.pro
Hi,
As discussed with @grazwegian, I have added the following functionalities to the stx_science_data_lightcurve procedure:
Best,
Andrea