price@neverland:~/pfs/drp_stella (tickets/PIPE2D-290=) $ git sub
commit 4415c44ee44de4e2ef7f8b53e6601c5be889187d
Author: Paul Price <price@astro.princeton.edu>
Date: Thu Sep 13 14:32:15 2018 -0400
remove SWIG bindings
We're using pybind11 now. How have these managed to stick around so long?
python/pfs/drp/stella/stellaLib.i | 152 --------------------------------------
1 file changed, 152 deletions(-)
commit 80bdd284fd72c1c9e1e6337415e0bf9660cdd54f
Author: Paul Price <price@astro.princeton.edu>
Date: Thu Sep 13 14:53:40 2018 -0400
DetectorMap: strip throughput
A single value per fiber isn't sufficient to characterise the throughput
as a function of wavelength for each fiber. We'll do this in the flat-field
instead of carrying it around here.
include/pfs/drp/stella/DetectorMap.h | 25 +---------
python/pfs/drp/stella/constructFiberTraceTask.py | 62 ------------------------
python/pfs/drp/stella/detectorMap.cc | 27 +++--------
python/pfs/drp/stella/detectorMapContinued.py | 16 +-----
python/pfs/drp/stella/extractSpectraTask.py | 1 -
src/DetectorMap.cc | 45 +----------------
tests/test_DetectorMap.py | 32 ++++--------
7 files changed, 20 insertions(+), 188 deletions(-)
commit 0b76eff8b900b509d7250d98e3c08414b1c383ee
Author: Paul Price <price@astro.princeton.edu>
Date: Tue Oct 2 21:34:44 2018 +0000
FiberTraceSet: add extractSpectra method
That's why you have a FiberTrace, right? So let's add a method to do that.
python/pfs/drp/stella/fiberTracesContinued.py | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
commit 7ccc5150684ca409f821866d3f1625ecb8362c5a
Author: Paul Price <price@astro.princeton.edu>
Date: Tue Oct 2 21:37:28 2018 +0000
refactor flat field normalisation
Previously, each fiber was independently normalised, which means
that flux calibrating one doesn't allow you to flux calibrate
anything else (well, we have a throughput measurement in the
DetectorMap, but that's not a function of wavelength). Instead,
normalise all fibers to the mean spectrum of the fibers.
This keeps the fibers tied together.
python/pfs/drp/stella/constructFiberFlatTask.py | 115 +++++++++++++-----------
1 file changed, 61 insertions(+), 54 deletions(-)
commit 2801f730a15e1ab95cc21f169c174ad259f129de
Author: Paul Price <price@astro.princeton.edu>
Date: Tue Oct 2 21:36:06 2018 -0400
make some files flake8-clean
python/pfs/drp/stella/constructFiberTraceTask.py | 2 --
python/pfs/drp/stella/detectorMapContinued.py | 3 +--
python/pfs/drp/stella/spectraContinued.py | 4 ++--
3 files changed, 3 insertions(+), 6 deletions(-)