Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added detector/stx_detector_response_matrix.fits.gz

@samaloney samaloney Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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')]))

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to change the titles, this is the full output count axis, its used in the code when generating the correct SRM

Binary file not shown.
33 changes: 33 additions & 0 deletions grid/CFL_subcoll_transmission.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
subc_n,subc_label,intercept,slope[1/deg]
1,3c,0.2977,0.0235
2,5c,0.1768,-0.0008
3,10a,0.2358,-0.0004
4,8c,0.2381,-0.0028
5,4b,0.1967,0.0066
6,5a,0.1879,0.0065
7,3a,0.2717,0.0231
8,7b,0.2105,-0.0032
9,cfl,0,0
10,bkg,0,0
11,1a,0.1091,0.0230
12,2a,0.1226,0.0154
13,1b,0.0360,0.0087
14,9b,0.2469,0.0015
15,6a,0.1995,0.0074
16,9a,0.2395,0.0031
17,2c,0.1722,0.0186
18,1c,0.0851,0.0227
19,2b,0.0715,0.0089
20,10b,0.2418,-0.0120
21,8a,0.2164,-0.0019
22,10c,0.2457,-0.0010
23,4c,0.2105,0.0143
24,7a,0.1998,-0.0013
25,4a,0.1964,-0.0024
26,8b,0.2254,-0.0013
27,6b,0.1854,-0.0158
28,7c,0.2230,0.0041
29,3b,0.2721,0.0048
30,5b,0.2058,-0.0223
31,6c,0.1973,-0.0031
32,9c,0.2404,0.0059
2 changes: 1 addition & 1 deletion grid/grid_param_front.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am blind or are these no identical ( I guess could be whitespace?)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure what you mean?

32 0.682316 51.715 0.4884 0.3384 0.0018 0.0026 0.3980 0.0000 0.000000
14 changes: 14 additions & 0 deletions grid/nom_bkg_grid_transmission.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
;Nominal transmission factors for on-axis grid transmission in BGK detector pixels ECMD - 18-Feb-21
;N.B. tranmission for fully covered pixels is currently set to 0
0.1039555
0.0010396
0.0103956
0.0000000
0.0000000
0.0103956
0.0010396
0.1039555
0.0000000
0.0000000
0.0000000
0.0000000
34 changes: 34 additions & 0 deletions grid/nom_grid_transmission.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
;Nominal transmission factors for on-axis grid transmission ECMD - 2-Feb-21
;N.B. CFL and BKG detector tranmission is set to 0
0.3559085
0.2298681
0.2603604
0.2568778
0.2702536
0.2302091
0.3796341
0.2483881
0.0000000
0.0000000
0.2055873
0.2289985
0.0838536
0.2633221
0.2313121
0.2613568
0.2866279
0.1721743
0.2097021
0.2665489
0.2469983
0.2565149
0.2677553
0.2308408
0.2700689
0.2488385
0.2203447
0.2580339
0.3645456
0.2430636
0.2500564
0.2610453