[PIPE2D-50] reconstruct a SpectrumSet from a pfsArm file Created: 23/Jul/16 Updated: 20/Oct/18 Resolved: 20/Oct/18 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major |
| Reporter: | aritter | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
So far we can write a pfsArm file, even though most HDU are still place holders (see |
| Comments |
| Comment by rhl [ 23/Jul/16 ] |
|
Are you using the datamodel product to read and write pfsArm files? If not, that needs to be done first |
| Comment by rhl [ 03/Sep/16 ] |
|
Once you have a pfsArm file in memory this should be trivial. You should not have to copy anything (although you may need a new constructor for SpectrumSet to take numpy arrays) |
| Comment by price [ 20/Oct/18 ] |
|
This has already been done: SpectrumSet.fromPfsArm(pfsArm). |