Chandra-MARX / marx

Chandra X-ray Observatory ray-trace simulator
http://space.mit.edu/cxc/marx/
5 stars 4 forks source link

Consistency checks on input data #58

Open hamogu opened 9 months ago

hamogu commented 9 months ago

For historical reasons, some numbers are defined in multiple places (e.g. because marx used them before there was a CALDB). I think all versions are consistent, so there is no hurry to change anything, but if I ever wanted to it's not clear which of them (or all) need to be changed.

This is issue is about:

Examples

Grating parameters

dmlist "marx/data/caldb/telD1999-07-23geomN0006.fits[8]" data

ROW    INSTRUMENT GRATING GRATING_ARM PERIOD               ALPHA                GDPSYS        ROWLAND

     1 ACIS    HETG   HEG               2000.810              -5.2050 ASC-GDP-1.1               8632.480
     2 ACIS    HETG   MEG               4001.950               4.7550 ASC-GDP-1.1               8632.480

period, alpha etc, are also defined in marx.par as parameters

Coordinate systems and detector location

> dmlist "marx/data/caldb/telD1999-07-23geomN0006.fits[3]" data  

ROW    CHIP_ID    CHIP           SIZE[2]              LL[3]                                                        LR[3]                                                       UR[3]                                                        UL[3]

     1          0 ACIS-I0                 [1024 1024]               [        2.3610       -26.4830        23.0760]                [        1.130       -26.5450       -1.4560]                     [   -0.10        -2.0130        -1.4560]                [        1.130        -1.9510        23.0760]
     2          1 ACIS-I1                 [1024 1024]                [        1.130        23.0780        -1.4460]                [        2.360        23.0160       23.0860]                [        1.130        -1.5150        23.0860]                     [   -0.10        -1.4530        -1.4460]

is also in marx/data/pixlib/... datafiles. Bot hare taken from the CALDB, so even within the CALDB this information is doubled.