[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:
Blocks
is blocked by PIPE2D-41 Fill place holders in pfsArm data model Done

 Description   

So far we can write a pfsArm file, even though most HDU are still place holders (see PIPE2D-41). Write a function to reconstruct a SpectrumSet from a pfsArm file.



 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).

Generated at Sat Feb 10 15:47:45 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.