[DAMD-60] driver.py, makePfsObject.py and datamodel.ipynb need updating Created: 11/Jun/19 Updated: 11/Jul/19 Resolved: 11/Jul/19 |
|
| Status: | Done |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | hassan | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Story Points: | 2 | ||||||||||||
| Sprint: | 2DDRP-2019 F | ||||||||||||
| Reviewers: | hassan | ||||||||||||
| Description |
|
Following the refactoring in Jan 2019 ( These include:
Please update them. |
| Comments |
| Comment by price [ 20/Jun/19 ] |
|
| Comment by hassan [ 20/Jun/19 ] |
|
Regarding makePfsObject: Yabe-san requires a tool to create a PfsObject from a PfsArm instance. See His comment in |
| Comment by price [ 20/Jun/19 ] |
|
|
| Comment by price [ 21/Jun/19 ] |
|
I tested out the plotting scripts, and they appear to work fine. |
| Comment by Kiyoto Yabe [ 25/Jun/19 ] |
|
I'm a bit confused, but there appears to be "FLUXTBL" HDU in the current pfsObject, which contains the merged spectrum. So, are you going to rename FLUXTBL to FLUX and add FLUXTBL for the original spectra, right? Related to the question above, I made pfsObject following codes in drp_stellar, but the HDU list of the generated fits file is : HDU0 Primary HDU1 FLUXTBL HDU2 TARGET HDU3 SKY HDU4 OBSERVATIONS HDU5 COVAR HDU6 COVAR2 , which is different from the description in the datamodel.txt: HDU #0 PDU HDU #1 FLUX HDU #2 FLUXTBL HDU #3 COVAR HDU #4 COVAR2 HDU #5 MASK HDU #6 SKY HDU #7 CONFIG So, which one do we take?
|
| Comment by price [ 26/Jun/19 ] |
|
I screwed up the implementation of the pfsObject FITS HDUs when I implemented the end-to-end pipeline, since I didn't understand what FLUXTBL was meant for. So yes, I think I need to rename what is now FLUXTBL to FLUX, redesign FLUXTBL (the original design did not support multiple visits) and provide an implementation for populating it, and update datamodel.txt. Filed |
| Comment by hassan [ 11/Jul/19 ] |
|
Changes acceptable. |
| Comment by price [ 11/Jul/19 ] |
|
Merged to master. |