Skip to content

Commit

Permalink
Added mirror scatter filename
Browse files Browse the repository at this point in the history
  • Loading branch information
jmason86 committed Apr 19, 2024
1 parent b356244 commit e6776c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions suncet_instrument_simulator/config_files/config_default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ subtract_dark_onboard = True
# Compress images or not (uses JPEG-LS)
compress_image = False
# Select timesteps to work on [first, last, step]
timesteps_to_process = [190, 500, 1]
timesteps_to_process = [300, 500, 1]
# Set window size over which to calculate SNR (pixels) - should be an odd number
SNR_window = 3
# Directory name for simulator run # TODO: Move these to the "structure" section
model_directory_name = /mhd/bright_fast/
model_directory_name = /mhd/dimmest/
# Directory for EM Maps
em_directory_name = /em_maps/
# Directory name for saved maps
Expand All @@ -39,9 +39,11 @@ primary_mirror_truncation = 0.0
secondary_mirror_obscuration_fraction = 0.35
# [degrees] the full field of view of the telescope
fov = [2.67, 2.0]
mirror_coating_reflectivity_filename = B4C_Mo_Al_1-11000A.txt
#mirror_coating_reflectivity_filename = B4C_Mo_Al_1-11000A.txt
mirror_coating_reflectivity_filename = b4c_rigaku_surrogate_measurement.csv
filter_entrance_transmission_filename = filter_entrance_transmission.csv
filter_focal_plane_transmission_filename = filter_focal_plane_transmission.csv
mirror_scatter_filename = SunCet_PSF_0SolarRad_s13.5A_185A_Normalized.fits

[detector]
# [cm2]
Expand Down Expand Up @@ -69,7 +71,7 @@ fraction_dead_pixels = 0.000156
# [% as fraction] the fraction of detector pixels that are stuck reading full well value
fraction_hot_pixels = 0.02
# [spikes/s/cm2] to simulate particle hits on the detector; 2100 = worst case in PROBA2/SWAP history; 40 = more typical value
spike_rate = 2100.0
spike_rate = 40.0
# [dimensionless] Based on material, silicon in this case, and fairly insensitive to wavelength. This number comes from Rodrigues+ 2021 (https://doi.org/10.1016/j.nima.2021.165511)
fano_factor = 0.1190

Expand All @@ -95,4 +97,4 @@ jitter = 0.6372
# the 'vanilla' metadata file for the mission, relevant parameters will be overwritten for output files
base_metadata_filename = suncet_metadata_definition_v1.0.1.csv
# the folder that contains the model data to ingest, which must be a subfolder within the os.getenv('suncet_data') folder
model_data_folder = /mhd/bright_fast/
model_data_folder = /mhd/dimmest/
1 change: 1 addition & 0 deletions suncet_instrument_simulator/config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(self, filename):
self.mirror_coating_reflectivity_filename = config['telescope']['mirror_coating_reflectivity_filename']
self.filter_entrance_transmission_filename = config['telescope']['filter_entrance_transmission_filename']
self.filter_focal_plane_transmission_filename = config['telescope']['filter_focal_plane_transmission_filename']
self.mirror_scatter_filename = config['telescope']['mirror_scatter_filename']

# detector
self.detector_physical_area = config['detector'].getfloat('detector_physical_area') * u.cm**2
Expand Down

0 comments on commit e6776c2

Please sign in to comment.