Release notes
What changed in each version. Each release's documentation stays available from the version picker at the top right.
Unreleased
Added
- Validation: other telescopes: 15 public sets of ZTF, Las Cumbres Observatory and DECam searched with the defaults, 100 synthetic asteroids added to each. Half are found frame by frame 0.62–0.94 mag brighter than the frames' limit, as on Pan-STARRS1. Catalogued asteroids are found as often as synthetic ones. The position uncertainties are right on synthetic asteroids on DECam and 1.5 times too small on ZTF and Las Cumbres; against JPL, right on DECam and Las Cumbres but not on ZTF. With the two new tests and whole Gaia answers (below), ZTF leaves 0.2 unidentified tracklets per set and Las Cumbres 0.8, within the 2 expected; one DECam set in the galactic bulge leaves 110 and finds 1 of its 100 synthetic asteroids, too crowded for a median template.
Changed
link_candidatesdrops the tracklets that share two points with a longer one by looking only at those that share a point, with the same tracklets kept. On 60,000 tracklets this takes 0.19 s, where the earlier check took 11.6 s on 6,000; on a crowded field it had taken hours.Candidate photometry takes out what lies still under a candidate (a star, a galaxy), measured where it was in the frames its tracklet has moved clear of. The aperture's noise is measured in empty places of the frame. On Pan-STARRS1, the magnitude errors over
mag_errwent from a deviation of 2.35 to 1.06 (Uncertainties).The limiting magnitude is measured on every frame. It was
NaNfor a set with no candidates.analyze_settakes out frame-by-frame points within their frame's FWHM of a Gaia star no more than 0.5 mag fainter than the point, and a tracklet left with fewer than 3 (star_test=true): what the subtraction left of a star. It takes out frame-by-frame tracklets fainter than the frames' limit, as it did on 3-frame sets (faint_test=true). Neither touches a tracklet found by stacking. On 11 Pan-STARRS1 sets with 100 synthetic asteroids each, 583 of 583 recovered, 24 of 24 catalogued identified, other tracklets 11 → 3 (Other telescopes).Gaia stars are matched to a frame's detections, for the astrometric fit, the header's offset and the zero point, among the detections near each star only, with the same result: the zero point of a ZTF frame with 213,605 Gaia stars went from 160 s to 2 s. A crowded field's whole catalogue had made it most of a set's time.
Fixed
inject_moversreads a frame whose image is in a later or tile-compressed extension, asanalyze_setdoes.injection_recoverymatches points by epoch, not by frame number. Frames whose names do not sort in time order were counted as not recovered.SkyBoT and JPL requests end at a deadline of their own and are retried. A TLS read could wait for hours despite HTTP.jl's idle timeout.
A copy of Gaia DR3 that refuses (401, 403, 429), or answers with an HTML page behind a success status, is passed over for the next copy. Such a page is no longer cached as a catalogue.
A Gaia DR3 answer cut at a service's row limit is completed: an answer of 1000 rows or more is counted and, if short, asked again in parts by magnitude. Three crowded fields had come back with 50,000 rows, part of the field without stars. Answers cached before may be cut; deleting
gaia_cache_dir()asks for them again.A frame's FWHM is measured with Gaussian-weighted second moments matched to each star. The fixed 7×7 px box held it to about 4.5 px, short on frames with a wider PSF; it sets the frame's limit, a position's uncertainty, the radius of the star test and the synthetic asteroids' width. Stars of 2, 4 and 8 px are now measured within 4%. The validations were run again: on Pan-STARRS1, half the synthetic asteroids, now as wide as the stars, are found to V 21.34 frame by frame and 21.56 with stacking, where they were 21.72 and 21.84 (How faint).
inject_moversdraws a synthetic asteroid as bright inside the zero point's aperture (aperture_radius, 5 px) as a star of its magnitude. It put the zero point's counts into the whole Gaussian, so that on frames with a wide PSF the asteroids came out fainter than drawn: by up to 0.26 mag on Pan-STARRS1 once the FWHM was measured right.
1.7.0 — 2026-11-21
Added
Uncertainties:
analyze_set'scandidatesgainpos_err(arcsec per axis: the centroid's Cramér–Rao bound with the scatter of the frame's Gaia stars about its astrometric fit) andmag_err(the aperture's noise with the zero point's), andades_psvwrites them asrmsRA,rmsDecandrmsMag, withmagandband. Validation: uncertainties: against JPL's ephemerides of 12 numbered asteroids on 11 Pan-STARRS1 sets, errors over uncertainties with deviation 1.19, 91% within 2, no offset.Raw frames:
plain_framereads a camera's file as one plain image (tile-compressed.fz, the first extension with an image, or amplifiers assembled byDATASECandDETSECwith their overscan subtracted and gain applied, binned and subarray readouts included), andimage_extensionslists a file's images.calibrate_framessubtracts master bias and dark and divides by a master flat, refusing calibration frames read out in another mode.analyze_setreads.fzfiles and takes anextensionkeyword. The observatory's site is also read fromLONGITUD,LATITUDEandHEIGHT. Validation: raw frames: on 13 Las Cumbres Observatory sets, the same astrometry, zero points and limiting magnitudes as the archive's own reduction.Offline: the answers of SkyBoT and JPL's Small-Body Identification service are kept on disk (
answers_dir) as Gaia DR3's were, andanalyze_set(...; offline=true)answers from them alone, asking no service: a set analyzed again gives the same result whether the services are down or have changed. A query never answered throwsOfflineAnswerMissing(Gaia DR3) or leaves a warning (known objects).Validation: sets kept aside: 12 Pan-STARRS1 sets of IASC's October 2026 campaign kept out of every measurement of a setting, the measurements to repeat on them declared beforehand. The first run failed through
inject_movers(below); run again, the dipole test kept 532 of 533 synthetic asteroids, and half were found at V 21.57 frame by frame against 21.72 on the 11 sets (not met) and at V 21.67 with stacking against 21.84 (met), on sets 0.1 mag shallower.95% intervals on the validation pages (summary): Wilson's for fractions, resampling whole sets for the magnitude at which half are found (
examples/validation_stats.jl).
Changed
refine_wcs_set: a frame whose header only holds the telescope's pointing (turned and scaled enough that one offset matches only the centre) is also solved from its stars withsolve_wcs; a frame started again from the best frame's solution is searched for an offset when its headers' pointing disagrees; and the joint fit needs 3 stars of each frame's own, where a frame without any was given the others' through the headers unchecked. Unchanged on the Pan-STARRS1 sets of the other validations.
Fixed
inject_moversfitted each frame's WCS on its own, whereanalyze_setfits the frames together: with a header a few arcseconds off, that fit matched few stars and landed about 1″ from the search's, or failed, and synthetic asteroids were placed up to 1″ from where the search measures them. It now fits them together. The validations that inject asteroids were run again with it: How faint, half found at V 21.72 frame by frame and 21.84 with stacking (21.67 and 21.79 before); Real or false, the dipole test leaves 12 of 80 other tracklets (19 of 89) and keeps 583 of 589 synthetic asteroids (511 of 516); Uncertainties, on synthetic asteroids the position errors are now smaller than the uncertainties and the 0.05″ offset is gone.
1.6.0 — 2026-11-16
Added
link_nights: links tracklets of different nights by orbit. Pairs whose motion agrees, with the diurnal parallax taken out, are fitted with a two-body orbit and grown while every observation fits, one point of a tracklet of 3 or more allowed to be left out (listed indropped); linkages of 3 nights or more by default. Validation: linking across nights, on real astrometry of 73 asteroids over 12 nights: every tracklet of the 47 objects seen on 3 nights or more linked, none wrong, also among 969 false tracklets.The MPC's Isolated Tracklet File:
download_itf,read_itfanditf_check, andanalyze_set'sitfkeyword, which marks the unidentified tracklets already reported to the MPC unlinked — by Pan-STARRS's own pipeline, for an IASC set, which IASC rejects as a duplicate. One of the two candidates of the October 2026 campaign was there, reported by Pan-STARRS in 3 of its 4 exposures, 0.1–0.2″ from our positions.analyze_set'sdigest2keyword: the unidentified tracklets scored with the MPC's digest2 (digest2_score), and a warning for those with a NEO score of 65 or more, the MPC's threshold for its NEO Confirmation Page.run_pipeline'smax_negativekeyword: a detection with a pixel that far below zero beside it in the difference image is dropped, the mark of a star subtracted badly;stack_searchtakes it too.pipeline_configsets it to 6σ, its detection threshold. Validation: real or false: on 11 campaign sets with 1,100 synthetic asteroids added, the tracklets that are neither synthetic nor catalogued went from 89 to 19, 70 of the 89 on the three crowded fields; 511 of the 516 synthetic asteroids found before were still found, and all 25 catalogued ones.
Changed
digest2_scoreruns digest2 as the MPC does: with each station's astrometric uncertainty fromMPC.config(for Pan-STARRS1, 0.13″ in digest2 1.0's, instead of 1″) and the same seed for every tracklet, so its scores can differ from before and no longer vary between runs.
Fixed
fit_orbitstopped with an error when one of its first orbits made the derivatives overflow; that first orbit is now passed over.The observer's positions from JPL Horizons were matched to the wrong epochs when asked out of time order: Horizons answers in time order.
fit_orbitsorts its observations first and was not affected;orbit_ephemerisat unsorted epochs was.analyze_setstopped with an error ("median of an empty array") on images whose pixels without data areNaN, as Pan-STARRS1's single-exposure warps have them:fill_value_masknow masks every pixel that is not finite, andrun_pipelinesets them to a constant.With SkyBoT unavailable, identifying a set's candidates could take hours: each waited its turn for JPL's Small-Body Identification service, which answered HTTP 504 after 6 minutes, three times over. Once JPL fails, it is not asked again for 10 minutes and the candidates waiting fail at once.
Known objects in older images: at some epochs (Pan-STARRS1's of 2009, in half the tries) SkyBoT fails the whole cone because it has no comets then, and the pipeline took SkyBoT for unavailable. The cone is now asked again without comets.
inject_moversstopped with an error when one frame had no photometric zero point, and with it a whole set's completeness test (two of 13 Pan-STARRS1 sets in How faint, on campaign sets). That frame is now copied unchanged, with a warning, and left out of the truth table.Documentation: the limitations and the completeness guide quoted an earlier version's completeness (44% at 100–400″/h, 16% at V 22–22.5); the measured values are 57% and 21%. The limitations add rotation periods from surveys, and the Pan-STARRS1 report says which astrometry its table of positions comes from.
1.5.1 — 2026-11-09
Added
- Validation: rotation periods of thirty asteroids, chosen from the LCDB by a rule fixed before measuring (10 near-Earth, 10 Jupiter trojans, 10 main belt): the period or its half within 1% for 13 of the 29 measured, against 3 of 29 with each object's magnitudes shuffled.
Fixed
- Every request to JPL Horizons for a list of times failed on 2026-11-09, and with it
analyze_set(the observer's position, to identify known asteroids),object_geometryandfit_orbit. A list that gets no table back is now asked one time at a time, and the observer's position is read from Horizons' vector tables in text form, which kept their numbers when the CSV ones lost them.
1.5.0 — 2026-11-08
Added
fit_orbitandorbit_ephemeris: a preliminary two-body orbit from astrometry over several nights (Gauss's method and systematic ranging, then least squares), with its uncertainty, and where it puts the object later. On 40 arcs of MPC astrometry of 15 known asteroids, a within a median 4.8% of JPL's from 3 nights and 0.03% from 30 days (Preliminary orbits).stack_searchfinds moving objects too faint for any one frame, by adding the frames along trial motions, with a threshold measured on the set's own noise;analyze_setadds what it finds (stacked). On four Pan-STARRS1 fields with injected asteroids: 82 recovered → 101, none false (Fainter objects by stacking).Validation: rotation periods of eight asteroids, chosen before looking at their ZTF data: two of the six measured within 1% of the published period, four on aliases of the nightly sampling or without a clear period.
Changed
analyze_set, when only 3 frames are searched, leaves out candidates fainter than the set'slimiting_magor with no magnitude, with a warning: nothing can confirm them, and on dense fields they ran to over a thousand, each asked of the catalogues.
Fixed
analyze_setmeasured candidates with no magnitude on sets whose header is further off than one frame's refinement searches (NaN, and no magnitude in the report): it now uses the frames' joint fit.limiting_magused a fixed 5-pixel aperture, too bright on telescopes with large pixels, wherebelow_limitcould reach real objects: it now uses an aperture of the frames' measured FWHM.
1.4.0 — 2026-11-01
Added
Validation: the light curve of an asteroid: (624) Hektor on public ZTF images, 6.92035 ± 0.00008 h for a published 6.920509 h.
analyze_setreturnslimiting_mag, from the frames' own noise and zero point, andbelow_limitthe candidates fainter than it, most likely noise. The terminal app marks them and lists them last; none is discarded.A DOI, through Zenodo: How to cite has it, and each release gets its own.
How to cite and
CITATION.cff: the H-G model, the Moffat profile and VSX.
1.3.1 — 2026-11-01
Added
CITATION.cffand How to cite: the reference for the software and for what it builds on.
1.3.0 — 2026-11-01
Added
fourier_period: an asteroid's rotation period from a Fourier series of its rotation phase, the way asteroid photometry measures it, with its error and amplitude. A period about as long as the light curve is warned of.gaia_reference_starskeeps every answer on disk (gaia_cache_dir), so a field analyzed or observed again needs no query, and falls back to a third copy of Gaia DR3, NOIRLab's Astro Data Lab in Tucson, when the ESA archive and VizieR (both in Europe) are down, as they were together for days in October 2026.moving_light_curve: the light curve of a moving asteroid, measured where it is in each frame (its motion fitted from a few positions), with frames where it crosses a star marked, and the zero points from the same comparison stars in every frame. A frame with no astrometric solution is left out with a warning instead of stopping the curve. Frames are measured on every thread Julia has (julia -t auto); the terminal app starts its engine on every core.reduced_magnitudesandobject_geometry: magnitudes corrected for distance, phase angle and light time with the geometry from JPL Horizons, so several nights make one light curve.solve_wcs: an astrometric solution for a frame whose header has none, from the telescope's pointing alone (frame_pointing) — pixel scale, orientation and a mirrored axis found against Gaia DR3, without a web service.run_pipelineandanalyze_setuse it for every frame without a WCS, before nova.astrometry.net; in a sparse field, a frame it can't solve starts from the solution of the frame nearest in time. Gaia is queried once per field: a header giving the pointing in two equinoxes, frame by frame, cost a query at every change (a 400-frame night took 10–15 min, now about 2). Withreference_stars, the stars are taken from them, without the network.analyze_setwarns when the frames span too little time for slow objects: below about 4 × seeing ÷ the span, an object is in the sequence's median and subtracts itself away.
Changed
crossmatch_catalog: while the CDS is down,:simbadasks SIMBAD's copy at Harvard and:vsxAAVSO's own VSX, with a warning. A service that failed is tried last for the next 15 minutes, as for Gaia.recover_rotation_period:periodis twice the periodogram's peak (nowpeak_period) where alternate cycles of the light curve differ, as an elongated asteroid's two maxima per rotation do: the peak is at half the period. Where the halves can't be told apart it is the peak, as before.Tests: Gaia, SIMBAD, VizieR, astrometry.net and the NEO Confirmation Page answer from recorded answers (
test/fixtures), and the suite runs without waiting on them;plate_solveandneocp_checkare tested end to end without an API key. The newest Julia in CI still queries them live (Development setup).Shorter warnings.
The Nix flake is no longer in the repository: the app and the library install the same way on every system (Installation).
pipeline_configtakesn_frames: a tracklet needs half of them, and at least 3.analyze_setpasses the set's; a 4-frame set is unchanged.
Fixed
analyze_setwarns when frames are left out as bad, and of the many false candidates to expect when only 3 remain.The terminal app, after a full review:
A candidate kept a designation by its tracklet's number, which another analysis of the set can change: two objects could share a designation. Designations and a person's decisions now follow the object's positions, numbers are never reused, and analyzing a set again asks first.
Images that don't name their telescope shared one profile, so another observatory's were reported under its code. They now ask every time.
A profile edited after the analysis reaches the report.
An analysis that failed on a set analyzed before showed the old results without a word.
A frame all of one value stopped
analyze_set: it is now left out as a bad frame. A set with a frame mostly of one value, or with an orbit without H in its field, failed at the very end of its analysis.A .zip is no longer unpacked beside itself, which also failed in a read-only folder, and a set's copies of its frames are removed once analyzed.
The report check read UTF-8 as Latin-1, damaging accents in its corrected report.
Saving a report no longer replaces a different one beside it.
A damaged labels file, missing saved images, a wrong Julia path, an apostrophe in the install's path and brackets in a path no longer close the app or stop its set-up;
wl-copyfailing falls back on the next clipboard tool;.ZIPin capitals is found.
MPC reports: accented letters in the header are written in TeX notation (
Olgu\\'{i}n), as the MPC asks of names, andcheck_mpc_reportwarns of them and corrects them.extract_setandanalyze_settook the hidden files macOS writes beside each file it zips (._frame.fits) for frames, and a set zipped on a Mac couldn't be analyzed.neocp_checkskipped objects whose temporary designation has fewer than 7 characters, which the NEO Confirmation Page lists too: a candidate matching one was not recognised.While a copy of Gaia was down, every query waited out its timeouts before trying the next one: minutes for every frame of a sequence observed over many fields. A service that failed is tried last for the next 15 minutes.
The terminal app treated a damaged labels or designations file as empty, and overwrote it at the next save: every label, or the designations already reported, lost. It now says the file is damaged and saves nothing; the designations file is written whole or not at all.
The terminal app gave two sets of the same name (two
set.zip, in different folders) one saved analysis, one set of labels and the same temporary designations: one of them was listed, and could be shown the other's candidates. Each now has its own.Known objects from the MPC's orbit file were lost on a set of more than about 50 frames: the observatory's positions were asked of JPL Horizons in one request, which it refuses (HTTP 502) past that, and the failure became a warning. They are asked 50 at a time.
Two archives holding a folder of the same name (
images/), unpacked in the same place, gave the second set the first one's frames:extract_setreused the folder. A folder holding other frames is left alone, and the set goes by the archive's name. Cleaned copies are kept by the set's frames as well as its name.One frame under cloud, in which no comparison star reached signal-to-noise 30, made
moving_light_curvegive up the comparison stars for the whole night, doubling its scatter; that frame alone now gets its own zero point.gaia_reference_starsgave aNaNposition to a star whose proper motion a service writes asNaNinstead of leaving it empty.Long sequences at short cadence, checked on 40 frames 30 s apart, which gave the asteroid in overlapping tracklets of at most 26 of its 40 frames, and false ones of 3–4 frames: the hot-pixel filter took a slow mover, within 2 px of itself in the frames next to it, for a hot pixel (a hot pixel's recurrences now have to cover half the sequence's span), and a tracklet sharing two or more detections with a longer one is dropped as the same object. It is now one tracklet of 40 frames, and nothing else.
load_wcstook the pixel coordinates IRAF writes into frames it processed (WCSDIM,LTM1_1…) for an astrometric solution, with no RA or Dec; it now requires a celestial one.refine_wcsno longer accepts a solution made of random matches on a damaged frame (smeared, or full of detector defects): thousands of spurious detections made a false offset win the vote, and the frame was reported refined with hundreds of matches. Such a frame now keeps its header WCS (min_significance). Found on 6 smeared ZTF frames of Hektor, where the magnitudes were wrong; the two damaged Pan-STARRS1 sets (XY14_p10,XY73_p00) were affected the same way. Every other frame checked, crowded Galactic-plane fields included, is refined as before.
1.2.0 — 2026-10-25
Added
- While SkyBoT is unavailable, known objects come from JPL's Small-Body Identification service: one query per field (a minute or two), its objects moved along their rates to each frame. Identification, the nearby-object check and the objects expected in the field keep working through a SkyBoT outage, with one short warning instead of one per search.
1.1.0 — 2026-10-25
Added
analyze_settakesreference_stars: a catalogue of one's own in place of the Gaia DR3 query, or work without the network.
Changed
Tests:
analyze_setrun end to end on a synthetic set, and digest2 built in CI sodigest2_scoreis tested there.Tests: the package is checked with Aqua.jl (method ambiguities, stale dependencies, compat bounds, type piracy).
Docstrings and comments say what the code does and why, without the history of how each value was found; that lives in the validation pages.
Fixed
SkyBoT moved to
ssp.imcce.fr; its old address answers 403, so known objects were identified from the MPC's orbit file alone. The new service is used, with the observatory passed as-observer(it ignores-locand computes geocentric positions) and an empty field (HTTP 204) read as no objects.julian_date_to_iso8601gave day 32 when rounding to the millisecond reached midnight on a month's last day; it now moves to the next month. The MPC date field gave.000001instead of.000000in the same case.The terminal UI kept the engine's log file open after starting it.
1.0.0 — 2026-10-23
The first stable release: from here on, a change that breaks the API raises the major version. The images of any telescope are handled without settings beyond the observatory code — checked on Pan-STARRS1's and ZTF's.
Fixed
Images whose header astrometry is far off, or whose frames hold few matching Gaia stars, gave dozens of false candidates — every star seemed to move ~3″/h — and could report a known asteroid as new, 32″ from where it was. The frames' astrometry is now fitted together (
refine_wcs_set, used byrun_pipelineandanalyze_set): a wider search when a header is far off, stars matched again from each fit, and one solution per frame from the stars of all of them. On eight 2026-10-12/14 Pan-STARRS1 sets, 60 false candidates fell to none; on 20 sets, catalogued asteroids identified rose from 24 to 28 (Validation).Images from telescopes other than Pan-STARRS1, checked on ZTF's: the observation time is read from any of the usual header keywords (
DATE-OBS,MJD-OBS,OBSMJD,JD…;frame_epoch) —analyze_setfailed on ZTF images, which have noDATE-OBS; the astrometric searches are in arcseconds, for any pixel scale; and the MPC's orbit file is used only for images within a year of its orbits' epoch — propagated to 2019 images it put a known asteroid 155″ off, so older images use SkyBoT alone.Known asteroids could go unidentified, and pass for new ones: SkyBoT, asked for a 5″ cone, returned nothing for an asteroid 0.94″ from its centre in two of four frames. It is now always asked for at least 2′, and the distance is applied here.
A SkyBoT outage stopped
analyze_setwith an error, instead of a warning: the failed request came wrapped in the error of the parallel task that made it. Known objects then come from the MPC's orbit file alone.A tracklet with one point too faint or too bright for the brightness test is kept without that point, if the rest passes every test: a faint known asteroid (2019 UA185, V ≈ 21) was being dropped for one frame at signal-to-noise ~5.
Added
refine_wcsreturns the matched stars (matches).Test coverage is measured in CI and published on Codecov.
Changed
The package is in Julia's General registry (0.2.2, since 2026-10-22):
Pkg.add("AsteroidPipeline").Releases: a version is registered in Julia's General registry before its tag is created (Releasing a version).
0.2.2 — 2026-10-18
Fixed
- The package can be installed on Julia 1.11, the oldest it supports: the compat bound of
p7zip_jll(which ships with Julia, at a fixed version per release) allowed only Julia 1.13's. The terminal app's analysis engine could not be set up on Julia 1.11 either.
Changed
- Tests run on Julia 1.11 and on the newest release.
0.2.1 — 2026-10-18
Added
Your own temporary designations in reports — a team's numbering,
NHU0002— withdesignationsinmpc_report,mpc80_reportandades_psv.neocp_check: candidates compared with the objects awaiting confirmation on the MPC's NEO Confirmation Page;analyze_setruns it for images up to 30 days old.The documentation is published per version:
stable, each release,dev.Releases are published to PyPI (
pipx install asteroidpipeline).
Fixed
- A bright asteroid could be dropped by the straight-line test when a field's astrometry is imprecise (few Gaia stars): the test now allows three times the frames' astrometric residual, at most 2 px. On ten real Pan-STARRS1 sets, two more catalogued asteroids are found (Validation).
0.2.0 — 2026-10-18
The first release.
analyze_set: an image set — a.zip, a folder or FITS files — to an MPC report: astrometry refitted to Gaia DR3, damaged frames left out, the search, known objects identified against SkyBoT and the MPC's own orbit file (download_mpcorb), every known object in the field listed, and the report written.nearby_known_objects: each candidate compared with every known object within 10′, for one moving the same way (a known object with an imprecise orbit).check_mpc_report: a report checked before it is submitted.frame_site,observatory_candidates: the observatory's MPC code from the frames' FITS headers.Filters for hot pixels and bright-star light;
set_qualityfor damaged image sets.A terminal app,
asteroidpipeline, built on the library (see the repository's README).The documentation rewritten: tutorial, guides, explanation, validation reports.