|
There's no problem writing multiple MaskedImages to a file, but I don't think we want to end up with 1800 HDUs (3 for each fibre). So we definitely want to merge the images into one.
|
|
The `FiberTraceSet` only contains the fibers which could be traced while the datamodel for `pfsFiberTrace` requires all `FiberTrace` s to be set in `pfsFiberTrace...fits`. This means that somewhere on the way from the `FiberTraceSet` to the `pfsFiberTrace...fits` file we need to add in empty (zero?) values into the `BinTableHDU` for each `FiberTrace` ID not in the `FiberTraceSet`. Should we do that each time when we create a `PfsFiberTrace` object (and undo it when reconstructing the `FiberTraceSet` from the `PfsFiberTrace` object) or only in the `PfsFiberTrace.write` and `PfsFiberTrace.read` functions? I would lean towards the latter...
Also, should I implement this change as part of PIPE2D-235 or as an individual ticket? Probably individual ticket but it would kind of make sense to do this in PIPE2D-235 as there are plenty of changes already in `pfsFiberTrace.py`...
|
|
I have pushed the proposed changes to the Datamodel for PfsFiberTrace to the branch tickets/DAMD-20 in the datamodel repository. The proposed changes are already implemented and tested in PIPE2D-235. Should I file a RFC for the proposed changes?
|
|
Following discussions with cloomis, this ticket is regarded as done.
|
Generated at Sat Feb 10 15:33:24 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.