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.
Returns: - id :
int
The integer id of the raft/sensor.
Examples
>>> vId = {'filter': 'y', 'raft': '2,2', 'sensor': '1,2', 'visit': 307} >>> raftSensorToInt(vId) 2212
- visitId :