raftSensorToInt¶
-
lsst.validate.drp.util.
raftSensorToInt
(visitId)¶ Construct an int that encodes raft, sensor coordinates.
- Parameters
- visitId
dict
A dictionary containing raft and sensor keys.
- visitId
- Returns
- id
int
The integer id of the raft/sensor.
- id
Examples
>>> vId = {'filter': 'y', 'raft': '2,2', 'sensor': '1,2', 'visit': 307} >>> raftSensorToInt(vId) 2212