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-39999: Add UC Davis Beam simulator ITL camera #462

Merged
merged 19 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from 16 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

This file was deleted.

Binary file modified data/input/ucd/gen3.sqlite3
Binary file not shown.

This file was deleted.

This file was deleted.

73,863 changes: 73,863 additions & 0 deletions data/input/ucd/raw/20230504/TS_C_20230504_000016_R22_S01.fits

Large diffs are not rendered by default.

35,335 changes: 35,335 additions & 0 deletions data/input/ucd/raw/20231016/TS_C_20231016_000128_R21_S01.fits

Large diffs are not rendered by default.

24 changes: 0 additions & 24 deletions policy/ucd/R00.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions policy/ucd/R01.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions policy/ucd/R02.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions policy/ucd/R03.yaml

This file was deleted.

88 changes: 88 additions & 0 deletions policy/ucd/R21.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
R21 :
detectorType : E2V
raftSerial : LCA-11021_RTM-E2V-21
ccdSerials :
S01 : E2V-CCD250-112-09

amplifiers :
S01 :
C10 : {
gain : 1.698,
readNoise : 8.7,
saturation : 200000,
}
C11 : {
gain : 1.677,
readNoise : 8.9,
saturation : 200000,
}
C12 : {
gain : 1.654,
readNoise : 8.8,
saturation : 200000,
}
C13 : {
gain : 1.654,
readNoise : 8.9,
saturation : 200000,
}
C14 : {
gain : 1.679,
readNoise : 9.8,
saturation : 200000,
}
C15 : {
gain : 1.667,
readNoise : 10.6,
saturation : 200000,
}
C16 : {
gain : 1.663,
readNoise : 8.8,
saturation : 200000,
}
C17 : {
gain : 1.681,
readNoise : 10.1,
saturation : 200000,
}
C07 : {
gain : 1.777,
readNoise : 6.3,
saturation : 200000,
}
C06 : {
gain : 1.779,
readNoise : 7.2,
saturation : 200000,
}
C05 : {
gain : 1.769,
readNoise : 155.4,
saturation : 200000,
}
C04 : {
gain : 1.766,
readNoise : 6.8,
saturation : 200000,
}
C03 : {
gain : 1.776,
readNoise : 6.8,
saturation : 200000,
}
C02 : {
gain : 1.758,
readNoise : 7.2,
saturation : 200000,
}
C01 : {
gain : 1.785,
readNoise : 8.2,
saturation : 200000,
}
C00 : {
gain : 1.783,
readNoise : 10.0,
saturation : 200000,
}
88 changes: 88 additions & 0 deletions policy/ucd/R22.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
R22 :
detectorType : ITL
raftSerial : LCA-11021_RTM-ITL-22
ccdSerials :
S01 : ITL-3800C-002

amplifiers :
S01 :
C10 : {
gain : 1.423,
readNoise : 8.7,
saturation : 200000,
}
C11 : {
gain : 1.422,
readNoise : 8.9,
saturation : 200000,
}
C12 : {
gain : 1.421,
readNoise : 8.8,
saturation : 200000,
}
C13 : {
gain : 1.430,
readNoise : 8.9,
saturation : 200000,
}
C14 : {
gain : 1.424,
readNoise : 9.8,
saturation : 200000,
}
C15 : {
gain : 1.424,
readNoise : 10.6,
saturation : 200000,
}
C16 : {
gain : 1.419,
readNoise : 8.8,
saturation : 200000,
}
C17 : {
gain : 1.0,
readNoise : 10.1,
saturation : 200000,
}
C07 : {
gain : 1.355,
readNoise : 6.3,
saturation : 200000,
}
C06 : {
gain : 1.464,
readNoise : 7.2,
saturation : 200000,
}
C05 : {
gain : 4.967,
readNoise : 155.4,
saturation : 200000,
}
C04 : {
gain : 1.455,
readNoise : 6.8,
saturation : 200000,
}
C03 : {
gain : 1.461,
readNoise : 6.8,
saturation : 200000,
}
C02 : {
gain : 1.454,
readNoise : 7.2,
saturation : 200000,
}
C01 : {
gain : 1.446,
readNoise : 8.2,
saturation : 200000,
}
C00 : {
gain : 1.442,
readNoise : 10.0,
saturation : 200000,
}
19 changes: 5 additions & 14 deletions policy/ucd/rafts.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
#
# A list of all the rafts in the camera
#
rafts :
R00 :
offset : [0.0, 0.0] # offset of centre of raft, mm
R22 :
offset : [0.0, 0.0] # offset of centre of raft, mm
id0 : 0 # id for S00, incrementing uniformly
R01 :
offset : [0.0, 0.0] # offset of centre of raft, mm
id0 : 1 # id for S00, incrementing uniformly
R02 :
offset : [0.0, 0.0] # offset of centre of raft, mm
id0 : 2 # id for S00, incrementing uniformly
R03 :
offset : [0.0, 0.0] # offset of centre of raft, mm
id0 : 3 # id for S00, incrementing uniformly
R21 :
offset : [0.0, 0.0]
id0 : 9
67 changes: 33 additions & 34 deletions python/lsst/obs/lsst/_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from .filters import (LSSTCAM_FILTER_DEFINITIONS, LATISS_FILTER_DEFINITIONS,
LSSTCAM_IMSIM_FILTER_DEFINITIONS, TS3_FILTER_DEFINITIONS,
TS8_FILTER_DEFINITIONS, COMCAM_FILTER_DEFINITIONS,
GENERIC_FILTER_DEFINITIONS,
GENERIC_FILTER_DEFINITIONS, UCD_FILTER_DEFINITIONS,
)

from .translators import LatissTranslator, LsstCamTranslator, \
Expand Down Expand Up @@ -293,39 +293,6 @@ def _make_default_dimension_packer(
)


class LsstUCDCam(LsstCam):
"""Gen3 Butler specialization for UCDCam test stand data.
"""

instrument = "LSST-UCDCam"
policyName = "ucd"
translatorClass = LsstUCDCamTranslator
filterDefinitions = GENERIC_FILTER_DEFINITIONS
visitSystem = VisitSystem.ONE_TO_ONE

def getRawFormatter(self, dataId):
# local import to prevent circular dependency
from .rawFormatter import LsstUCDCamRawFormatter
return LsstUCDCamRawFormatter

def _make_default_dimension_packer(
self,
config_attr,
data_id,
is_exposure=None,
default="observation",
):
# Docstring inherited from Instrument._make_default_dimension_packer.
# Only difference is the change to default above (which reverts back
# the default in lsst.pipe.base.Instrument).
return super()._make_default_dimension_packer(
config_attr,
data_id,
is_exposure=is_exposure,
default=default,
)


class LsstTS3(LsstCam):
"""Gen3 Butler specialization for TS3 test stand data.
"""
Expand Down Expand Up @@ -379,3 +346,35 @@ def getRawFormatter(self, dataId):
# local import to prevent circular dependency
from .rawFormatter import LatissRawFormatter
return LatissRawFormatter


class LsstUCDCam(LsstCam):
Snyder005 marked this conversation as resolved.
Show resolved Hide resolved
"""Gen3 Butler specialization for UCDCam test stand data.
"""
filterDefinitions = UCD_FILTER_DEFINITIONS
instrument = "LSST-UCDCam"
policyName = "ucd"
translatorClass = LsstUCDCamTranslator
visitSystem = VisitSystem.ONE_TO_ONE

def getRawFormatter(self, dataId):
# local import to prevent circular dependency
from .rawFormatter import LsstUCDCamRawFormatter
return LsstUCDCamRawFormatter

def _make_default_dimension_packer(
self,
config_attr,
data_id,
is_exposure=None,
default="observation",
):
# Docstring inherited from Instrument._make_default_dimension_packer.
# Only difference is the change to default above (which reverts back
# the default in lsst.pipe.base.Instrument).
return super()._make_default_dimension_packer(
config_attr,
data_id,
is_exposure=is_exposure,
default=default,
)
Loading