HISTORY, and changed wording in the
code from “provenance history” to simply “history”.
Allow input files to
shiftImagesto recognize tabs or multiple whitespaces as the delimiter
Whitespace now allowed in directory paths (if quoted), e.g.,
databases = "~/.my dragons/dragons.db"
This release includes new science-approved support for GMOS longslit data, along with new interactive tools to optimize the spectroscopic reduction. The calibration service has also been refactored with significant changes that the user need to be aware of. Please read on.
- Science quality support for GMOS longslit spectroscopy.
Please refer to the tutorial, GMOS Longslit Data Reduction Tutorial. DRAGONS is now the official software for reducing GMOS longslit data.
- New browser-base interactive tools to support spectroscopy.
The following primitives have an interactive mode that can be activated with the
- The GSAOI alignment and stacking is now done in DRAGONS.
disco_stuis no longer needed. The default GSAOI recipe will align and stack. See the tutorial, GSAOI Imaging Data Reduction Tutorial
- The bad pixel masks are now handled as the other calibration files.
They are distributed through the archive instead of with the package. They are also fully integrated into the calibration service. See the various tutorials for details.
- The calibration service has been through a large refactor.
It is now possible to have the processed calibrations stored automatically (was a user step before), and it possible to serially search more than one database. See below for details on the new configuration file, Interface Modifications. For usage examples, see the various tutorials.
- New imaging recipes.
There has been many changes to the calibration service. Most of them are internal but the one big change for the users is the configuration file. The configuration file now
~/.dragons/dragonrc(was ~/.geminidr/rsys.cfg). The syntax inside the file has changed a bit too.
[interactive]section. This is used to set the browser that the interactive tools will use. Valid browsers: “safari”, “chrome”, “firefox”:
[interactive] browser = safari
New format for the
[calib]section. The variable is now named
databases, plural, and multiple databases can be defined to be searched serially. One database per line. The name of the database can now be set by the user instead of being hardcoded to
cal_manager.db. Two new flags can be set
storeto, respectively, “get” processed calibrations for that database, and “store” them to it.
[calib] databases = /Users/someone/data/myprogramcal.db get store https://archive.gemini.edu get
You must now ensure that the bad pixel masks (BPMs) can be found in a database. The BPMs are no longer distributed with the software. They are downloadable from the archive. See the “Tips and Tricks” section of any tutorial (except Flamingos-2).
As mentioned above, the BPMs are now stored in archive. Using the archive to distribute the BPMs will allow us to make new BPMs available rapidly, for example, when new bad columns appear in GMOS CCDs, after a catastrophic event like the amplifier 5 failure in January 2022, or when the CCDs are replaced.
Several new or improved algorithms compared to 3.0.x.
There has been some restructuring of the tutorials to better present multiple examples within a tutorial.
Several new examples for Flamingos-2 and GMOS imaging tutorials.
Several science quality examples for the new GMOS longslit spectroscopy support.
The three previously separated
astrodatamanuals, “Cheat Sheet”, “User Manual”, and “Programmer Manual” have been consolidated into one master document. Please fix your link, Astrodata Manual.
DRAGONS v3.1 is compatible with Python 3.7 to 3.10. The pre-release tests were done with Python 3.10. Please note that DRAGONS v3.1.x will the last minor version to support Python v3.7.
The conda package was built and tested against conda-forge dependencies. STScI has dropped support of the astroconda channel. Make sure that you adjust your conda channels.
If you already have a
~/.condarcfile, make sure that the channels are set as follows:
channels: - http://astroconda.gemini.edu/public - https://conda.anaconda.org/conda-forge - defaults
If you are installing conda for the first time, see the installation instructions here: Installation Guide
maskFaultyAmpto work on astrodata objects with no mask.
maskFaultyAmpto work on central stamp ROI.
Adjust minimal dither separation for fringe frame creation.
info()method to handle extensions with no pixels. Required for upcoming GHOST data.
Update to the GMOS-S Hamamatsu 4x4 imaging illumination mask.
Improve behavior of
addIllumMaskToDQto cope with larger shifts due to recent GMOS misalignment.
Add provenance for the flux calibration step.
Switched to using WAVELENG for central_wavelength for F2 to be better aligned with the instrument and observatory software.
dataselect, make the disperser selection default to the “pretty” mode rather than requiring the full component ID.
Quality Assessment Pipeline
Increase robustness of measureIQ for 2D spectra.
Interface improvements to the QAP Specviewer.
maskFaultyAmpin some QAP recipes.
Limit the number of aperture/spectra selected in GMOS LS QA recipes for performance reasons.
3.0.2 and 3.0.3
Note that 3.0.2 was found to have one broken recipe, 3.0.3 fixes it.
Continue without crashing when
traceAperturescannot identify a starting location for a trace.
Fix issues with assignment of on-source/sky frames when the user specifies specific frames.
Fix bug where
stackFramescrashed if using the
statsecparameter when scaling or zero-offsetting.
do_cal=forcehas been reactivated.
Better handling of infinites and NaN in the flat normalization.
Added new primitive to the recipes to mask amplifier 5 in GMOS-S data obtained since January 28, 2022. GMOS-S amplifier 5 suffered a major failure and it is not usable.
Ensure that the masks are used when calculating the statistics in scaleByIntensity.
Added missing support for YPHOT filter.
Support of the Flamingos 2 filters.
** geminidr **
write1DSpectrato configure the output
Under-the-hood modification to distinguish data reduced in quicklook mode versus science mode.
Internal Gemini catalog server URL updated.
Various fixes to the documentation affecting formatting, not the content.
Fix bug where
sectionstart/end comparison was made on string, not numeric, values.
Fix bug that caused longslit spectra to have incorrect WCS, offset from true slit location.
use_snr=Falsethe default, and estimate noise from pixel-to-pixel variations, regardless of its value.
Various fixes to the documentation.
This release includes new support for GMOS longslit data. Reduction of GMOS longslit data is offered only quicklook mode. It does not produce science quality outputs, yet.
In imaging mode, the science recipes now include a call to
scaleByExposureTimebefore the stacking step. It is now possible to stack frames with different exposure times.
Fix the GCALLAMP tag for NIR data to include the QH lamp.
Remove incorrect logging in separateSky when object and/or sky files are specified.
Improve algorithm for separating on-source and on-sky frames.
Avoid upsampling OBJMASK from uint8 to uint16
In near-IR imaging mode, frames that fail to be sky subtracted are removed from the main reduction stream to avoid contamination. The reduction continues with the “good” frames. If all frames fail the sky subtraction, then all frames will be passed to the next step of the reduction.
Fix to the calculation of the CC-band used in nighttime sky quality assessment.
Fix to the calculation of the BG-band used in nighttime sky quality assessment.
Ensure NIRI skyflats satisfy calibration association requirements
Fix a Python 3 compatibility issue.
--qlmode) reduction support for GMOS longslit data.
remove_firstparameter to removeFirstFrame primitive.
match_radiusparameter to adjustWCSToReference primitive.
Add an IRAF compatibility primitive and recipe for Flamingos 2.
astrodata and recipe_system
Provenance history stored with the data in tables named: PROVENANCE and PROVHISTORY.
do_flatinput parameters have been replaced with
do_calwith more options than True or False. Use
showparsto inspect the options.
Python 2 support has been dropped. Starting with v3.0.0, DRAGONS requires Python 3. All tests were run on Python 3.7, and this version of Python now serves as the minimal required version.
Improved the F2 processed products backward compatibility with Gemini IRAF.
Fix various links in the documentation.
Add examples and cross-reference to disco-stu usage documentation.
New tutorial for the quicklook reduction of GMOS longslit data.
Fix a crash when a section was used when stacking.
Add missing third party adpkg and drpkg support to utility scripts dataselect, showpars, typewalk, and showrecipes.
Fix to Jacobian calculation for non-affine transforms
Make adcc more robust to missing connection to fitsstore.
Add compatibility with sigma_clip for astropy v3.1+
Add IRAF compatibility keywords on GMOS mosaiced data.
Add compatibility with astroquery 0.4.
Add compatibility with sigma_clip fro astropy v3.1+
Add IRAF compatibility recipe.
Various fixes to documentation and instruction manual following feedback from users.