Skip to content
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

Add silent keyword and print ELUT name #201

Merged
merged 19 commits into from
Mar 21, 2024

Conversation

grazwegian
Copy link
Collaborator

@grazwegian grazwegian commented Dec 11, 2023

Added silent keyword to stx_convert_... routines to suppress the printing of informational messages.

Added print out the filename of the ELUT used to make spectral corrections if this is not set.

Resolves #200

* i4ds:
  Fix elut correction factor (i4Ds#178)
* i4ds:
  Check online version of ELUT and science energy channel configurations. (i4Ds#175)
* i4ds:
  Imaging pipeline improvements (i4Ds#176)
* i4ds:
  Initial release of basic routines for downloading L2 AUX ephemeris files given a date and L1 science data fits files given a UID. (i4Ds#189)
  Fixed bug in the estimation of the total number of bkg counts (i4Ds#186)
  stx_livetime_fraction: update of default eta value using empirical high trigger rate data (i4Ds#188)
  Energy calibration improvement (i4Ds#183)
  Call lightcurve without generating FITS files (i4Ds#181)
  Respect shift_duration if file is "possibly summed on board". (i4Ds#180)
  Clarify flare_location coordinates (i4Ds#169)

# Conflicts:
#	stix/dbase/detector/elut_index.csv
* i4ds:
  Some Improvement in aspect processing (i4Ds#179)
* i4ds:
  Fixed bug in selection of energy indices of pixel data matrix (i4Ds#185)
* i4ds:
  preparing a new release
  stx_subc_transmission: Improved accuracy of message displayed if simple_transm keyword is set.
  Update by Massa, P. - use simplified version of the subcollimator transmission for imaging (temporary solution)
  changed default behaviour of flux keyword
  Improvements to transmission following suggestions from @paolomassa. Value of flux = 1 passed through from  stx_fsw_sd_spectrogram2ospex. Additional description of calculation of  linear attenuation coefficient in stx_subc_transmission.
  stx_write_ospex_fits: fix grid factor recording in FITS file for srm file
  stx_write_ospex_fits: fix grid factor recording in FITS file
  stx_subc_transmission:  added default to calculate low energy approximation if no input photon energies are passed
  fix calculation for single included grid
  fix grid factor rebinning
  remove unneeded lines
  remove commented lines
  Fix ELUT correction for background data
  Fix elut correction factor
  Updated grid transmission to include transparency and corner cutting for pure Tungsten grids following Recipe for STIX Flux and Amplitude Calibration (8-Nov 2022 gh).
  Changes to grid factor to include tungsten transmission
* i4ds:
  Bugfix release
  stx_read_fits : uncommented call to mrdfits to prevent compilation issue when getting version number
…ting of informational messages.

Added print out the filename of the ELUT used to make spectral corrections if this is not set.
samaloney and others added 4 commits January 11, 2024 14:55
* i4ds:
  fixed i4Ds#205 (fix by Dominic Zarro)
  Update VERSION.txt
  Update stx_imaging_demo (i4Ds#203)
  Remove unused keyword from structure
  Add IDL_STARTUP file to stix/setup which will be run every time SSWIDL is started. Currently this only calls stx_check_config_files (i4Ds#196)
  Skip ELUT (i4Ds#182)
* main:
  fixed i4Ds#205 (fix by Dominic Zarro)
  Update VERSION.txt
  update elut index
…ting of informational messages.

Added print out the filename of the ELUT used to make spectral corrections if this is not set.
@samaloney
Copy link
Collaborator

I think I've fixed all the conflicts needs to be reviewed/test.

(Would need to pull on this branch to get the changes)

 into print-elut-file

* 'print-elut-file' of https://github.com/grazwegian/STIX-GSW:
  Added silent keyword to stx_convert_... routines to suppress the printing of informational messages. Added print out the filename of the ELUT used to make spectral corrections if this is not set.

# 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
* i4ds:
  Spectroscopy demo fix (i4Ds#207)
@samaloney samaloney merged commit 48fb309 into i4Ds:master Mar 21, 2024
grazwegian added a commit to grazwegian/STIX-GSW that referenced this pull request Mar 21, 2024
* i4ds:
  Add silent keyword and print ELUT name (i4Ds#201)
  Update of "stx_estimate_flare_location" (i4Ds#209)

# Conflicts:
#	stix/idl/processing/spectrogram/stx_convert_science_data2ospex.pro
@grazwegian grazwegian deleted the print-elut-file branch March 21, 2024 13:43
grazwegian added a commit to grazwegian/STIX-GSW that referenced this pull request Mar 21, 2024
* main: (45 commits)
  Add silent keyword and print ELUT name (i4Ds#201)
  Update of "stx_estimate_flare_location" (i4Ds#209)
  Automatic formatting
  Update VERSION.txt
  Lightcurve demo fix (i4Ds#208)
  Spectroscopy demo fix (i4Ds#207)
  fixed i4Ds#205 (fix by Dominic Zarro)
  Update VERSION.txt
  Update stx_imaging_demo (i4Ds#203)
  Remove unused keyword from structure
  Add IDL_STARTUP file to stix/setup which will be run every time SSWIDL is started. Currently this only calls stx_check_config_files (i4Ds#196)
  Skip ELUT (i4Ds#182)
  Bugfix release
  stx_read_fits : uncommented call to mrdfits to prevent compilation issue when getting version number
  preparing a new release
  Fixed bug in selection of energy indices of pixel data matrix (i4Ds#185)
  stx_subc_transmission: Improved accuracy of message displayed if simple_transm keyword is set.
  Update by Massa, P. - use simplified version of the subcollimator transmission for imaging (temporary solution)
  Some Improvement in aspect processing (i4Ds#179)
  Initial release of basic routines for downloading L2 AUX ephemeris files given a date and L1 science data fits files given a UID. (i4Ds#189)
  ...

# Conflicts:
#	stix/idl/processing/spectrogram/stx_convert_pixel_data.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
grazwegian added a commit to grazwegian/STIX-GSW that referenced this pull request Jun 6, 2024
* main:
  Add silent keyword and print ELUT name (i4Ds#201)
  Update of "stx_estimate_flare_location" (i4Ds#209)

# 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
grazwegian added a commit to grazwegian/STIX-GSW that referenced this pull request Oct 25, 2024
* i4ds:
  Add silent keyword and print ELUT name (i4Ds#201)
  Update of "stx_estimate_flare_location" (i4Ds#209)

# Conflicts:
#	stix/idl/processing/spectrogram/stx_convert_science_data2ospex.pro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print out ELUT file used for correction
2 participants