[DAMD-26] Define numbering scheme for fibres Created: 14/Nov/17 Updated: 19/Sep/19 Resolved: 09/Jun/18 |
|
| Status: | Done |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | jeg | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I had a discussion with Robert earlier today and he indicated that as far as data handling and reduction is concerned, the numbering of the science fibers is not an issue, however we want to handle it. I therefore propose for simplicity (well, not quite simplicity, which would say we do a zero-based scheme) that we number them from 1 to 2394, so the science fiber sf ranges are
Note that each spectrograph has also a fiber HOLE number, which runs from 1-651 from the top to the bottom of the slit. Most of these are occupied by the 600 or 597 science fibers, but some are occupied by engineering fibers and some are blank; there is a large block of blanks in the center to address the gaps beween the optical CCDs. Yuki and I are preparing a document and tables with more than you wanted Just to confuse things, remember that there is a running COBRA number from 1 to 2394 which bears only a very complicated relationship with the science fiber number, which for data reduction and handling reasons clearly needs to be tied to the spectrographs. |
| Comments |
| Comment by cloomis [ 07/Jun/18 ] |
|
I have added pfsUtils.fiberids, which lightly wraps access to JEG and Moritani-san's complete mapping tables.
import pfs.utils.fiberids as pfsFids
fidMap = pfsFids.FiberIds()
sp2Cobras = fidMap.cobrasForSpectrograph(2)
mod13Cobras = fidMap.cobrasForModule(13)
# x,y mm at the PFI
sp2Centers = fidMap.xyForCobras(sp2Cobras)
# And direct access to all the columns of JEG's mapping:
fidMap.USCONECId[mod13Cobras]
fidMap.scienceFiberId[mod13Cobras]
I have only added the accessors I need right now; easy enough to add more, I think. |
| Comment by cloomis [ 09/Jun/18 ] |
|
In pfs_utils |