data_model.md 4.87 KB
Newer Older
Chen Yili's avatar
Chen Yili committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# L1-CPI-C Data model

## File: *_VIS_SCI_*.*fits

### File contents

| HDU  | data                    | note       |
|------|-------------------------|------------|
| HDU0 | None                    | PrimaryHDU |
| HDU1 | reduced image (1k x 1k) | ImageHDU   |
| HDU2 | mask image (9k x 9k)    | ImageHDU   |

### HDU0

| keyword | value | comment       | fill value    | type | module    |
|---------|:------|---------------|---------------|------|-----------|
| SIMPLE  | True  | Fits standard | True          | bool | csst_sims |     

### HDU1

#### Header of `csst_ms_mbi_instrument`

| keyword   | value                 | comment                                         | fill value   | type | module                   |
|-----------|:----------------------|-------------------------------------------------|--------------|------|--------------------------|
|  VER_PIPE | '0.01'                | version of CPI-C pipeline                       | '0.01'       | str  | csst_cpic                |
|  VER_QC0  | '0.01'                | version of CPI-C QC0                            | '0.01'       | str  | csst_cpic                |
|  VER_QC1  | '0.01'                | version of CPI-C QC1                            | '0.01'       | str  | csst_cpic                |
|  STA_PIPE | 0                     | state of CPI-C pipeline                         | 1            | i8   | csst_cpic                |
|  STA_QC0  | 0                     | state of CPI-C QC0                              | 1            | i8   | csst_cpic                |
|  STA_QC1  | 0                     | state of CPI-C QC1                              | 1            | i8   | csst_cpic                |
|  STM_PIPE | '2022-12-30T10:18:53' | Time stamp of CPI-C pipeline processing         | ---          | str  | csst_cpic                |
|  NAME     | 'HR 8799'             | name of target                                  | ---          | str  | csst_cpic                |
|  I_MEAN   | 10.0                  | mean value of total noise of dark zone          | -9999        | f32  | csst_cpic                |        
|  I_STD    | 1833.333333333333     | std value of total noise of dark zone           | -9999        | f32  | csst_cpic                |
|  I_MARK   | 'S'                   | Status flag for image classify                  | 'S'          | str  | csst_cpic                |
|  CTE_NAM  | 'CTE.fits'            | name of CTE reference file                      | '-1'         | str  | csst_cpic                |
|  CTEV_VAL | 99.99                 | value of vertical CTE                           | -9999        | f32  | csst_cpic                |
|  CTEH_VAL | 99.99                 | value of horizontal CTE                         | -9999        | f32  | csst_cpic                |
|  BP_NAM   | 'mask.fits'           | name of mask reference file                     | '-1'         | f32  | csst_cpic                |
|  BP_NUM   | 10                    | number of bad pixel                             | -1           | i16  | csst_cpic                |
|  B_NAM    | 'bias.fits'           | name of bias reference file                     | -1           | str  | csst_cpic                |
|  B_MEAN   | 5.1                   | mean value of bias reference image              | -9999        | f32  | csst_cpic                |
|  B_STD    | 1.2                   | std value of bias reference image               | -9999        | f32  | csst_cpic                | 
|  SP_NUM   | 10                    | number of saturated pixels                      | -1           | i16  | csst_cpic                |
|  D_NAM    | 'dark.fits'           | name of dark reference file                     | '-1'         | str  | csst_cpic                |
|  D_MEAN   | 0.1                   | mean value of dark reference image              | -9999        | f32  | csst_cpic                |
|  D_STD    | 0.1                   | std value of dark reference image               | -9999        | f32  | csst_cpic                |
|  F_NAM    | 'flat.fits'           | name of flat reference file                     | -1           | str  | csst_cpic                |
|  F_MEAN   | 10.0                  | mean value of flat reference image              | -9999        | f32  | csst_cpic                |
|  F_STD    | 5.0                   | std value of flat reference image               | -9999        | f32  | csst_cpic                |
|  NL_NAM   | 'nonlin.fits'         | name of nonlinear correction reference file     | -1           | str  | csst_cpic                |
|  BG_NAM   | 'bg.fits'             | name of background reference file               | -1           | str  | csst_cpic                |
|  CR_MOD   | 'lacosmic'            | mode of CR clean. 'lacosmic' or 'deepCR'        | -1           | str  | csst_cpic                |
|  CR_NUM   | 10                    | number of cosmic ray                            | -1           | i16  | csst_cpic                |