fiberassign change log

5.7.3 (unreleased)

  • No changes yet.

5.7.2 (2023-10-04)

  • fba_rerun: handle custom_too_development argument (PR #458).

  • Use chmod to make sure that permissions get set to their intended values (PR #457).

  • Update ReadTheDocs configuration (PR #459).

  • Add Assignment.check_avail_collisions(tile, all_matches=False) to check potential assignments for collisions (PR #454).

  • uses the focalplane radius from DESIMODEL instead of the hardcoded version in fiberassign (PR #453).

  • Add etc/fba_tiles_svn_revisions.py utility script (PR #451).

  • speeds up the Hardware constructor’s search for neighboring positioners by pre-sorting in one dimension first (PR #460).

5.7.1 (2023-02-06)

  • master to main in setup.py (commit 270b4e8)

  • Update change log and test infrastructure (PR #440).

  • bugfix: correct arguments order when calling gaia_psflike (PR #442).

  • bugfix: fba_sv1 avoid row mixing (PR #444).

  • bugfix (mostly harmless): fba_launch use of too_tile argument in get_desitarget_paths (PR #446).

5.7.0 (2022-11-01)

  • add tagalong argument in the docstr (PR #430).

  • Compile script to run when installing a branch (PR #435).

  • Patch 202210 (PR #436).

  • Patch 202210 v2 (PR #438).

  • Change print to log (PR #439).

  • bugfix: correct arguments order when calling gaia_psflike() (PR #442).

  • fba_sv1 bugfix: avoid row-mixing (PR #444).

  • fba_launch harmless bugfix: use of too_tile argument in get_desitarget_paths() (PR #446).

  • Add old script for patching fiberassign files (from Oct 5/2021) (PR #434).

  • handle multiple ToO files (PR #437).

5.6.0 (2022-04-22)

  • query ToO-fiber.ecsv for main if args.too_tile=False (PR #428)

5.5.0 (2022-04-19)

  • Count ETC fibers as stuck fibers. (PR #425)

  • Tootile (PR #422)

  • Desi fa smallrun v3 (PR #426)

  • sort fiberassign output hdus GFA_TARGETS and POTENTIAL_ASSIGNMENTS (PR #421)

5.4.0 (2021-11-23)

This version now requires desitarget >= 2.2.1 Various updates, in particular to handle the Main/BACKUP program (but not only).

  • Remove STD_WD from the per-petal STD counting (PR #415)

  • Skyhealpixs gaia (PR #416)

  • Gaia std (PR #417)

  • Fba rerun5 (PR #420)

  • Move some functions from fba_launch_io.py to utils.py (PR #419)

  • change main/backup goaltime from 30 to 60 (PR #418)

  • Populate EBV=0 rows in FIBERASSIGN with correct values (PR #414)

5.3.0 (2021-09-20)

Allow several folders for inflating ledgers.

  • allow several folders for inflating ledgers (PR #408)

5.2.2 (2021-09-17)

Small fix to record the last change revision number in SVNDM and SVNMTL keywords.

  • get_svn_version(): now grab ‘Last Changed Rev’ (PR #407)

5.2.1 (2021-09-17)

Small fixes related to fiberassign on-the-fly at KPNO and rerun at NERSC.

  • Get SVN revision number in more compatible way (PR #405)

  • Fbarerun bugfix (PR #406)

5.2.0 (2021-09-16)

Several changes during the 2021 summer shutdown: - RUNDATE/MTLTIME/NOWTIME/ToO_MJD definitions to improve reproducibility - functions for rerun - propagate flux columns for secondaries - bug fixes

  • Try to remove files before overwriting them. (PR #386)

  • Also use touching-tile ledgers to set default MTLTIME (PR #388)

  • Set default RUNDATE to the latest TIME in the desi-state*.ecsv files (PR #390)

  • Add NOWTIME keyword in fiberassign-TILEID.fits.gz header (PR #392)

  • MTLTIME argument in create_too() (PR #394)

  • ToO: MJD definition and cut (PR #396)

  • Do not patch target tables from the gfa targets file (PR #375)

  • Avoid recomputing radec2xy when writing out results. (PR #378)

  • Fix duplicate negative TARGETID for stuck positioners (PR #397)

  • fba_cmx: remove GFAs when calling run_merge() (PR #400)

  • fba_rerun4 (PR #398)

  • update run_assign_bytile() with xycs5 (PR #402)

  • create_mtl(): add flux columns for secondaries (PR #404)

5.1.1 (2021-07-09)

No algorithmic changes, bug fixes.

  • fix case if no ToO targets selected, for mv_temp2final() (PR #382)

  • Proper handling of –worldreadable in fba_rerun (PR #383)

5.1.0 (2021-07-08)

Changes to ease fiberassign on-the-fly, and fba_rerun script.

  • A couple of speed-ups (stuck-sky, hardware-loading) (PR #373)

  • fba_rerun script (PR #376)

  • Add features to fba_launch to support fiberassign on the fly (PR #380)

  • Quickread2: taking advantage of desitarget/1.2.2 speed-ups (PR #381)

5.0.0 (2021-05-29)

Algorithmic changes to not change SUBPRIORITY when running fiberassign.

  • Refactor internal dataflow for PLATE_RA/PLATE_DEC, without external changes to outputs except different POTENTIAL_TARGETS row order (PR #353).

  • Include desimeter in DEPNAMnn/DEPVERnn keywords (PR #364).

  • Don’t override SUBPRIORITY while preparing files (PR #366).

  • Add Gaia-based variability bit 5 to ETC_FLAG (PR #367).

  • fba_launch options to run/exclude specific steps (PR #368).

  • use desitarget.gaiamatch.gaia_psflike() for PSF-like criterion (PR #369).

  • use np.nan_to_num() to avoid warnings: RuntimeWarning: invalid value encountered in greater (PR #370).

  • Only interpret exclusion regions on demand (PR #371).

  • adding desimeter path, version in log (PR #372).

4.0.1 (2021-05-18)

No algorithmic changes.

  • Add timeout to wget fetch of imaging cutout for QA (PR #361).

4.0.0 (2021-05-14)

First release used for main survey observations.

Note: the format changed to add PLATE_RA, PLATE_DEC output columns, thus bumping the major version number even though the results are algorithmically identical to 3.0.0.

  • Robust if target-of-opportunity (ToO) inputs don’t exist (PR #352).

  • Don’t set $SKYBRICKS_DIR in module file (desitarget does that now) (direct commit).

  • Add PLATE_RA, PLATE_DEC columns while merging as placeholders for future chromatic offsets use (PR #355).

  • Add fba_launch --hdr_survey X --hdr_faprgrm Y options, defaulting to --survey and --program (PR #356).

3.0.0 (2021-05-13)

Major update to use desimeter for x,y <-> ra,dec transforms to include airmass and ADC distortions. Requires desimeter >= 3.6.5 and desitarget >= 1.0.0 .

  • Desi fa smallrun improve (PR #333).

  • Simplify and improve bin/fba_plot (PR #336).

  • Use Gaia-based FLUX_R for GFA_TARGETS extension to avoid DR9 saturation (PR #344).

  • Record $DESI_SUREYOPS/mtl and $DESIMODEL/data svn revision numbers in output header keywords SVNMTL and SVNDM (PR #346).

  • Add inner exclusion |R1+R2|+100um (commits 01206c1 and 6e78851)

  • fba_launch --mtltile default to latest timestamp in mtl file (PR #347).

  • fba_launch add support for main survey inputs (PR #349).

  • Use desimeter for x,y <-> ra,dec transforms (PR #348).

  • Expand default positioner polygons by 50 microns and edges by 400 microns, adjustable with options (PR #350).

2.5.1 (2021-05-11)

  • Adds bin/fba_launch_dc3r2_gama to support a special tile (PR #345).

2.5.0 (2021-05-11)

  • Major refactor of bin/fba_launch into functions in fiberassign.fba_launch_io for reuse by other scripts (PR #343).

  • Headers record skybricks input version; support skybricks/v3 format (PR #341, #342).

2.4.0 (2021-05-05)

  • fba_launch --isodate option to set timestamp for MTL ledger reading (PR #334).

  • Assign stuck positioners to sky if possible, using skybricks/v2 lookup (PR #337).

  • Add per-slitblock sky fiber limits (PR #338).

  • Report counts of assigned fibers as fiberassign proceeds (PR #339).

  • Apply theta-phi offsets when computing locs of stuck positioners; fixes NaNs in outputs (PR #340).

  • Park unassigned positioners at phi=150 instead of 180. (PR #340).

2.3.0 (2021-04-22)

First used for tiles 98,179,198,209,231,287,315,375,423,438,441 on 2021-04-22 before making tag.

  • Change assignment strategy of leftover fibers (PR #321).

  • Use UTC time everywhere (PR #327, #328).

2.2.0 (2021-03-31)

  • Support dedicated secondary programs (PR #311).

  • Migrate from Travis to GitHub workflows (PR #313).

  • Support sv1 tiles (PR #314).

  • Support new desimodel focal plane state format (PR #315).

  • Remove NUMOBS_INIT column in merged TARGETS table (PR #316).

  • Restore NUMOBS_INIT from columns loaded from target files (PR #317).

  • Support sv2 tiles (PR #318).

  • new fba_launch wrapper script (PR #319).

  • Support matplotlib 3.3.4 (PR #320).

  • use desitarget write_skies instead of write_targets for skies (commit dd69bdd)

2.1.1 (2021-02-11)

  • Added bin/sv1-summary.py (PR #301, #308).

  • Updates for secondary target support (PR #303).

  • Orion Rosette Praesepe support (PR #306).

  • Fba cmx update (PR #307).

  • Remove unnecessary (incorrect) -Wstrict-prototypes compile flag (PR #309).

2.1.0 (2020-12-23)

Major script and format updates for SV1 in December 2020.

  • Add SV1_*_TARGET columns (PR #287).

  • fba_cmx gzip output (PR #288).

  • Add fba_sv1 script (PR #289, #291, #293, #294, #299).

  • Use read_targets_in_tiles quick=True option (PR #290).

  • Option for specifying proper motion epoch –pmtime (PR #295).

  • Update default fiberassign columns (PR #297, #298).

2.0.0 (2020-12-11)

NOTE: New major version number due to fiberassign format changes.

  • Enable easier embedding of fiberassign in other codes (PR #274)

  • Added fba_cmx script for commissioning (PR #277, #280, #281, #283, #286).

  • Reduces the number of target columns propagated into the fiberassign file (PR #279)

  • Add SUPP_SKY targets to OBJTYPE=SKY (PR #282).

1.4.2 (2020-10-02)

  • Support C++11, not requiring C++14 (PR #273).

1.4.1 (2020-08-04)

  • Fix tests and qa-fiberassign (PR #269).

  • Simplify handling of MWS secondary bits in creating sv1_sciencemask (PR #268).

  • Fix bug in the range checking of positioner theta / phi angles (PR #267).

  • Move the checks for positioner reachability from the assignment code to the TargetsAvailable class (PR #264).

  • Use a specific rundate for unit tests, to ensure consistent focalplane model (PR #262).

1.4.0 (2020-03-19)

  • Change assignment algorithm to be based on target order instead of fiber order (PR #258).

  • Fix radial platescale interpolation to work with latest desimodel (PR #259).

1.3.1 (2020-03-13)

  • Support supplemental sky targets (PR #241)

  • bits4cmxnsv (PR #245)

  • Travis updates (PR #246)

  • Use curved focal surface internally for assignment (PR #247)

  • Change targets to correctly look up desi and secondary mask (PR #250).

  • Add minisv2 bits (PR #252).

  • Extended QA (PR #253).

  • Avoid propagation of 2D target columns into FIBERASSIGN and TARGETS HDU (PR #255)

  • Increase target realism in unit tests (PR #256)

  • New SV0 science target bits from desitarget/0.37.0 (PR #257)

1.3.0 (2019-12-20)

  • Change output filenames to fba-.fits and fiberassign-.fits (PR #235).

  • Propagate run date/teim and depencency versions to outputs (PR #240).

  • Update documentation to more recent data releases (PR #242).

1.2.1 (2019-10-31)

  • Implement GFA and petal boundary exclusion zones (PR #233).

  • Plot GFA and petal keepouts for all petals, not just petal zero (PR #234).

1.2.0 (2019-10-17)

  • QA updates (PR #216, #230).

  • Implement field rotation (PR #219).

  • Enforce sorting by fiber on output (PR #223).

  • fiberassign support for CMX targets + MAIN skies (PR #224).

  • Added cmx_science bits for first light targets (PR #225).

  • Use per-tile field rotations from desimodel.focalplane.fieldrot (PR #226).

  • Add GFA target quality cuts (PR #227).

  • Format updates to match ICS and some cleanup (PR #228).

1.1.0 (2019-09-25)

  • Dynamic focalplane model (PR #207).

  • Add new bits to the cmx sciencemask and std mask (PR #213).

1.0.4 (2019-06-24)

  • Fix an issue with reproducibility of the ordering of available tile-fibers for each target (PR #203).

  • Switch to using device location (rather than fiber ID) as an indexing key throughout the code (PR #204).

  • Remove “short cut” when computing fiber collisions. Always do the collision check (PR #206).

  • Restore sorting of output assignment in fiber ID order rather than device location (PR #208).

1.0.3 (2019-05-30)

  • PR #202:

    • Gracefully allow fiberassign –stdstar to have duplicates with –mtl

    • Expose fba_run –sciencemask, –stdmask, etc. to fiberassign too

    • support fitsio 1.0.x

    • fix uninitialized variables bug

1.0.1 (2019-05-13)

  • Support different default masks for each program (PR #193).

  • Assign SAFE targets as backup if no SKY are available for sky monitor (PR #191).

  • Restored “safe” target type instead of just low priority science (PR #189).

  • Reorganized high-level code into package instead of script (PR #188).

1.0.0 (2019-02-22)

  • First tag of refactor/rewrite after merge (PR #153).

  • New C++ extension wrapped with pybind11.

  • Python functions for I/O, visualization, QA.

  • New commandline scripts for running assignment, merging input catalogs with output, making plots of outputs, etc.

  • Overhaul of documentation.

0.11.1 (2019-01-25)

  • Bug fix when using non-standard tiling (PR #158).

0.11.0 (2018-12-16)

  • Format updates to be closer to ICS fiberassign data model (PR #157).

  • Set OBJTYPE=’BAD’ and DESI_TARGET=desi_mask.NO_TARGET for broken, stuck, and unassigned fibers (PR #154).

  • Fix POTENTIAL target assignments HDU (broken in 0.10.2) (PR #156).

0.10.2 (2018-11-07)

  • Sort output by fiberid (PR #147).

  • Simplify required options (PR #149).

  • Add –version option (PR #150).

0.10.0 (2018-09-26)

  • Support both STD_FSTAR and STD bit names (PR #139).

  • Add more columns to output (PR #141).

  • Additional changes to try to match the data model (PR #144).

  • Fix collision calculation (PR #146).

0.9.0 (2018-07-18)

  • Standard star DESI_TARGET mask as input parameter (PR #114).

  • fiberassign is now a python wrapper around the C++ executable (PR #116).

  • Adds sky monitor fiber assignments (PR #119).

  • Adds GFA targets HDU (PR #122).

  • Code format cleanup (PR #123).

  • Update build files; fix valgrind / compiler warnings (PR #124).

  • Bug fix: do not assume tileid is 5 digits long (PR #126).

  • Fixes sign flip in x,y <-> RA,dec conversions (PR #127).

  • Checks for missing files (PR #128).

  • Fix unclosed file error (PR #129).

  • Bug fix: overflowing integer for SS flag (PR #131).

  • Show stuck/broken/unassigned fibers in qa-fiberassign (PR #132).

0.8.1 (2018-05-10)

  • New FIBERMASK columns in fibermap files. (PR #112).

  • Computes RA+dec for unassigned, stuck, and broken fibers. (PR #112).

0.8.0 (2019-03-29)

  • Clean up the command-line interface (PR #105).

  • Make fiberassign take more responsibility for installing itself (PR #104).

  • Allow fiberassign to report its version (PR #104).

0.7.1 (2018-03-01)

  • Fixed qa-fiberassign imports for desitarget 0.19.0 (PR #102).

0.7.0 (2018-02-23)

  • Fill unassigned fibers with sky and stdstars if possible (PR #100).

  • Account for broken fibers and stuck positioners (PR #101).

0.6.0 (2017-11-09)

  • Guarantee that higher priority targets are placed first (PR #84).

  • Keep RA, Dec as double precision, not single precision (PR #88).

0.5.3 (2017-09-30)

  • bin/qa-fiberassign bug fixes.

0.5.2 (2017-09-30)

  • Fixed indexing bug for LOCATION output.

  • added WIP bin/qa-fiberassign.

  • Fixed missing collision checks (PR #81).

0.5.1 (2017-06-30)

  • Reference tag.