Flat field the data
(PIPE2D-10)
|
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Sub-task | Priority: | Major |
| Reporter: | swinbank | Assignee: | aritter |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | 2014-17 | ||||||||||||||||||||||||||||||||||||||||
| Reviewers: | rhl | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
Currently, it exists only in an IPython notebook. Task name: ConstructDitheredFlat. |
| Comments |
| Comment by aritter [ 15/Sep/16 ] |
|
See obs_pfs tickets/ |
| Comment by swinbank [ 16/Sep/16 ] |
|
Great! But: I'll be travelling a lot over the next month, and will have even less time than usual available to do code reviews. Since you're already being blocked by my failure to review other tickets, maybe it would be smarter to have somebody else look at this? Perhaps cloomis could help? (Sorry Craig...) |
| Comment by swinbank [ 20/Sep/16 ] |
|
We believe this has broken reading & writing flats because it hasn't been done with |
| Comment by rhl [ 21/Sep/16 ] |
|
Please provide instructions for how to use this without any reference to azuri/tmp reruns. Probably the best way to do this would be to update the install.text file (or did John rewrite it in rst? If so, please update that) |
| Comment by swinbank [ 21/Sep/16 ] |
He did, but it should still be straightforward to edit: https://github.com/Subaru-PFS/drp_stella/blob/master/sphinx/user/getting_started.rst. |
| Comment by aritter [ 30/Sep/16 ] |
|
As the construction of the normalized Flat and persisting it according to the datamodel broke the FiberTrace extraction, we first need to persist the FiberTraceSets before we can merge this issue with master. |
| Comment by aritter [ 10/Oct/16 ] |
|
This ticket is based on |
| Comment by aritter [ 12/Oct/16 ] |
|
Rebased onto master. However to include it in the quick-start guide I need a consistent data set (I think we have Biases and Darks now, but 1 arc and dithered flats with fiber traces in the same positions, preferably no 2 adjacent ones, are needed). Craig says he can give me an Arc with the same fiber traces as the dithered Flats quickly what would be enough for now to test |
| Comment by rhl [ 12/Oct/16 ] |
|
I don't quite understand. You can use the better biases and darks that Craig pointed you at (we agree). So you're asking about the fibre flats; what's the issue here? Whether Craig needs to include the full imaging flats in the simulations? |
| Comment by aritter [ 12/Oct/16 ] |
|
The fiber traces in the arc I have are not in the same positions as the fiber traces in the dithered flats. Craig said there is an Arc on tiger (which was down yesterday) I can use. |
| Comment by rhl [ 12/Oct/16 ] |
|
I'm still lost; the dithered flats have a range of trace positions. You mean that there is no flat that has the same trace as the arcs? If so, it sounds as if you know what to do. |
| Comment by aritter [ 15/Oct/16 ] |
|
In the old arc different fibers were illuminated compared to the dithered Flats. I now got a new Arc with the same fibers as the dithered Flats. I will add it to drp_stella_data so we can flatfield the arc before the extraction. |
| Comment by aritter [ 21/Oct/16 ] |
|
With the new Arc tests/Spectra.py fails. Both reduceArc versions (one using Craig's file 'RedFiberPixels.fits.gz' with the predicted wavelengths for each pixel in each fiber to create the initial line list, and the one using a previously identified reference spectrum) fail for different reasons. Using the predicted wavelengths fails because something has changed in the simulations and the file 'RedFiberPixels.fits.gz' is not up-to-date anymore. A ticket has been filed to recreate this file ( |
| Comment by aritter [ 28/Oct/16 ] |
|
Changes are in tickets/ |
| Comment by rhl [ 11/Nov/16 ] |
|
See comments on github; https://github.com/Subaru-PFS/obs_pfs/pull/4 We can merge this now, but only after filing tickets to remove the issues identified in the review. Next time, you need to clean up the commits prior to submitting the ticket for review. It should be arranged into a tidy set of changesets that the reviewer can understand (e.g. all the white space changes in one changset; all the removed print statements; one changeset shouldn't remove or modify one that appeared earlier — the reviewer shouldn't have to comment on something, only to find that it was resolved later). |
| Comment by aritter [ 15/Nov/16 ] |
|
Git history cleaned up. Merged drp_stella, obs_pfs, and drp_stella_data with master. |