forked from i4Ds/STIX-GSW
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* default: Fix bug in computation of the subcollimator transmission (i4Ds#215)
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ | |
; 24-Oct-2023, ECMD (Graz), added default to calculate low energy approximation if no input photon energies are passed | ||
; 31-Oct-2023, Massa P., added 'simple_transm' keyword to compute a simple version of the grid transmission | ||
; (temporary solution used for imaging) | ||
; 12-Jun-2024, Massa P., corrected bug in the definition of grid orientation to be used for computing | ||
; the offset angle of the flare location relative to the slats. | ||
; | ||
; CONTACT: | ||
; [email protected] | ||
|
@@ -71,14 +73,14 @@ function stx_subc_transmission, flare_loc, ph_in, flux = flux, simple_transm = s | |
linear_attenuation = mass_attenuation*gmcm/10. | ||
|
||
|
||
grid_orient_front = 180.-fff.o ;; Orientation of the slits of the grid as seen from the detector side | ||
grid_orient_front = fff.o ;; Orientation of the slits of the grid as seen from the detector side | ||
grid_pitch_front = fff.p | ||
grid_slit_front = fff.slit | ||
grid_thick_front = fff.thick | ||
bridge_width_front = fff.bwidth | ||
bridge_pitch_front = fff.bpitch | ||
|
||
grid_orient_rear = 180.-rrr.o ;; Orientation of the slits of the grid as seen from the detector side | ||
grid_orient_rear = rrr.o ;; Orientation of the slits of the grid as seen from the detector side | ||
grid_pitch_rear = rrr.p | ||
grid_slit_rear = rrr.slit | ||
grid_thick_rear = rrr.thick | ||
|