desisim change log
0.39.1 (unreleased)
No changes yet
0.39.0 (2026-03-18)
Features:
Support for more data releases on SurveyRelease/Quickquasars (PR #590).
Test infrastructure:
0.38.2 (2024-12-17)
Update to generate DESI-Y3 Lya mocks (PR #581).
0.38.1 (2024-04-30)
Followup requested changes for DESI-Y1 LyA mocks (PR #580).
0.38.0 (2024-03-05)
0.37.1 (2023-01-13)
Added sort to io.find_basis_template() (PR #576).
0.37.0 (2023-01-12)
Smoothing source contribution to noise in quickquasars (PR #566).
Quickquasars updates to reproduce actual z and mag distribution as obtained in SV for DESIY5 mocks (PR #569).
Make multiprocessing Pool safe in quickquasars (PR #570).
Renamed master -> main (PR #571).
Updated emission line and continuum models (PR #572).
Fix pixsim (PR #573).
0.36.0 (2022-01-20)
0.35.6 (2021-03-31)
lighterweight quickquasars (PR #552).
0.35.5 (2021-02-15)
0.35.4 (2020-11-12)
QSO BAL bug fix (PR #545).
0.35.3 (2020-08-04)
desisim.spec_qa.redshifts.zstats support for astropy 4 (hotfix to master).
0.35.2 (2020-08-04)
New keyword in quickcat to indicate which HDU to read in fba files (PR #538)
Fix sky level Travis test failure (#534) and “low QSO flux” template unit test failure (#507) (PR #536).
Add freeze_iers to more functions in simexp (direct to master).
Add the option to run quickquasars in eBOSS mode (PR #481)
Add dwave out to quickquasars (PR #533).
0.35.1 (2020-04-15)
Add freeze_iers to quickgen (direct fix to master).
0.35.0 (2020-04-13)
0.34.3 (2020-04-07)
0.34.2 (2019-12-27)
Add
desisurvey.utils.freeze_iers()to any code that usesastropy.time(PR #520).
0.34.1 (2019-12-20)
0.34.0 (2019-10-17)
Requires desispec/0.30.0 or later.
0.33.1 (2019-10-01)
No code or API changes in this tag.
Pinned Numpy version to fix broken tests (PR #505).
Minor changes to documentation configuration and docstrings.
0.33.0 (2019-09-30)
0.32.0 (2019-05-30)
Remove remaining matplotlib (PR #470).
Modify simqsotemplate (PR #474).
LyA/QSO sims updates (PR #471, PR #472, PR #473, PR #475, PR #478, PR #483, PR #485, PR #488
Misc cleanup (PR #480, PR #479,
Support new tile naming in quicksurvey (PR #486).
Fix crashing bug in mock spectra OBJMETA tracking (PR #490).
Support SV1_DESI_TARGET (PR #494).
0.31.2 (2019-02-28)
0.31.1 (2018-12-14)
0.31.0 (2018-11-08)
Update to new fibermap format for consistency with targeting and fiber assignment; requires desispec >= 0.26.0 (PR #446).
Update desisim.templates.BGS to use latest selection cuts (PR #439).
Fix quickquasar to work with Saclay mocks (PR #435).
Add support for >v3.0 stellar templates, with notebook to boot (PR #434).
Update notebook describing the construction of the LRG templates (PR #433).
Fix quicksurvey (PR #431).
Fix archetype computation for redrock (PR #429).
Change
electrontocountfor FITS compliance (PR #428).Do not include Mg II emission by default (PR #426).
Add and adjust the nebular emission line spectra added to galaxy templates (PR #424).
quickquasar options for random z, ignoring transmission, random seeds, desisim.templates.SIMQSO vs. QSO (PR #419, PR #408, PR #406, PR #401).
Read and write select_mock_targets style simspec file (PR #416).
Restore quickquasars to a functioning state, after being broken in PR #409 (PR #413).
Add optional nside and overwrite arguments to wrap-newexp and obs.new_exposure, respectively (PR #412).
Major (and backwards-incompatible) refactor of how the template/simulated metadata are returned by desisim.templates (PR #409).
Adding reading metals from LyA transmission files (PR #407).
0.30.0 (2018-08-09)
bring changes from master (PR #396).
Update to use fiberassign script in place of fiberassign_exec from c++ code (PR #397).
below wanted_min_wave, corresponding to z=1.7, we set F=1 (PR #399).
Update templates to DR7+ standard-star designation (FSTD–>STD) (PR #400).
Update standard star bit name again STD -> STD_FAINT; requires desitarget 0.23.0 (PR #402).
0.29.0 (2018-07-26)
0.28.0 (2018-07-18)
Add BALs to templates.QSO class (PR #321).
Quick lya (PR #343).
Healpix in spectra header (PR #345).
Enable redshift QA using input summary catalogs of truth and redshifts (PR #349).
Add zstats-like good/fail/miss/list QA method from desitest mini notebook and refactor previous code to enable it (PR #351).
New pixsim and pixsim_nights (PR #353, PR #354, and PR #358).
Generate confusion matrix related to Spectype (PR #359).
Update QA to use qaprod_dir
Fix newexp-mock wrapper when first expid != 0 (PR #361).
newexp-mock options for production running (PR #363).
Add dla (PR #366).
read healpix nside and scheme from header (PR #367).
add transmission of metals from LYA transmission (PR #368).
Add BALs to QSO spectra outside of desisim.templates (PR #370).
Qqso dla bal (PR #371).
Revert “Qqso dla bal” (PR #372).
add parameter for metal lines (PR #373).
Qqsuasar dlas (PR #374).
Add rest-frame option to templates.SIMQSO (PR #377).
update extension name of fiber-assignment output file (PR #380).
correct computation of chi2 and amplitude between archetypes (PR #382).
Optionally change output wave vector in templates.SIMQSO when noresample=True or restframe=True (PR #383).
raw data now under NIGHT/EXPID/ not just NIGHT/ (PR #384).
Fix dlabugs (PR #385).
bringing things from master (PR #387).
fix newexp-mock and wrap-fastframe NIGHT/EXPID/ vs. NIGHT/ parsing (PR #389).
Fix
newexp-mockandwrap-fastframefile parsing forNIGHT/EXPID/*.*vs.NIGHT/*.*.Speed up emission line simulation when using
MKL >= 2018.0.2(PR #390).
0.27.0 (2018-03-29)
Fix pixsim_mpi; make it faster with scatter/gather (PR #329, PR #332, and PR #344).
Fix PSF convolution for newexp-mock (PR #331).
BGS redshift bug fix (PR #333).
Astropy 2 compatibility (PR #334).
Match desispec renaming and relocating of of pix -> preproc (PR #337 and PR #339).
Fix newexp-mock –nspec option (PR #340).
Fix fibermap EXTNAME (PR #340).
Fix PSF convolution for newexp_mock (PR #331).
More robust handling of unassigned fiber inputs (PR #341).
Fix minor problems in doc/changes.rst (PR #342).
0.26.0 (2018-02-27)
Requires desitarget >= 0.19.0
0.25.1 (2018-02-23)
Requires desitarget < 0.19.0
Fix set_xscale(…) nonposy -> nonposx for qa_zfind
0.25.0 (2018-02-23)
0.24.0 (2018-01-30)
Support new LRG templates (v2.0). (PR #302).
Bug fixes and additional features added to SIMQSO template maker. (PR #303).
fix bug in pixsim when simulating more than one spectro (PR #304).
Fixes quickspectra (broken by desispec change) (PR #306).
Fixes quickspectra random seed (never worked?) (PR #306).
Optionally do not wavelength resample simqso templates (PR #310).
Minor edits to QA scripts and doc (PR #311).
Improves pixsim_mpi performance (PR #312).
Adds quickspectra –skyerr option (PR #313).
Correct fastframe output BUNIT (PR #317).
Default to basis templates v2.4 instead of 2.3
0.23.0 (2017-12-20)
Reintroduce nspec option (PR #279).
Add objtypes in qa_zfind (PR #280).
handles new date formats (PR #281).
QA: docs and qa_s2n improvement (PR #282).
code and notebook for generating archetypes for BGS (PR #283).
fastframe can directly output cframes (PR #287).
do not add random lya forest when also reading lya forest from file (PR #292).
Preliminary support for simqso based QSO templates (PR #293).
Refactor DLA code into its own module (PR #294).
Adds reader for LyA skewer v2.x format (PR #297).
fix bright/dark test (PR #299).
Fixed crash in newexp-mock success print message.
Removed deprecated brick output from quickgen.
0.22.0 (2017-11-10)
Adds quickspectra script (PR #259).
Adds fastfiber method of fiber input loss calculations (PR #261).
Fix quickgen moon input parameters (PR #263).
Fix a minor units scaling bug in lya_spectra (PR #264).
Quickspectra (PR #266).
fix newexp-random –outdir option (PR #267).
quicksurvey updats for latest surveysim outputs (PR #270).
drop columns from tables used in quicksurvey (PR #271).
Update arc lamp line list (PR #272).
Scaling updates to wrap-fastframe and wrap-newexp (PR #274).
newexp takes exposures list with EXPID and arcs/flats (PR #275).
lyman alpha QSOs with optional DLAs (PR #275).
Fix coverage error (PR #277).
qa_zfind even if specter wasn’t used (PR #278).
0.21.0 (2017-09-29)
quicksurvey on surveysim outputs (PR #249).
Major refactor of newexp to add connection to upstream mocks, surveysims, and fiber assignment (PR #250).
Support latest (>DR4) data model in the templates metadata table and also scale simulated templates by 1e17 erg/s/cm2/Angstrom (PR #252).
BGS Simulation parameter propagation (PR #253).
Add desi_qa_s2n script (PR #254)
Refactor desi_qa_zfind script (PR #254)
Refactor redshift QA for new data model (PR #254)
Refactor shared QA methods to desisim.spec_qa.utils (PR #254)
New plots for S/N of spectra for various objects (ELG, LRG, QSO) (PR #254)
Add BGS, MWS to z_find QA
QA Polishing (PR #255).
Miscellaneous polishing in QA (velocity, clip before RMS, extend [OII] flux, S/N per Ang)
Bug fix: correctly select both “bright” and “faint” BGS templates by default (PR #257).
Updates for newexp/fastframe wrappers for end-to-end sims (PR #258).
0.20.0 (2017-07-12)
Adds tutorial on simulating spectra (PR #244).
Uses
desitarget.cuts.isLRG_colors; requires desitarget >= 0.14.0 (PR #246).Fixes QSO template wavelength extrapolation (PR #247); requires desispec > 0.15.1.
converts to using desiutil.log instead of desispec.log (PR #248).
Uses
desiutil.loginstead ofdesispec.log.
0.19.0 (2017-06-15)
Refactor and speed-up of QSO templates; add Lya forest on-the-fly (PR #234).
Remove LyA absorption below the LyA limit (PR #236).
updated changes.rst for #234 (PR #237).
add notebook comparing various interpolation methods (PR #239).
Fixes for
targets.dattotargets.yamlchange (PR #240).Changed refs to
desispec.brickto its new location atdesiutil.brick(PR #241).Add
nocolorcutsoption for LyA spectra (PR #242).“FLAVOR” keyword is arc/flat/science but not dark/bright/bgs/mws/etc to match desispec usage (PR #243).
0.18.3 (2017-04-13)
0.18.2 (2017-03-27)
Fixed a number of documentation errors (PR #224).
fix N^2 scaling of QSO.make_templates (PR #225).
Removed unneeded Travis scripts in
etc/.Fixed N^2 scaling of
desisim.templates.QSO.make_templates().Speed up
desisim.templates.GALAXYby factor of 8-12 by caching velocity dispersions (PR #229)
0.18.1 (2016-03-05)
change z-band magnitude prior for LRGs from 19<z<20.5 to 19<z<20.4 (PR #215).
Update
desisim.moduleto useDESI_BASIS_TEMPLATESv2.3.
0.18.0 (2016-03-04)
pixsims add new required keywords DOSVER, FEEVER, DETECTOR.
Debug quickcat (PR #198).
quicker quickcat maybe (PR #199).
Small bug fixes in quickcat; drop unused truth,targets columns to save memory in quicksurvey loop (PRs #198, #199).
notebook documenting how to connect BGS/MXXL mock to spectral templates (PR #202).
added wd templates (PR #204).
quickgen update to support white dwarf templates (PR #204)
add option for restframe templates (PR #208).
several enhancements of the templates code
optionally output rest-frame templates (PR #208)
rewrite of lya_spectra to achieve factor of 10 speedup; use COSMO (astropy.cosmology setup) as a new optional keyword for qso_desi_templates; updated API (PRs #210, #212)
various small changes to desisim.templates (PR #211)
support for DA and DB white dwarf subtypes (PR #213)
Lyaspeedup (PR #210).
miscellaneous tweaks, mostly to templates.py (PR #211).
update the API of lya_spectra to work with mock–>spectra connection (PR #212).
support DA and DB white dwarf subtypes (PR #213).
Fix test failures (PR #214).
update test dependencies (PR #214)
0.17.1 (2016-12-05)
fix tiles vs. obsconditions bug; add start_epoch option (PR #197).
Fix bug when obsconditions contain tiles that don’t overlap catalog
Add
surveysim --start_epochoption
0.17.0 (2016-12-02)
Quickgen refactor (PR #184).
New quickcat interface (PR #186).
fix tests to work with latest desitarget master (PR #189).
Add observing conditions to quicksurvey (PR #190).
Model quickcat for ELGs (PR #191).
Fix bgs (PR #192).
fixes zeff (PR #194).
fixes tests for use with latest desitarget master
Refactor quickgen and quickbrick to reduce duplicated code (PR #184)
Makes BGS compatible with desitarget master after isBGS -> isBGS_faint vs. isBGS_bright
Refactor quickcat to include dependency on observing conditions
Update quicksurvey to use observing conditions from surveysim
Fixes use of previous zcatalog when updating catalog with new observations
0.16.0 (2016-11-10)
Lya sims (PR #156).
Quickgen moon (PR #176).
update moon keywords (PR #177).
Cache specsim (PR #178).
add integration test for quickgen (PR #179).
Requires specsim >= v0.6
Add integration test for quickgen (PR #179)
Cache specsim Simulator for faster testing (PR #178)
Add lya_spectra.get_spectra (PR #156)
Add quickgen and quickbrick unit tests and bug fixes (PR #176, #177)
0.15.0 (2016-10-14)
Sphinx and coverage fixes (PR #164).
Get desisim working on ReadTheDocs (PR #165).
quickbrick tests and bug fixes (PR #166).
Tiny one-line fix so that function from desisim.pixsim can be called. (PR #168).
added unit tests to quickgen and updated exposure time (PR #169).
update module file (PR #170).
Quickgen (PR #173).
Quickgen update (PR #175).
Fix some
build_sphinxerrors.Run coverage tests under Python 2.7 for now.
Update template Module file to new DESI+Anaconda infrastructure.
quickbrick unit tests and bug fixes (#166)
new quickgen features (PR #173 and #175)
fix exptime and airmass for specsim v0.5
new –frameonly option
moon phase, angle, and zenith options
misc cleanup and unit tests
0.14.0 (2016-09-14)
Contaminants (PR #150).
fix template fibermap mag; fix quickgen outputs (PR #151).
2to3 (PR #154).
interpolate stellar templates on an input physical grid for the MWS mocks (PR #155).
change default cdelt in desisim.templates from 2 A/pix to 0.2 A/pix (PR #157).
Py3 (PR #159).
updates for python 3.5
0.13.1 (2016-08-18)
fix batch.pixsim seeds vs. seed typo
0.13.0 (2016-08-18)
generate templates at given/input redshifts (PR #132).
Quickgen update (PR #145).
QA zfind plot updates (PR #146).
fix obs.get_next_tileid() for UPPERCASE program in desi-tiles.fits (PR #147).
add rand seeds for batch pixsim (PR #148).
desi_qa_zfind: fixed –reduxdir option; improved plots
PR#132: major refactor of template generation, including ability to give input redshifts, magnitudes, or random seeds from metadata table.
desisim.batch.pixsim functions propagate random seeds for reproducibility
0.12.0 (2016-07-14)
newexp + pixsim + QA fixes (PR #144).
desi_qa_zfind options to override raw and processed data directories
PRODNAME -> SPECPROD and TYPE -> SPECTYPE to match latest desispec
remove unused get_simstds.py
fix #142 so that pixsim only optionally runs preprocessing
fix #141 to avoid repeated TARGETIDs when simulating both bright and dark tiles together
add io.load_simspec_summary() convenience function to load and merge truth information from fibermap and simspec files.
adjusts which magnitudes were plotted for each target class
0.11.0 (2016-07-12)
wrapper to construct bright-time bricks (BGS, MWS, or a mixture) (PR #123).
Rawpixsim (PR #131).
newexp different tileids in parallel (PR #133).
fix quickgen mask dtype (PR #137).
Resource filename use (PR #139).
use desisim throughput for varying arc lines in cameras (PR #140).
Pixsim updates:
simulate fully raw data, then call preprocessing
bug fix for simulating tiles in parallel
fix pixsim loading of non-default PSFs
0.10.0 (2016-05-19)
adds the option of including a Type Ia supernova spectrum in the BGS, ELG, and LRG spectra (PR #102).
Quicksurvey (PR #111).
Redshift truth (PR #112).
clean up of quickbrick to support bright-time survey (PR #114).
Wave in vacuum (PR #116).
Merging test stand simulation options (PR #117).
Make sure data directory really is part of the package. (PR #120).
Fix cosmicsims (PR #122).
Integration with ztruth (PR #124).
QA edits for cron job (PR #125).
QA backend for cronjobs (PR #126).
update template set to v2.2 (PR #127).
0.9.3 (2016-04-08)
fix random seed usage with parallelism (PR #108).
0.9.1 (2016-03-10)
0.9 (2016-03-03)
In quickbrick: replace actual srcflux in b brick by pre-downsampling … (PR #63).
Newexp desi flavor (PR #65).
Refactor QSO_templates (PR #67).
Bright pixsim (PR #68).
use bright sky for flavor=bright,bgs,mws (PR #69).
Testlite (PR #79).
add BGS templates and speclite & desitarget dependencies (PR #81).
Quickbrick zrange (PR #83).
bump numpy/scipy/astropy versions (PR #84).
quickcat2 (PR #85).
Update quickgen and quickbrick to new specsim API (PR #86).
fix mag range of simulated stdstars (PR #88).
update fibermap format for target masks (PR #90).
0.8.2 (2016-01-13)
0.8 (2015-12-17)
0.7 (2015-12-14)
0.6 (2015-10-31)
newexp-desi integrated with templates generated on-the-fly (PR #34).
0.5 (2015-10-30)
Cleanup, including pixsim-desi interface change. (PR #9).
Resolution data added to frame output (PR #10).
resampling and resolution defined inside (PR #11).
Cleanup (PR #14).
fix –nspec usage when nspec>500 (PR #15).
options updates: redefine –nspec, add –arms and –spectrographs opt… (PR #16).
Format flow (PR #17).
Highlevel qa (PR #18).
quickgen wrapper for quicksim outputs to spectro pipeline formats (PR #21).
updated to rawdata_root (PR #22).
First-pass desisim templates (PR #23).
Cosmics (PR #24).
Add support for simulating F-type standard-star templates (PR #25).
Header keywords (PR #27).
Fix the spectrograph higher than 0 and nspec beyond 500 (PR #28).
Corrects the number of fiberflats simulated (PR #30).
add support for generating white dwarf and QSO templates (PR #31).
0.4.1 (2015-02-13)
Qso template (PR #3).
0.4 (2015-01-30)
Added Directory tree, modified coding style, indentation, dictionary etc (PR #6).
0.3.2 (2015-01-16)
Desi install (PR #4).
0.2.1 (2015-01-02)
Sjb/arcflat (PR #2).
0.2 (2015-01-02)
tie randseed to tileid; scale sky with airmass (PR #1).