Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-23983: Cannot apply crosstalk in Gen 3 DECam processing #1

Merged
merged 1 commit into from
Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ These masks are turned in to LSST style mask images with the single `BAD` bad bi
Any non-zero pixel in the BPM was assigned the `BAD` flag.
We construct `meas_algorithms.Defects` from the mask.
We update metadata and write the file back out to the appropriate path determined from the sensor number and time stamp.

## Crosstalk
The crosstalk terms contained here are the results processed from `obs_decam/decam/DECam_xtalk_20130606.txt` (7 May 2020; using github master) using the `obs_decam` `makeCrosstalkDecam.py` script. The directory structure and filenames match what is done with the defects above. These yaml files can be used to construct `lsst.ip.isr.CrosstalkCalib` python objects using that class's `readText` method. Both intra- and inter- chip crosstalk terms are listed in the objects.
56 changes: 56 additions & 0 deletions decam/crosstalk/n1/1970-01-01T00:00:00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
coeffs:
- 0.0
- -0.000828
- 0.00034
- 0.0
crosstalkShape: !!python/tuple
- 2
- 2
hasCrosstalk: true
metadata: !<lsst.daf.base.PropertyList>
- - OBSTYPE
- String
- CROSSTALK
- ''
- - INSTRUME
- String
- DECam
- ''
- - DETECTOR_NAME
- String
- N1
- ''
- - DETECTOR_SERIAL
- Int
- 32
- ''
- - DETECTOR
- Int
- 32
- ''
- - CROSSTALK_SCHEMA
- String
- Gen3 Crosstalk
- ''
- - CROSSTALK_VERSION
- Double
- 1.0
- ''
- - HAS_CROSSTALK
- Bool
- true
- ''
- - NAMP
- Int
- 2
- ''
- - CROSSTALK_SHAPE
- Int
- - 2
- 2
- ''
- - CALIBDATE
- String
- '1970-01-01T00:00:00'
- ''
nAmp: 2
56 changes: 56 additions & 0 deletions decam/crosstalk/n10/1970-01-01T00:00:00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
coeffs:
- 0.0
- 0.000152
- 0.000444
- 0.0
crosstalkShape: !!python/tuple
- 2
- 2
hasCrosstalk: true
metadata: !<lsst.daf.base.PropertyList>
- - OBSTYPE
- String
- CROSSTALK
- ''
- - INSTRUME
- String
- DECam
- ''
- - DETECTOR_NAME
- String
- N10
- ''
- - DETECTOR_SERIAL
- Int
- 41
- ''
- - DETECTOR
- Int
- 41
- ''
- - CROSSTALK_SCHEMA
- String
- Gen3 Crosstalk
- ''
- - CROSSTALK_VERSION
- Double
- 1.0
- ''
- - HAS_CROSSTALK
- Bool
- true
- ''
- - NAMP
- Int
- 2
- ''
- - CROSSTALK_SHAPE
- Int
- - 2
- 2
- ''
- - CALIBDATE
- String
- '1970-01-01T00:00:00'
- ''
nAmp: 2
62 changes: 62 additions & 0 deletions decam/crosstalk/n11/1970-01-01T00:00:00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
coeffs:
- 0.0
- -0.000604
- 0.000483
- 0.0
crosstalkShape: !!python/tuple
- 2
- 2
hasCrosstalk: true
interChip:
N10:
- 3.94e-05
- 0.0
- 6.74e-05
- 2.82e-05
metadata: !<lsst.daf.base.PropertyList>
- - OBSTYPE
- String
- CROSSTALK
- ''
- - INSTRUME
- String
- DECam
- ''
- - DETECTOR_NAME
- String
- N11
- ''
- - DETECTOR_SERIAL
- Int
- 42
- ''
- - DETECTOR
- Int
- 42
- ''
- - CROSSTALK_SCHEMA
- String
- Gen3 Crosstalk
- ''
- - CROSSTALK_VERSION
- Double
- 1.0
- ''
- - HAS_CROSSTALK
- Bool
- true
- ''
- - NAMP
- Int
- 2
- ''
- - CROSSTALK_SHAPE
- Int
- - 2
- 2
- ''
- - CALIBDATE
- String
- '1970-01-01T00:00:00'
- ''
nAmp: 2
62 changes: 62 additions & 0 deletions decam/crosstalk/n12/1970-01-01T00:00:00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
coeffs:
- 0.0
- -0.000887
- 0.000376
- 0.0
crosstalkShape: !!python/tuple
- 2
- 2
hasCrosstalk: true
interChip:
N11:
- 2.68e-05
- 0.0
- 6.06e-05
- 2.53e-05
metadata: !<lsst.daf.base.PropertyList>
- - OBSTYPE
- String
- CROSSTALK
- ''
- - INSTRUME
- String
- DECam
- ''
- - DETECTOR_NAME
- String
- N12
- ''
- - DETECTOR_SERIAL
- Int
- 43
- ''
- - DETECTOR
- Int
- 43
- ''
- - CROSSTALK_SCHEMA
- String
- Gen3 Crosstalk
- ''
- - CROSSTALK_VERSION
- Double
- 1.0
- ''
- - HAS_CROSSTALK
- Bool
- true
- ''
- - NAMP
- Int
- 2
- ''
- - CROSSTALK_SHAPE
- Int
- - 2
- 2
- ''
- - CALIBDATE
- String
- '1970-01-01T00:00:00'
- ''
nAmp: 2
62 changes: 62 additions & 0 deletions decam/crosstalk/n13/1970-01-01T00:00:00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
coeffs:
- 0.0
- -0.000656
- 0.000405
- 0.0
crosstalkShape: !!python/tuple
- 2
- 2
hasCrosstalk: true
interChip:
N12:
- 5.43e-05
- 0.0
- 0.0
- 2.61e-05
metadata: !<lsst.daf.base.PropertyList>
- - OBSTYPE
- String
- CROSSTALK
- ''
- - INSTRUME
- String
- DECam
- ''
- - DETECTOR_NAME
- String
- N13
- ''
- - DETECTOR_SERIAL
- Int
- 44
- ''
- - DETECTOR
- Int
- 44
- ''
- - CROSSTALK_SCHEMA
- String
- Gen3 Crosstalk
- ''
- - CROSSTALK_VERSION
- Double
- 1.0
- ''
- - HAS_CROSSTALK
- Bool
- true
- ''
- - NAMP
- Int
- 2
- ''
- - CROSSTALK_SHAPE
- Int
- - 2
- 2
- ''
- - CALIBDATE
- String
- '1970-01-01T00:00:00'
- ''
nAmp: 2
62 changes: 62 additions & 0 deletions decam/crosstalk/n14/1970-01-01T00:00:00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
coeffs:
- 0.0
- -0.000712
- 0.000484
- 0.0
crosstalkShape: !!python/tuple
- 2
- 2
hasCrosstalk: true
interChip:
N9:
- 2.53e-05
- 0.0
- 0.0
- 3.46e-05
metadata: !<lsst.daf.base.PropertyList>
- - OBSTYPE
- String
- CROSSTALK
- ''
- - INSTRUME
- String
- DECam
- ''
- - DETECTOR_NAME
- String
- N14
- ''
- - DETECTOR_SERIAL
- Int
- 45
- ''
- - DETECTOR
- Int
- 45
- ''
- - CROSSTALK_SCHEMA
- String
- Gen3 Crosstalk
- ''
- - CROSSTALK_VERSION
- Double
- 1.0
- ''
- - HAS_CROSSTALK
- Bool
- true
- ''
- - NAMP
- Int
- 2
- ''
- - CROSSTALK_SHAPE
- Int
- - 2
- 2
- ''
- - CALIBDATE
- String
- '1970-01-01T00:00:00'
- ''
nAmp: 2