New functions and changes log - EranOfek/AstroPack GitHub Wiki

List of new functions and changes

For changes made between May 2021 to Sep 2023 see this link

Important: When editing this page please follow the format used without changes

Oct 2026

Dana Kovaleva (2026 Oct 26)

  • ultrasat.dut.config - The configuration of a DUT simulation set (transient detection after the All-Sky Survey).
  • ultrasat.simconfig.toArgs - The key,val cell of one stage of a simulation configuration, for the function of that stage, with further key,val appended (the last value wins).
  • ultrasat.simconfig.compare - The field paths in which two simulation configurations differ (recursive; the run record is ignored).
  • ultrasat.simconfig.write - Save a simulation configuration as .mat and .json with a run record (time, host, MATLAB release, git commit and status, and the default expressions of the functions it does not fully set).
  • ultrasat.simconfig.read - Read a configuration saved by ultrasat.simconfig.write.
  • ultrasat.simconfig.funDefaults - The default expressions of the name-value arguments of a function, read from its arguments block (metafunction, MATLAB R2024a or later).

Sasha Krassilchtchikov (2026 Oct 26)

  • pipeline.last.insertDB.insertArchiveImageHeaders2DB, pipeline.last.insertDB.insertArchiveSourceCatalogs2DB - Log through MsgLogger to the screen and to one file per night, ~/matlab/log/last/insertDB///insertDB_tables.log: run start, each visit (rows and stage times), skipped visits with the reason, errors that stop the run, .status stamps and the totals; new argument 'Logger'; the *_no_status_dir.txt files are no longer written (see LAST DB image and source tables ingestion)

  • pipeline.last.insertDB.ingestLogger, pipeline.last.insertDB.ingestLog - New: create the logger of the two ingestion functions, and write one line to it (works around the MsgLogger problems of issue #1456)

Dana Kovaleva (2026 Oct 25)

  • ultrasat.detectorModel - Synthetic fixed pixel maps of one ULTRASAT tile, repeatable with Seed.
  • ultrasat.simulateCalibFrames - Simulate ULTRASAT dark or flat calibration frames with the detector maps of ultrasat.detectorModel (no sources).
  • ultrasat.simulateCatalogField - Simulate an ULTRASAT tile image of a sky field from a source catalog.
  • ultrasat.usim - New 'SaveSrcImage' and 'AddSrcImage': save the noiseless source image of a run with its geometry, and add a saved one to the sources of a later run.
  • imUtil.image.sparse2full, imUtil.background.backVar, imProc.background.backVar, pipeline.last.pipes.pipelineI - New 'ExtrapMethod' option: 'linear' extrapolates the background map with the gradient of the last two block centers out to the image edges ('nearest', the default, kept it flat there, up to ~1 ADU off on a sloping sky); with 'linear' the variance is floored at the lowest block variance. pipelineI uses 'linear' for the epochs and the coadds.

Dana Kovaleva (2026 Oct 24)

  • ultrasat.simulateRefSet - Simulate a set of ULTRASAT reference images.
  • ultrasat.simulateNewSet - Simulate a set of ULTRASAT "new" images.

Sasha Krassilchtchikov (2026 Oct 24)

  • ultrasat.usim - New arguments 'ExtLaw' ('CCM89', default, or 'F99') and 'Rv' (default 3.08): the extinction law and R_V used to redden the point and the extended sources, written to the header as EXTLAW and EXTRV; with the defaults the output is unchanged; F99 is coded for R_V = 3.1 only, so 'F99' needs 'Rv',3.1 (issue #1449)

  • ultrasat.simulateGaiaField - 'ExtLaw' and 'Rv' are passed to ultrasat.usim, so any law usim supports can be used (before, anything but CCM89 with R_V = 3.08 stopped with an error) (issue #1449)

Sasha Krassilchtchikov (2026 Oct 23)

  • ultrasat.usim - New argument 'ADUOutput' for the ADU image(s) of a single-exposure run: 'threshold' (default, unchanged: one 14-bit _ADU.fits with the gain flag in the top bit), 'raw' (_ADU_HI.fits and _ADU_LO.fits, every pixel read with each gain) or 'production' (a 13-bit _ADU.fits without the gain bit and an 8-bit _GAIN.fits map of the gain used, 1 = low gain) (discussion #1384)

Sasha Krassilchtchikov (2026 Oct 22)

  • ultrasat.usim - New argument 'Vignetting', default 'ELOP': the 2-D map of the obscured part of the aperture (ELOP, 2022) replaces the radial obscuration for the sources (a 0-4% change) and scales the zodiacal, Cherenkov and stray light by the map over its tile mean (10-14% less light at the far corner); needs ObscurationMapELOP.mat in the ULTRASAT data folder, otherwise usim stops with an error; 'none' turns it off (discussion #1384)

  • ultrasat.lowCountNonLin - No longer a placeholder: Q_out = Q*exp(-D/Q), with one parameter, the charge deficit D [e-/pix/frame] (default 15), fitted to the lab photon-transfer curves; usim keeps 'LowCountNonLin' = 'none' by default (discussion #1384)

  • ultrasat.usim - A source with a non-finite flux is dropped with a warning; a Phoenix star in the empty part of the model grid gets the highest log(g) with models at its Teff, and a star outside the grid the nearest edge

  • astro.stars.tlogg2picklesClass - The luminosity class is set by log(g) (V >= 3.9 > IV >= 3.5 > III >= 1.5 > II >= 1.0 > I) and the nearest-Teff template of that class is used, with all the I-V templates of the library; new output field .Fallback; giants with log(g) <= 3 were refused before; about half of the stars get a different template

  • ultrasat.weightedPSF - The Pickles log(g) grid has one value per luminosity class

  • ultrasat.simulateN3, ultrasat.simulateOmegaCen, ultrasat.simulateKeplerField - Read the catalog by its full path instead of changing the working folder; simulateN3 no longer raises log(g) to 3

  • imProc.background.backVar - 'AddHeaderInfo' = false is honoured (the background keywords were always written); imProc.sources.multiIterExtractor 'UpdateHeaderDataBkgVar' now defaults to true, so the headers written by default are unchanged (issue #1441)

  • catsHTM.catalogs_html - Corrected references and descriptions of several catalogs; exact source counts (the totals above 2^24 were rounded)

Sasha Krassilchtchikov (2026 Oct 21)

  • pipeline.last.insertDB.insertArchiveSourceCatalogs2DB - Insert the source catalogs of archived visits into the src_visit (coadd) and src_proc (epoch) tables, with the columns of discussion #1411 and the computed columns (IDs, row number, jd, bjd and baryvel per source, ingestion time, poisson_bias_mag); per-stage times in the output, 'StampStatus', 'DryRun' (discussion #1411)

  • pipeline.last.insertDB.discussion2sql - New argument 'TableTag': builds one table of a discussion that proposes two tables in one column list (#1411 src_visit/src_proc), with catalog columns, the "Columns added at ingestion" table and PARTITION BY (discussion #1411)

  • pipeline.last.insertDB.insertArchiveImageHeaders2DB - New field 'Time' of the output (seconds of each stage per visit) and new argument 'StampStatus' (default true; false inserts without stamping .status); a text column empty in every row of a visit is left to the DB default instead of stopping the insert

  • ultrasat.lowCountNonLin - Placeholder for the low-count detector non-linearity (charge trapping), to be passed to ultrasat.usim as 'LowCountNonLin'; returns the charge unchanged until the model is chosen

  • ultrasat.usim - Background as rates 'Zodi' (or 'model'), 'Cherenkov', 'Stray', 'DarkCurrent'; read-out noise ('ReadNoise') and cross-talk ('CrossTalk') are noise terms, no longer background components; new arguments 'JitterPar', 'LowCountNonLin', 'LowCountNonLinPar', 'DateObs', 'Seed' and 'Verbosity' (default 0: silent); per-source PSF rotation (issue #1424); faster spectra, synthetic photometry and PSF weighting; the source PSFs as one multi-dimensional AstroPSF in the image orientation; 'NoiseReadout', 'PostModelingFindSources' and the 'FFTshift' injection removed

  • imUtil.psf.specWeight - New argument 'Method': 'interpn' (default) or 'slices' (the same interpolation in radius as a weighted sum of two radius slices: same result, much faster, less memory); errors instead of returning without a result

  • ultrasat.jitter - The blur widths, given for a 300 s exposure, scale as sqrt(Exposure/300) (were linear in the exposure); different numbers of sources and PSFs raise an error

  • ultrasat.measureLabPSF - Detects the source with Gaussian templates of 0.1-1.5 pix (new argument 'PsfFunPar'), suited to the undersampled ULTRASAT PSF, and measures the brightest one; the S/N is computed in an aperture of radius R50, S/sqrt(S + pi R50^2 B); new output fields .X, .Y, .FWHM, .X2, .Y2, .XY

Sasha Krassilchtchikov (2026 Oct 20)

  • imProc.quality.noiseExcess - Default 'MaxRatio' 4 -> 2.3: raw images with more than 2.3 times the expected pixel noise are rejected (issue #1400)

  • imUtil.psf.fwhm_fromMoments - New argument 'Method': 'moment2' (default, as before) or 'moments' (imUtil.sources.moments), with 'MaxRadiusM2', 'StampHalfSize' and 'Annulus' (issue #1083)

  • pipeline.last.pipes.pipelineI - The check of the background differences between the sub images of an epoch (MaxFracGrad) uses the median of the background map instead of the image mean, so one very bright star no longer rejects the epoch (issue #1437)

  • imProc.sources.multiIterExtractor - 'ReCalcBackIter' lists the iterations k after which the sky of the working copy is re-estimated (issue #1095)

  • imProc.astrometry.astrometryCore - For an AstroCatalog input: the header is not updated (issue #1440), and the reference catalog is queried within at least the bounding radius of the input catalog (issue #1300)

Dana Kovaleva (2026 Oct 19)

  • Installer.installCatsHTM - Download catsHTM catalogs (HDF5/HTM) from the catsHTM server, each into its own sub-directory of OutDir as on the server; MD5-checked and resumable (issue #1425).
  • Installer.catsHTMList - List the catsHTM catalogs that Installer.installCatsHTM can download.
  • PhotCalibTrans.initNormFromData - Data-driven start for Norm: predicted counts scale linearly with Norm, so one model evaluation gives Norm0 * median(F_obs/F_pred) over the calibrators (issue #1431).
  • PhotCalibTrans.normFromModel - The fitted Norm (effective collecting area, m^2) of a transmission model, found by the handle of its Normalization function; NaN when there is none.
  • PhotCalibTrans.convertLegacyNorm - Convert a Norm restored from a header or report written before issue #1431 (dimensionless, relative to LAST's collecting area) to the effective area in m^2.
  • PhotCalibTrans, imProc.calib.fitPhotCalibTrans - No geometric collecting area (issue #1431): the fit constrains Aperture x Norm, so Norm is now the effective collecting area [m^2]. The 'Aperture' and 'FluxErrorNorm' arguments are obsolete (accepted and ignored with a log warning). The calibrator spectral error is the relative error of the synthetic flux, propagated from the Gaia XP spectrum through the band of the run. New header keywords: PT_NORMU = 'm2' (headers without it are older, and their Norm is converted on reading; report rows carry NormUnit) and PT_FNORM = Norm / CollectingArea, a dimensionless throughput ('CollectingArea' argument of fitPhotCalibTrans / photCalibTransToHeader, default PhotCalibTrans.CollectingAreaLAST = pi*0.1397^2 m^2; always written, blank when Norm is undefined).

Sasha Krassilchtchikov (2026 Oct 19)

  • io.files.saveMat - Save the fields of a struct as variables of a MAT file and check with whos('-file') that every variable was written; a variable too large for '-v7' is saved again as '-v7.3' (issue #1417)

  • pipeline.last.load.loadEpochCatMat - Load the epoch catalogs (AstroCatalog) and headers (AstroHeader) of a visit, Nepoch x Ncrop, from its proc_Cat/proc_Head MAT files (issue #1417)

  • pipeline.last.disp.ds9_crops - Display all crops of an image in one ds9 frame, as a WCS mosaic ('mosaic') or stitched by imProc.stack.stitchCrops ('stitch'), and mark the catalog sources by X/Y and by RA/Dec (issue #958)

  • pipeline.last.pipes.PipelineDemon - New arguments 'SaveEpochCatFormat' (default "mat"), 'SaveEpochCatMethod' ("saveAsync"), 'SaveEpochCatType' ("object") and 'SaveAsyncTimeout' (600 s): the epoch catalogs and headers of a visit are written as two MAT files (proc_Cat, proc_Head) instead of 480 proc_Cat FITS files; "fits" gives the old output (issue #1417)

  • imProc.io.saveProductMat - New arguments 'MatVersion' (default '-v7.3') and 'Method' ('save' | 'saveAsync'), and a third output, the Future of a background save (issue #1417)

  • io.files.saveAsync - The '-struct' form works; uses backgroundPool if available, else the running process pool, else a plain save (issue #1417)

  • AstroFileName - "Head" added to the list of products (issue #1417)

  • pipeline.last.insertDB.insertArchiveCatalogs2DB - Reads the epoch catalogs from the proc_Cat MAT file when a visit has one; new argument 'DryRun' (default false); when it searches for visits itself it now takes the HHMMSSv1 directories (it took only v0 ones) (issue #1417)

  • pipeline.last.insertDB.insertArchiveImageHeaders2DB - The image_proc headers are read from the proc_Head MAT file when a visit has one (new argument 'ProcHeadMat') (issue #1417)

  • pipeline.last.queryDB.loadProducts, loadTable, pipeline.last.load.loadVisitCatHdr, findVisits - Read (find) the epoch catalogs and headers from the MAT files when a visit has them. loadTable works again (several typos fixed), and coadd.zogyD loads the image of the row's crop (issue #1417)

  • imProc.stack.coadd_WRobust - New argument 'EqualizeBack' (default false; with SubBack=false only): all images are brought to the same (median) sky level before the rejection, so a sky change during a visit no longer leaves low pixels in the coadd. Forwarded by pipeline.generic.procCoadd; on in pipelineI (issue #1355)

  • imUtil.psf.buildPSF - PSF stars whose stamp sums to <= 0 are dropped before normalizing (they entered the stack upside down); their number is returned in Result.NnonPosNorm (issue #1355)

  • imProc.stack.coaddHeader - New keyword MAXBCKD: the max - min of the MEDBCK of the coadded images (issue #1355)

  • pipeline.generic.procCoadd - 'CorrectVarByNcoadd' is now on by default and multiplies the coadd variance by median(CoaddN)./CoaddN (was (mean(CoaddN)./CoaddN).^2, off); 'wrobust' only (issue #1166)

  • pipeline.last.pipes.pipelineI - The known-asteroid matching runs after the photometric calibration, so the Asteroids.Known magnitudes are calibrated; DistMP becomes the last column of the coadd catalog (issue #1423)

  • imProc.io.saveProductStreak - Each AllStreaks entry also has ORIGSEC, LIGHTSEC and CROPID of its crop, so the full-frame row is Y + ORIGSEC(3) - 1 (issue #1415)

  • imProc.stack.stitchCrops - The astrometric fit of a stitched image is judged crop by crop; L-shaped sets of crops were falsely rejected (issue #1432)

  • imProc.astrometry.astrometryRefine - For AstroCatalog input, RA/Dec given as header keyword names are ignored and the catalog bounding circle is used (issue #1055)

  • celestial.coo.boundingCircle - Returns the longitude in [0, 2*pi); the default mex path returned (-pi, pi] (issue #1428)

  • imUtil.streaks.mex.sliceGaussianProfile_mex, imUtil.streaks.streak_photometry - The slice range of the streak ends is clamped to the streak; ends outside it read past the arrays (mex) or failed (issue #1389)

  • AstroSpec - The FluxUnits setter converts FluxErr, Back and Cont from their own values; it copied the converted Flux into them (issue #1186)

  • imUtil.psf.buildPSF, imUtil.sources.moments - A PSF can be built from a cube of cutouts given without X/Y or S/N; the S/N of each stamp is then estimated from the flux within 'RadiusPSF' and the annulus noise (issue #1435)

  • imProc.astrometry.astrometryCore - New argument 'MaxAstSources' (default 3000): at most this many of the brightest sources go into the pattern matching (issue #1400)

Sasha Krassilchtchikov (2026 Oct 18)

  • pipeline.last.insertDB.discussion2sql - Build the ClickHouse CREATE TABLE script from a table-design discussion (e.g. #1409 image_visit, #1413 image_proc)

  • pipeline.last.insertDB.insertArchiveImageHeaders2DB - Insert the headers of the archived coadd and epoch images into the image_visit and image_proc tables, visit by visit, and stamp the visit .status file

  • pipeline.last.pipes.pipelineII - New argument 'OrbEl' (default [] = load as before); PipelineDemon passes the orbital elements it loaded at start, saving ~0.4 GB and 1-3 s per visit (issue #1392)

  • FITS.read1, FITS.writeTable1 - The file is closed when an error occurs (issue #1392)

  • io.fits.writeThreadMexFITS, io.fits.DataKeeper - The threaded FITS writer keeps the image until the write has finished (it was freed after 30 s) and reports failed writes with the file name (issue #1391)

  • pipeline.last.pipes.pipelineI - LEVEL = proc is set in the epoch images before ID_PROC is made; LEVEL and the level field of ID_PROC, ID_PROCF, ID_PROCL said raw (issue #1412)

  • imProc.streaks.addSkyCoo - Streaks.IsEdge is set from the first/last accepted slice of Streaks.Curve instead of the line-segment ends; 'EdgeDist' default 10 -> 20 (issue #1416)

  • catsHTM.cone_search - Selects columns only when 'Columns' is given; the PGC galaxy matching of pipelineII failed on every visit (issue #1422)

Dana Kovaleva (2026 Oct 18)

  • astro.stars.gaia2picklesClass - Pickles template per star from Gaia BP-RP, G and parallax, with the luminosity class taken from the star's position in the Gaia CMD.
  • astro.stars.buildLumClassBoundaries - Luminosity-class boundaries in the Gaia CMD from PARSEC isochrones, for gaia2picklesClass (the V/III line runs midway across the dwarf-giant gap at red colors).
  • ultrasat.simulateGaiaField - Simulate an ULTRASAT tile image of a sky field from Gaia DR3 stars, with Pickles templates chosen from the Gaia CMD.

Sasha Krassilchtchikov (2026 Oct 17)

  • celestial.Kepler.xyz2elements, celestial.OrbitalEl.nu2posOrbitalFrame - Correct for hyperbolic and parabolic orbits (gave complex values); elliptic orbits unchanged (issue #1410)

  • pipeline.last.pipes.PipelineDemon - New argument 'MaxOrbEccen' (default 1): orbits with this or a larger eccentricity are dropped from the known-asteroid matching (issue #1410)

  • pipeline.last.pipes.pipelineI - The known-asteroid matching runs per sub image; a failure leaves that sub image unmatched and is logged instead of failing the visit (issue #1410)

  • imProc.sources.forcedPhot, forcedPhotNew, pipeline.last.phot.forcedPhot - 'UseSourceNoise' default 'off' -> 'last', so FLUXERR_PSF includes the source Poisson noise; new 'Gain'/'KeyGain' arguments (issue #1408)

  • imProc.quality.noiseExcess - The noise ratio is the worst of a grid of boxes, new argument 'Nbox' (default [4 6]); [1 1] gives the old centre box. Used by pipeline.generic.prePrep (LAST_issues #242)

Dana Kovaleva (2026 Oct 17)

  • astro.stars.bprp2teff - Effective temperature and log(g) from Gaia BP-RP, G and parallax, uniformly for all stars.
  • catsHTM.cone_search - Each loaded HTM cell is trimmed to the cone before concatenation ('Method','percell', default; 'joined' keeps the original path): about half the peak memory and a third less time for wide cones, identical output. New optional 'Columns' returns only the requested columns, in the requested order (issue #1403).

Sasha Krassilchtchikov (2026 Oct 15)

  • pipeline.last.pipes.PipelineDemon - New argument 'PipelineIIMaxAgeDays' (default Inf): visits older than this get pipelineI only. startBatchLASTPipeline sets it to 2 days for v1 production

Dana Kovaleva (2026 Oct 15)

  • VO.ZTF.read_ZTF_cat - Read a ZTF per-epoch catalog (SExtractor sexcat and/or PSF psfcat) into a LAST-like AstroCatalog/AstroImage (issue #1393).
  • VO.ZTF.read_ZTF_inventory - Read an IRSA ZTF inventory CSV and key it by product file name.
  • VO.ZTF.ztf_prop2filename - Construct a ZTF per-epoch product file name from its properties (the inverse of VO.ZTF.ztf_filename2prop).
  • VO.ZTF.flags2LastMask - Translate SExtractor FLAGS into a LAST bit mask.
  • VO.ZTF.pixScale - ZTF plate scale and readout-quadrant size.
  • pipeline.last.quality.fieldCalibrators - Expected number of photometric calibrators per crop for every LAST field (measured crop area and calibrator survival fraction).

Sasha Krassilchtchikov (2026 Oct 14)

  • celestial.time.barycentricJD - Correct results for vector input (every correction was divided by ~sqrt(N)); JD, RA, Dec are scalars or vectors of the same length (issue #1395)

  • imProc.stack.stitchCrops - New arguments 'RecoverKeysFromProjName' and 'KeyProjName': NODENUMB, MOUNTNUM, CAMNUM missing in old coadds are taken from PROJNAME (issue #1375)

  • pipeline.last.reference.buildRefImages - Finds coadds named with a time other than in the DB (issue #1375)

Dana Kovaleva (2026 Oct 14)

  • astro.transmission.filterTransmission - Tabulated transmission of a named mission/survey band, interpolated onto the requested wavelength grid and zero outside the band; CompositeFun-compatible. 'Source' selects the filter store (AstroTransmission, default, or AstFilter) (issue #1393).
  • PhotCalibTrans.missionDefaults - Per-mission calibration conventions (reference spectrum, calibrator magnitude window) in one table: the settings that belong to the instrument rather than to the transmission model.
  • imProc.calib.fitPhotCalibTrans, PhotCalibTrans.calibrate - New 'Mission'/'Band' arguments calibrate a non-LAST band with its tabulated filter curve (MissionFunList and the Mission_* optimization sequences), and 'FilterSource' picks the filter store; LAST (the default) is unchanged. Every mission uses the same calibrator window G = [12 16], set by the calibrator catalog (issue #1393).

Sasha Krassilchtchikov (2026 Oct 13)

  • imUtil.image.histAnomaly - New argument 'MaxSky' (default 3000 ADU): above this sky level the check is not done and the image is reported good, since on a bright (moonlit) sky the sky gradient splits the sky peak and gives false alarms. MaxSky=Inf restores the old behaviour (issue #1179)

  • imProc.db.insertCatalog - With the 'native' connector: an empty 'Schema' is no longer passed to the connector (every native insert failed), and the numeric columns are cast to the type of their table column (Int16, Float32, ...), using the table schema fetched once per call (issue #1396)

  • db.mex.ClickHouseClient.insert - With a known table schema, NaN in a non-Nullable Float32/Float64 column is stored as NaN; before, any NaN made the column Nullable and the insert was refused (issue #1396)

  • startBatchLASTPipeline - v1 production now sets 'InjectTCL2' to true (transient candidates are written to the database) and, since Oct 7, 'TransferTransients' to true; both only for visits younger than the demon's TransferMaxAgeDays (2 days) (issue #1396)

Eran Ofek (2026 Oct 11)

  • new package: +ts - ts (time series that will replace +timeSeries) - currently both exist.
  • ts.timedelay.lightCurveFitTimeDelay - Fit time delay to a light curve with red power spectrum (Springer & Ofek).
  • ts.timedelay.unitTest_lightCurveFitTimeDelay - unitTest for lightCurveFitTimeDelay.
  • imUtil.image.rollingShutterTime - Correct image time for rooling shutter effects.
  • imUtil.streaks.mex.radonCenter - Sum image values along lines passing through the stamp center (Radon).
  • imUtil.streaks.AstroStreak.convert2json - Convert AstroStreak object(s) to a JSON string.
  • ts.fitps.lightCurveFitPowerLawPowerSpec - lightCurveFitPowerLawPowerSpec - Fit a power-law PSD using a time-domain likelihood.
  • ts.fitps.unitTest_lightCurveFitPowerLawPowerSpec - unitTest for lightCurveFitPowerLawPowerSpec
  • ts.fitps.lightCurveFitKalmanDRWPowerSpec - lightCurveFitKalmanDRWPowerSpec - Damped-random-walk (DRW) fit via an O(N) Kalman filter.
  • ts.fitps.unitTest_lightCurveFitKalmanDRWPowerSpec - unitTest for lightCurveFitKalmanDRWPowerSpec.

Sasha Krassilchtchikov (2026 Oct 11)

  • io.fits.mex.read_image, read_header, read_catalog - The FITS file is closed before any error is raised (failing reads left the file open) (issue #1388)

  • io.fits.mex.mex_fits_write_image_thread - Frees its buffers when the file cannot be opened or the image type is not supported, and reports the failure on stderr (issue #1388)

  • imUtil.streaks.mex.sliceGaussianProfile_mex - Memory leak of the per-slice arrays fixed (issue #1388)

  • pipeline.last.pipes.pipelineI - The full-frame images are freed after the cut into sub-images, lowering the peak memory by about 9 GB (issue #1367)

Dana Kovaleva (2026 Oct 9)

  • PhotCalibTrans.fitNormOnly - Re-fit the zero point alone after a clipping step dropped the calibrator pool below MinCalibrators: the 8-parameter transmission model is then unsupported (Reduced calibration mode, issue #1381).

Sasha Krassilchtchikov (2026 Oct 7)

  • imProc.match.match2Stars - No longer fails when a sub-catalog has no star near a candidate, or a single pair fails the distance threshold; the no-match result is returned instead (issue #1257)

  • pipeline.last.pipes.pipelineI - With UseParfor, maskHoles, fwhm and fitPhotCalibTrans now run on the parallel workers (pipelineI ~325 -> ~300 s per visit); products unchanged (issue #1256)

Dana Kovaleva (2026 Oct 7)

  • pipeline.last.quality.harvestNight - Collect per-crop quality metrics from all visit-coadd headers of one observing night, walking every camera directory under a LAST data root.
  • pipeline.last.quality.nightReport - One-night quality report as self-contained HTML from the harvestNight table: session summary, median +/- 5-95% metric table, per-camera breakdown, anomaly census, and distribution / run-of-the-night figures.
  • pipeline.last.quality.specDensityMap - Spectral-calibrator surface density over the LAST field grid.
  • PhotCalibTrans.blankCalibKeys - Assign every calibration keyword blank in advance (issue #1252).

Sasha Krassilchtchikov (2026 Oct 5)

  • io.files.verifyTextFile - Verify that a text file is readable, plain ASCII, within a size bound, contains a given string ('MustContain') and that every non-empty line matches a caller-supplied regular expression ('LinePattern'). Never throws: it returns OK and a short Reason, so a caller in a service loop can log and continue (issue #1376)

  • imUtil.image.histAnomaly - With 'HistEdges'=[] (new default) the bin width scales with the sky level (new arguments 'BinWidthFrac' 0.01, 'MinBinWidth' 5, 'MinHistMax' 5000); the sky level is the median minus the overscan median ('OverscanSec', new) or 'Offset' (new). Explicit 'HistEdges' keep the old fixed histogram (issue #1179)

  • imUtil.quality.backgroundLevel, imProc.quality.backgroundLevel - New arguments 'RelThresholdBack' (default 1.2, threshold relative to the image median) and 'MaxThresholdBack' (default 40000); 'RelThresholdBack'=[] restores the absolute 'ThresholdBack' (issue #1179)

  • pipeline.last.quality.raw - Same relative background threshold, and the overscan median is passed to histAnomaly as 'Offset' (issue #1179)

Sasha Krassilchtchikov (2026 Oct 4)

  • Tran2D.fitAstrometricTran - AssymRMS (header AST_ARMS; ErrorOnMean = AST_ERRM) is now the smallest median residual among magnitude bins with at least 'MinNperBin' (new, default 3) sources, searched only in the bins that start within the brightest 'BrightFrac' (new, default 0.5) of the sources. It was the minimum of the extrapolated residual-vs-mag curve: ~20% too low and sometimes negative (issue #1373)

  • imUtil.calib.resid_vs_mag - New output fields BinMag, BinMeanResid, BinStdResid and BinN: the magnitude-bin table of the 'bin' method (issue #1373)

  • pipeline.generic.prePrep - The first ACF FWHM measurement is now made in a cutout really centred on the image (the 'ACF_HalfSize' cutout used to land in the corner); if it is outside [MinFWHM, MaxFWHM) it is repeated in 'CCDSEC2', now [2701 3700 1501 2500] (halfway to the edge, was [1 1000 1 1000]). New argument 'MinFWHM' (default 0.7): smaller values are not a reliable measurement. 'MaxFWHM' default 5 -> 6 (issue #1362)

Eran Ofek (2026 Oct 4)

  • timeSeries.period.cleanPowerSpec - CLEAN/prewhitening spectrum for unevenly sampled data.
  • timeSeries.period.unitTest_cleanPowerSpec - unitTest for cleanPowerSpec.
  • timeSeries.period.cleanestPowerSpec - CLEANest-style spectrum for unevenly sampled data.
  • timeSeries.period.unitTest_cleanestPowerSpec - unitTest for cleanestPowerSpec.
  • timeSeries.period.aliasIdentifier - Diagnose frequency (alias) ambiguities among periodogram peaks.
  • timeSeries.period.unitTest_aliasIdentifier - unitTest for aliasIdentifier.

Sasha Krassilchtchikov (2026 Oct 3)

  • imProc.calib.photometricZP - The Vega-to-AB offsets of the colour bands ('RefColNameMagBands') were taken in the order of the offsets table, not of the band columns, so the bands got each other's offsets (issue #1370)

  • pipeline.last.pipes.pipelineI - New TableRaw columns, per raw image: NsubNoPSF (sub images without a PSF, failed-background ones included), NsubNoSrc (sub images without sources), NsubGood (good sub images) and NsrcSum (total number of sources) (issue #1372)

  • pipeline.last.pipes.pipelineI - 'MaxFracGrad' default 1.0 -> 1.5; normal visits reach ~1.45 (issue #1372)

  • imProc.quality.noiseExcess - 'MaxRatio' default 5 -> 4 (issue #1359)

  • ultrasat.lab.PTCAnalysis.localSpread - (Static) pixel-to-pixel spread of a map: the residual to a Block x Block median (default 32), with a known per-pixel measurement sigma removed in quadrature (DSNU / PRNU without the large-scale structure)

  • ultrasat.lab.PTCAnalysis.accumulateFit - (Static) add one ladder step to the running sums of a weighted per-pixel straight-line fit

  • ultrasat.lab.PTCAnalysis.solveFit - (Static) solve the weighted per-pixel fit, chi2 and residual rms from the sums of accumulateFit, with no second pass over the frames

  • ultrasat.lab.PTCAnalysis.perPixelFits, stepFixedPattern - Now also work in full mode, streaming one step at a time over the whole die (combineSteps not needed, except for 'Select','linlimit')

  • ultrasat.lab.PTCAnalysis.badColumns - New arguments 'NoiseMap' and 'RespMap', to run the test on read-noise and response maps measured earlier and stored

  • ultrasat.lab.PTCAnalysis - Full mode ignored the 'Gain' and 'Orient' properties (it always loaded the high-gain half in the DESY orientation)

Sasha Krassilchtchikov (2026 Oct 2)

  • imProc.quality.noiseExcess - Flag raw images with excess pixel-to-pixel (salt-and-pepper) noise: the robust noise of adjacent-pixel differences in a central patch, against the noise expected from the sky level, gain and read noise; default 'MaxRatio' 5 (issue #1359)

  • pipeline.generic.prePrep - New arguments 'NoiseExcess' (default true) and 'noiseExcessArgs': reject frames flagged by imProc.quality.noiseExcess; new TableForDB columns NoiseRatio and NoiseRatioOK (issue #1359)

  • celestial.coo.proper_motion - NaN parallax is replaced by 1e-4 mas and NaN proper motion and radial velocity by 0, so a source without measured motion (e.g., Gaia 2-parameter solutions) keeps its catalog position instead of becoming NaN (issue #1369)

Sasha Krassilchtchikov (2026 Oct 1)

  • Tran2D.fitAstrometricTran - New 'MinDof' argument (default [] = the number of parameters per axis, i.e. 20 sources for poly3): with fewer good sources than Npar+MinDof, AssymRMS and ErrorOnMean are NaN, so an (almost) exact fit can no longer win the candidate selection of imProc.astrometry.astrometryCore (issue #1366)

  • AstroWCS.populateSucess - New 'MinNgood' argument (default 20): a WCS fitted with fewer sources is not a success (issue #1366)

  • tools.interp.interp1crossVal - The monotonic envelope is now a running min/max, so a bumpy (e.g. defocused, ring-shaped) profile no longer returns a crossing at 0; a vector that never crosses returns the end position (issue #1364)

  • pipeline.last.pipes.pipelineI - A coadd with sources whose astrometry failed (no RA/Dec) keeps its image but its catalog is dropped, instead of aborting the visit; reported in the new Status.CoaddNoWCS (issue #1364)

  • pipeline.last.pipes.pipelineII - New coadds without a catalog are skipped and counted in the new Status.NnoCatalog (issue #1364)

  • ultrasat.lab.PTCAnalysis.budgetCurve - (Static) per-pixel noise budget and SNR against charge, in electrons, from plain scalars; the formula shared by noiseBudget and later re-evaluations

  • ultrasat.lab.PTCAnalysis.noiseBudget - Only a positive charge threshold removes charge: the collected charge is Q - max(T,0) (was max(Q-T,0), which overstated the limiting signal of setups with a negative threshold)

  • ultrasat.lab.PTCAnalysis.zeroNoiseStats - Now also works in full mode (the whole die); new argument 'Maps' (default false) returns the per-pixel Bias, Sigma and SigmaRaw maps

Sep 2026

Sasha Krassilchtchikov (2026 Sep 30)

  • imProc.cat.coneCovers - Check whether a raw catalog cone (the 4th output of imProc.cat.getAstrometricCatalog) covers a circle on the sky (issue #1348)

  • imProc.cat.findCone - Find, among raw catalog cones, one of the same catalog that covers a circle on the sky, so that it can be reused instead of a new catalog query (issue #1348)

  • imProc.cat.getAstrometricCatalog - New 4th output RawCone (the raw catalog cone, before any cut or proper motion) and new arguments 'Cone' (cut a given raw cone instead of searching), 'RawConeRadiusFactor' and 'RawConeCols'; after the proper motion the Epoch column is set to EpochOut (issue #1348)

  • imProc.astrometry.astrometryCore, astrometryRefine, astrometrySingleImage, astrometryAllSubImage, astrometryVisitSubImage - New 4th output: the raw Gaia cone(s), computed only when requested (issue #1348)

  • imProc.astrometry.astrometryRefine, pipeline.generic.procCoadd - New 'AddColorRefCat' argument ('astrometric' | [] | AstroCatalog per sub image): the reference catalog of the colour (issue #1348)

  • imProc.calib.photometricZP - New arguments 'GaiaCone' (cut the reference from a covering raw cone) and 'EpochOut' (apply the proper motion; empty - not applied, as before) (issue #1348)

  • imProc.sub.smearTemplate - New arguments 'StarCone' and 'StarProperMotion' for the star selection (issue #1348)

  • pipeline.last.pipes.pipelineI - New argument 'RefCatName' (default 'GAIADR3'), one reference catalog for the whole visit; new 8th output GaiaCone and arguments 'GaiaConeRadiusFactor' (1.35) and 'GaiaConeCols': the colour reuses the astrometry's Gaia cone instead of a new query (issue #1348)

  • pipeline.last.pipes.pipelineI - When no sub image of the visit is solved and the mount pointing is far from the FIELDID grid centre, the astrometry is retried once at the grid centre (new header keys AST_RTRY, AST_HOFF; new argument 'AstRetryFieldID'); new Status.NnoWCS with the failed sub images per crop (issue #1350)

  • pipeline.last.pipes.pipelineII - New arguments 'GaiaCone' (reuse pipelineI's cones; default [] - search as before) and 'GaiaProperMotion' (default true); the reference catalog is taken from the New images' AST_CAT (issue #1348)

  • pipeline.last.pipes.pipelineII - New argument 'DumpComplexPath' (default '' - off): a sub image whose ZOGY D or Pd comes out complex is saved there for offline replay (issue #1360)

  • lcUtil.positionDrift - New argument 'MinFracEpoch' (default 0.5): only sources measured in at least half the epochs are used, so hot pixels chained into short tracks no longer bias the drift; NaN shifts when no source qualifies (issue #1361)

  • imProc.match.match2Stars - The unused 'StarCatName' argument was removed

  • pipeline.last.pipes.PipelineDemon - New argument 'SendSlackAlerts' (default false): Slack transient alerts are off by default

  • ultrasat.lab.PTCAnalysis.rawColGeom - Raw readout-column index per image row / column of the stored image

  • ultrasat.lab.PTCAnalysis.badColumns - Flag and mask the bad raw readout columns: excess read noise, or a dead or weak light response

  • ultrasat.lab.PTCAnalysis.zeroNoiseStats - ZE frames: bias common mode, fixed pattern, read noise and its intrinsic pixel-to-pixel spread

  • ultrasat.lab.PTCAnalysis.perPixelFits - Weighted per-pixel ladder fit, with the analytic fit noise of every parameter removed from the pixel-to-pixel spread

  • ultrasat.lab.PTCAnalysis.stepFixedPattern - Fixed-pattern non-uniformity (PRNU / DSNU) of every ladder step, with the temporal noise removed

  • ultrasat.lab.PTCAnalysis.perPixelThreshold - Per-pixel charge thresholds and dark current, with the fit noise propagated and removed from their spread

  • ultrasat.lab.PTCAnalysis.noiseBudget - Noise budget and SNR curve of one setup, per pixel, in electrons

  • ultrasat.lab.PTCAnalysis.varSpread - (Static) intrinsic pixel-to-pixel spread of a per-pixel variance estimate (chi2 deconvolution)

  • ultrasat.lab.PTCAnalysis.paramSpread - (Static) intrinsic pixel-to-pixel spread of a fitted parameter, with the fit noise removed

  • imUtil.calib.resid_vs_mag - When the binning gives fewer than two magnitude bins (magnitudes spanning less than 1.5 BinSize), the mean and std of the residuals are taken over all sources instead of crashing in interp1; empty input returns empty outputs (issue #1365)

  • Tran2D.fitAstrometricTran - AssymRMS is NaN, not empty, when no source survives the fit (issue #1365)

Sasha Krassilchtchikov (2026 Sep 29)

  • imProc.quality.updateProcStatus - four new status bits (NO_RELZP, NOT_GOOD, FEW_SRC, HIGH_BKGRAD); the per-epoch quality flags are now passed in as optional arguments, NO_BKG also covers a failed background estimation, and PSTATUS is written as an integer card (issue #1318)

  • pipeline.last.pipes.pipelineI - the PSTATUS processing-status bit mask is written into every epoch and coadd header at the end of the visit (issue #1318)

  • imProc.cat.catalogNameStr - Return the name of a reference catalog, given by name or as an AstroCatalog, as a string for header keywords (AST_CAT, PT_CAT, PH_CAT) (issue #1347)

  • imProc.astrometry.astrometryCore, astrometryRefine, imProc.calib.photometricZP, PhotCalibTrans.photCalibTransToHeader, imProc.calib.fitPhotCalibTrans - The reference catalog is written to the header: AST_CAT, PT_CAT, PH_CAT; imProc.cat.getAstrometricCatalog stamps the catalog name in Result.Name (issue #1347)

  • Gaia EDR3 -> DR3 - The remaining GAIAEDR3 defaults are GAIADR3 (singleRaw2proc, procMergeCoadd, astrometrySubImages, astrometryCheck), the MergedCat bit label is 'GAIA-DR3', and VO.TopCat's "GAIA-DR3" entry points to gaiadr3.gaia_source (issue #1347)

  • VO.TopCat - A table name is double-quoted only when ADQL needs it, so schema.table names such as gaiadr3.gaia_source work again (issue #1351)

  • pipeline.generic.procCoadd - The WCS-fallback registration uses the reference image, not its AstroWCS (issue #1353)

  • AstroFileName.reorderEntries - JD is subset with the files when it holds one value per file (issue #1356)

  • pipeline.last.archiveMaintenance.cleanVisitsVer - New default method 'keepLatest' (keep the highest version of each visit), 'removeNon1' added, version parsed from the directory name only, DryRun default true (issue #1357)

  • pipeline.last.reference.buildRefImages - Works with RefID given as a column vector (issue #1349)

  • imProc.match.match_catsHTM_multiInsertFlag - Retired to image/obsolete (an unfinished draft that did not parse; use imProc.match.match_catsHTMmerged)

Sasha Krassilchtchikov (2026 Sep 28)

  • tools.find.groupCounter - A group is a maximal run of +1 counter steps (equal counters no longer form a group) (issue #1342)

  • AstroFileName.groupByCounter - A group never spans a change of FieldID (issue #1343)

  • lcUtil.zp_meddiff - Returns a NaN ZP (and Nsrc=0) instead of crashing when no epoch qualifies; lcUtil.relZPfit does not apply an all-NaN ZP (issue #1339)

  • imProc.sub.findTransients - A blank/NaN LIMMAG no longer defines the chi2 magnitude bins (issue #1346)

Eran Ofek (2026 Sep 27)

  • imProc.quality.updateProcStatus - Update the PSTATUS (processed status) bit mask in image headers.
  • imUtil.poissNoise.poissThresholdPanjer- Threshold of a linear filter under Poisson noise, using the Panjer recursion.
  • imUtil.poissNoise.poissThresholdFFT - Threshold of a linear filter under Poisson noise, using the FFT (characteristic-function) method.
  • imUtil.poissNoise.poissThresholdSimulations - Threshold of a linear filter under Poisson noise, estimated from simulations.
  • imUtil.poissNoise.unitTest_poissThreshold - Unit test for the Poisson-noise false-alarm threshold functions.

Sasha Krassilchtchikov (2026 Sep 27)

  • pipeline.last.pipes.PipelineDemon - 'DBConnector' default is 'native' (ClickHouse client to DbHost:DbPort); a DB outage is logged and the demon runs without a DB

  • db.Db.connectLASTdb - The java branch honours the 'Host' argument

Sasha Krassilchtchikov (2026 Sep 26)

  • imProc.sources.multiIterExtractor - a new catalog column SN_ITER1: the S/N of the first-iteration matched-filter image, maximum within 1 pix of XPEAK/YPEAK (for MITER>1, SN_ITER1/SN > 2 marks a likely residual of a PSF-subtracted galaxy (issue #1113))
  • pipeline.last.pipes.pipelineI - SN_ITER1 is also carried into the MergedMat product (Args.MatchedCols)

Sasha Krassilchtchikov (2026 Sep 24)

  • pipeline.last.pipes.PipelineDemon.readCalibFrames - read raw dark/flat frames into an AstroImage: .fz/.gz frames are read with the mex reader and the stale tile-compression and CHECKSUM/DATASUM keywords are removed (issues #1323, #1324).

Sasha Krassilchtchikov (2026 Sep 23)

  • AstroFileName.selectByPropVal - select file names by comparing a property with a value (ported from FileNames, issue #1315).

  • imUtil.psf.pseudoFWHM - widths are taken from interpolated level crossings and no longer quantized to whole pixels (issue #1310).

Dana Kovaleva (2026 Sep 23)

  • imProc.cat.usableColor - Return a source's color based on the Gaia match: the gate for the nearest-neighbor color of imProc.cat.addColor (issue #1306).

Dana Kovaleva (2026 Sep 21)

  • imProc.cat.starsSpatialDensity - Quantiles of the per-bin source counts on an NbinX x NbinY grid over the image: a smooth field gives close quantiles, a localized overdensity (artifact clump, ghost halo) separates them (issue #1274).
  • PhotCalibTrans.evalColorTermDelta - DeltaMag at one or more slope offsets (alpha - RefSpecSlope).

Eran Ofek (2026 Sep 18)

  • astro.accretion.accDisk - functions to calculation accretion disks proerties.

Sasha Krassilchtchikov (2026 Sep 16)

  • ultrasat.lab.PTCAnalysis - a class reproducing the DESY PTC / dark-current / threshold analysis of one lab device, per gain half, with fits, plots, a summary and FITS export (issue #1283)

  • ultrasat.lab.writeFITS - Export the DESY lab TIFF frames of one device as FITS files, one per gain half (issue #1283)

  • io.files.moveFiles - New Ok and Msg outputs with the per-file move status, and an 'ErrorOnFail' argument (default true, as before; false reports failures in Ok/Msg and moves the remaining files) (issue #1286).

Dana Kovaleva (2026 Sep 16)

  • imProc.calib.applyColorTerm - Apply the per-star color correction to calibrated magnitudes: the zero point is built from ONE reference spectrum, so a star of different spectral slope is mis-calibrated by an amount that grows with airmass (issue #1287).
  • PhotCalibTrans.evaluateColorTerm - Measure the image's photometric sensitivity to the reference-spectrum slope by re-evaluating the fitted model at a second slope.

Dana Kovaleva (2026 Sep 15)

  • imProc.cat.addColor - Cross-match a source catalog against Gaia and attach, for the nearest match, the requested Gaia columns, its separation and a neighbor count.

Sasha Krassilchtchikov (2026 Sep 15)

  • io.tiff.read1 - Read one page of a TIFF file, in its native class and TIFF row order, with optional CCDSEC (partial read) and FlipUD, returning a FITS-style header (issue #1283)

  • io.tiff.readHeader1 - Build a FITS-style 3-column header (NAXIS*, BITPIX, NPAGES, TIFFPAGE, COMPRESS, PHOTOMET, ORIGFILE, FILEDATE in UTC, SOFTWARE, DATE-OBS/IMGDESC when the tags exist) from the metadata of a TIFF file

  • ImageIO.read1 - Files with a .tif/.tiff extension are dispatched to io.tiff.read1 (HDU is the page, CCDSEC and ReadData=false honoured), so AstroImage('*.tif') now carries a header; other non-FITS formats still go through imread

  • ultrasat.lab.readPTC - Read the TIFF frames of a DESY lab PTC test of one device into an AstroImage array, with LOTID/WAFERID/DEVICE/FRMTYPE/STEP/FRMINDEX/EXPTIME/INTENS/DATE-OBS and configuration keys taken from the sidecar files; also returns a per-frame inventory table and the parsed sidecars

  • ultrasat.lab.readResult - Parse a DESY lab *_Result.txt file into an Info structure, a table of test results and a Trailer structure

  • ultrasat.lab.readLog - Read a DESY lab test log (Time, ID, Text) into a table

  • ultrasat.lab.readPTCConfig - Read a DESY lab PTC_Config.xlsx Key|Value sheet into a structure, with decimal-comma numbers and [N]{...} lists converted to numeric

  • ultrasat.lab.parseFrameName - Parse a DESY frame name into Lot, Wafer, Device, Test, Step, FrameType and FrameIndex

Dana Kovaleva (2026 Sep 13)

  • imProc.calib.snChi2 - Estimate the systematic floor of the PSF-fit chi2 and write it to the header as SNCHI2 (issue #1271).

Eran Ofek (2026 Sep 13)

  • imUtil.psf.psf2mtf - Convert a PSF to MTF and OTF

Dana Kovaleva (2026 Sep 12)

  • pipeline.last.reference.rebuildRefProducts — Rebuild reference-image products (background, PSF, catalog, PH_ZP/PT_ZP calibration) with the v1 chain.

Sasha Krassilchtchikov (2026 Sep 10)

  • imProc.cat.shiftXY - Shift the X/Y coordinate columns of a catalog by a constant offset. Accepts an AstroCatalog, an AstroTable or an AstroImage and its subclasses (AstroDiff/AstroZOGY shift their CatData), singly or as an array, with a scalar shift or one shift per element.

Eran Ofek (2026 Sep 9)

  • tools.math.fit.fitLineErrXY - Fit a straight line with Gaussian errors in X and Y using full LogLikelihood.

Sasha Krassilchtchikov (2026 Sep 7)

  • imUtil.trans.mex.shift_lanczos3 - The interpolation taps are normalized, so that the kernel conserves flux (issue #1258). The raw Lanczos-3 taps do not sum to unity for a general fractional shift, which cost up to 1.1% of the flux per half-pixel shift and left a photometric error depending on the sub-pixel phase.

  • imProc.sources.forcedPhotNew, imProc.sources.multiIterExtractor, pipeline.last.pipes.pipelineII - The PSF fit shifts the model with the FFT again ('ShiftMethod','fft'), measured against known truth to be unbiased where lanczos3 costs about 1 mmag and grows with the sub-pixel offset (issue #1258). imUtil.psf.buildPSF and the mask shift in imUtil.sources.aper_phot_cube_interp deliberately keep lanczos3.

Sasha Krassilchtchikov (2026 Sep 5)

  • imUtil.psf.buildPSF - The weight cube follows Args.ShiftMethod like the data cube, so that one call no longer mixes two interpolation kernels (issue #1258).

  • imUtil.sources.aperPhotCube - The 'SubPixShift' default changes from 'fft' to 'lanczos3' (issue #1258).

Sasha Krassilchtchikov (2026 Sep 2)

  • pipeline.last.pipes.pipelineII - The PSF-fit method is chosen explicitly through a new 'PsfPhotMethod' argument, default '2DGN', instead of inheriting imProc.sources.psfFitPhot's 'legacy' default (issue #1259).

Aug 2026

Sasha Krassilchtchikov (2026 Aug 27)

  • imUtil.psf.combinePSF - Combine a set of PSF stamps into a single weighted-mean stamp (issue #1233). Each input is normalized first, so that stamps carrying different total fluxes contribute according to the requested weights only; the variance is propagated as that of a weighted mean, Var = sum(W_i^2*Var_i).

  • PhotCalibTrans.nanFillMagCols - NaN-fill the MAG_/MAGERR_ columns of an uncalibrated catalog (issue #1161), so that a crop or epoch whose photometric calibration did not run does not ship instrumental magnitudes under calibrated column names.

  • imProc.stack.stitchCrops - New 'PSFMethod' argument, 'none' (default, as before) | 'central' | 'wmean', which propagates the PSF of the crops to the stitched image (issue #1233). 'central' copies the AstroPSF of the crop nearest the centre; 'wmean' combines the crop PSFs weighted by the area each contributes, through imUtil.psf.combinePSF. pipeline.last.reference.buildRefImages gained its own 'PSFMethod', default 'wmean'.

Sasha Krassilchtchikov (2026 Aug 26)

  • pipeline.last.quality.raw - Measure quality metrics of LAST RAW images and flag anomalous frames (issue #1228). Per image: ACF FWHM [pix], background and variance of the light region and of the overscan, and the derived background/variance anomaly flags.
  • pipeline.last.quality.removeRaw - Remove LAST RAW images selected by quality cuts, with a dry run option (issue #1228). Consumes the table produced by pipeline.last.quality.raw.

Dana Kovaleva (2026 Aug 26)

  • pipeline.last.quality.photCalib.compareRMS2MagErr - Per-source light-curve RMS (plain and robust) against the catalog magnitude error, to validate the aperture-photometry error formula (issue #1134).

Dana Kovaleva (2026 Aug 25)

  • imProc.cat.addPrimary - Add a 'primary' ownership column to catalogs of overlapping image crops: 1 for the copy whose exact X,Y is inside the crop's UNIQSEC, 0 for the duplicates (issue #1180)
  • pipeline.last.quality.masks.overlapFlagTally - Tally the 'Overlap' mask bit over RA/Dec cross-matched source pairs of neighbouring crops (both/one/neither, pooled per interface and visit)
  • pipeline.last.quality.masks.compareMaskToSection - Pixel check of a geometric mask bit against its header section (flag_ccdsec prediction vs actual mask; 'UNIQSEC' or 'EXCLSEC')

Sasha Krassilchtchikov (2026 Aug 24)

  • imProc.background.isFailedBack - Check which elements of an object have a failed background estimation (issue #1226). The failure is recognized from the NaN fill left in Back/Var by imProc.background.backVar, so it is visible to callers that pass subsets or single elements, for which backVar's own index output is unusable.

  • imProc.cat.fillEmptyCatColumns - Give the column-less catalogs in an object the column set of the others (issue #1226). An image that extracted no sources has a catalog with neither rows nor columns, which cannot be written as a FITS binary table; with columns and no rows it is a valid product recording that nothing was found.

  • imUtil.background.backDictionary - Dictionary of background/variance estimation methods and their uint8 codes (issue #1223), for the BCKMTHD/VARMTHD header keywords and the data base. Codes are allocated in blocks and are never reused: 1-9 joint background+variance functions, 10-19 mex implementations, 20+ the options of imUtil.background.backgroundOption.

  • imProc.background.backVar - The BCKMETH keyword is replaced by the coded BCKMTHD/VARMTHD keywords, which record the background and the variance method separately through imUtil.background.backDictionary (issue #1223).

Eran Ofek (2026 Aug 24)

  • telescope.geometry.vignettingCircFilter - Calculate geometrical vignetting due to a circular filter.
  • telescope.geometry.vignettingRectFilter - Calculate geometrical vignetting due to a rectangular filter.

Dana Kovaleva (2026 Aug 23)

  • imProc.psf.visitWingProfile - One visit-level PSF wing SHAPE profile per crop from bright stars, replacing the per-epoch wing re-estimation (phase 1 of the single-PSF scheme).

Dana Kovaleva (2026 Aug 16)

  • catsHTM.catalogSignature - computes a fingerprint of the catalog's current build (hashes for number of rows, ColNames, documented checksum)
  • catsHTM.checkCatalogSignature - reads summary of catalog's fingerprint and defines whether it changed and how (whether pointers remain valid)

Eran Ofek (2026 Aug 12)

  • imUtil.agis.* - AGIS astrometric solver (several functions)

Dana Kovaleva (2026 Aug 12)

  • PhotCalibTrans.evaluatePhotZP - Photometric zero point of the image at its center -> Obj.PhotZP: the magnitude of a source whose total flux over the full exposure is 1 count.
  • PhotCalibTrans.fluxToMag - Flux -> magnitude dispatching on MagType: 'lup' (luptitude, finite for negative flux) or 'mag' (NaN for Flux<=0), with the shared Flux0 = 10^(0.4*ZP).

Dana Kovaleva (2026 Aug 9)

  • PhotCalibTrans.calcAperCorr - Positional fitting mode added (uses imUtil.calib.fitPositionalDiff)
  • PhotCalibTrans.applyAperCorr - Applies the aperture correction to a catalog
  • PhotCalibTrans.aperCorrToHeader - Writes median aperture correction and/or bilinear coefficients to the FITS header
  • PhotCalibTrans.evalAperPos - given polynomial coefficients and CCDSEC, reproduces the bilinear aperture correction at (X,Y)
  • PhotCalibTrans.fluxCol2AperCorrKeys - Maps a flux column name to respective aperture correction header keyword set
  • PhotCalibTrans.aperTag2MagCol - Maps an aperture tag ('A1', 'PS') to its respective magnitude column name
  • pipeline.last.quality.photCalib.plotAperCorrPositional - (optionally) fits and visualizes per-crop positional aperture correction
  • pipeline.last.quality.photCalib.mapAperCorrGradients - full-frame map vizualization for positional aperture correction
  • PhotCalibTrans.applyCalibQuality - Apply per-source quality cuts to a calibrator-candidate table
  • PhotCalibTrans.auditCalibCandidates - Pre-filtering of doubtful calibrator candidates based on characteristics in Gaia and LAST
  • PhotCalibTrans.findCalibCandidates - Find candidate calibrators in a catsHTM catalog
  • imProc.cat.joinCropsToCatalog - Build a single full-frame AstroCatalog from an N-crop AstroImage array with overlap dedup
  • pipeline.last.load.hdToTable - Flatten an extractHeaderData struct plus its filename grid into a one-row-per-file table (header sweep -> CSV).

Dana Kovaleva (2026 Aug 6)

  • catsHTM.renameCat - Rename a catsHTM catalog in place (file renames + rewrite internal HTM dataset name)
  • catsHTM.insertColumns - Append one or more columns to a catsHTM catalog in a single pass

Dana Kovaleva (2026 Aug 3)

  • catsHTM.crossIDCatsHTM - Build a cross-identification index table between an anchor catsHTM catalog and all/selected others over a field.
  • catsHTM.gatherCrossIDData - Materialize a crossIDCatsHTM index T into a per-source data table.
  • catsHTM.sourcePointer - the source's stable storage address (HTM leaf-cell id + row-in-cell) from (CatName, RA, Dec).
  • catsHTM.catRowID - collapses the pointer pair (HTM leaf-cell id + row-in-cell) into per-catalog unique scalar index.
  • catsHTM.catRowID2Pointer - inverse to catsHTM.catRowID (converts (CatName, CatRowID) to [CellID, RowInCell]).
  • catsHTM.gatherByPointer - reads the cell rows addressed by pointers (grouped by cell).

Dana Kovaleva (2026 Aug 2)

  • pipeline.last.quality.photCalib.overlapPairStability - Per-source epoch-to-epoch stability of the sources shared by two neighboring crops, in three scenarios (crop A only, crop B only, random per-epoch pick), to expose inter-crop calibration drift.
  • pipeline.last.quality.photCalib.overlapPoolStability - overlapPairStability pooled over every crop interface of the tiled focal plane (LASToverlaps), with the three-scenario STD-vs-magnitude plot.

Eran Ofek (2026 Aug 1)

  • celestial.healpix.statHealpix - Calculate statistics of values in healpix.

Jul 2026

Dana Kovaleva (2026 Jul 30)

  • pipeline.last.quality.masks.plotOverlapFlagHist - 1D histograms of a chosen field (default XFULL, YFULL) for the overlapFlagTally source pairs, split by Overlap-flag category (both / one / neither).
  • pipeline.last.quality.masks.plotOverlapFlagSources - Scatter of the overlapFlagTally matched sources colored by Overlap-flag category, in sky (RA/Dec), crop-pixel (X/Y) or full-frame (XFULL/YFULL) coordinates.
  • pipeline.last.quality.photCalib.diffPhotStabilityHeatmap - Pixel-wise difference or ratio of two plotPhotStabilityXY heatmaps (structs or saved .mat files).

Dana Kovaleva (2026 Jul 27)

  • pipeline.last.quality.photCalib.plotPhotStabilityXY - 2D focal-plane map of per-source photometric scatter: each source at its median (X,Y), color-coded by its epoch-to-epoch STD.
  • pipeline.last.quality.photCalib.stabilityAllCrops - One MatchedSources per crop over the same set of visits (epochs matched within the crop): the per-crop analogue of stabilityN3.
  • pipeline.last.quality.photCalib.plotCurvesMS - Overlay per-source curves of ANY MatchedSources quantity against ANY per-epoch quantity (airmass, JD, hours, or any MS column), gated by epoch count and by a median window on a selection field (was plotMagAirmass -> plotMagCurves).

Dana Kovaleva (2026 Jul 22)

  • pipeline.last.quality.LASToverlaps - The crop-pair (neighbor interface) index table of LAST's 24-crop focal plane; 'new' (current) and 'old' (pre-2025) tilings.
  • pipeline.last.quality.photCalib.batchOverlapSources - Bulk overlap-source comparison across many coadd visits: loads the crops, per-crop calibrates them, runs overlapSources, and aggregates per interface and per visit.
  • pipeline.last.quality.photCalib.plotPhotStabilityMap - Per-source photometric scatter versus detector position as two 1D marginal panels (std-vs-X, std-vs-Y) with a binned-median band.
  • pipeline.last.quality.photCalib.report2table - Flatten a batchPhotCalibTrans Report struct array into a table, with the Tran2D Chebyshev coefficients expanded one per column.

Dana Kovaleva (2026 Jul 16)

  • pipeline.last.quality.photCalib.bulkCalibrate - Bulk-calibrate LAST coadd catalogs and write the calibrated catalogs as FITS with the header preserved; resumable (skips existing outputs unless 'Force').
  • pipeline.last.quality.photCalib.stabilityN3 - Photometric stability over a set of calibrated catalogs: glob, header pre-pass (FWHM and airmass cuts), cross-match, per-source statistics and binned trends.
  • pipeline.last.quality.photCalib.plotCalParams - Scatter any calibration quantity against another with a binned median and an optional Q1-Q3 or MAD band; input may be a fitPhotCalibTrans CalibTrajectory, a table or an AstroCatalog.
  • PhotCalibTrans.calibrateCropFromJointFit - Apply a joint (full-frame) fit, whose Tran2D lives in XFULL/YFULL, to one crop's own native catalog.
  • PhotCalibTrans.cloneTransModel - Independent clone of a CompositeFun transmission model (CompositeFun is a handle class and not Copyable, so a copied PhotCalibTrans would share it).

Eran Ofek (2026 Jul 16)

  • tools.math.matrix.blockCirculant - Generate a right block-circulant matrix from blocks.
  • imUtil.properSub.properSubtractionLinear - Proper image subtraction (ZOGY) as a real-space weighted linear system.

Sasha Krassilchtchikov (2026 Jul 15)

  • celestial.polygon.checkPolygonCoverage - Check whether a set of sky polygons provides sufficient coverage (def. 99.9%) of a reference sky polygon by one of two methods: rasterizing to healpix (more robust, based on celestial.healpix.mex.rasterize_polygon) or analytic calculation of the overlap area (faster, based on celestial.polygon.areaPolyIntersection, for convex polygons only)

Dana Kovaleva (2026 Jul 13)

  • pipeline.last.quality.photCalib.batchPhotCalibTrans - Multi-config PhotCalibTrans campaign over the coadds beneath a path: discovers visits (24 crops each) and runs every (RunMode x OptSeqName) combination, one Report row per config.
  • pipeline.last.quality.photCalib.plotResidualsFromReport - Residuals-vs-X plot pooling every surviving calibrator from the CalibTrajectory snapshot of each selected Report row.
  • pipeline.last.quality.photCalib.plotResidualsEvolutionFromReport - Stage-evolution of the quality metrics along the CalibTrajectory (post-stage snapshots), one curve per requested quantity.
  • pipeline.last.quality.photCalib.rebuildPCFromReportRow - Reconstruct a PhotCalibTrans (TransModel, Tran2DObj and observation metadata) from one row of a batchPhotCalibTrans Report.
  • PhotCalibTrans.absorbTran2DCenterIntoNorm - Post-fit relabelling of the (Norm, Tran2D-DC) gauge freedom so that Tran2D at the field center is 0 and the offset sits in Norm.

Dana Kovaleva (2026 Jul 6)

  • astro.transmission.atmParFromAirmass - Degree-2 polynomial fits of the median atmospheric parameters versus AIRMASS (from 835 LAST visits, airmass 1.28-1.92): physics-based initial values.

Eran Ofek (2026 Jul 5)

  • imUtil.background.mex.backBertinLowerRMS - Mex function to calculate the background and variance of an image using the SExtractor/Bertin method, with the variance from the lower-side RMS.
  • imUtil.patternMatch.matchPatternPairs - Match two catalogs related by unknown shift+rotation(+flip) using pair voting.
  • imUtil.properCoadd.properCoaddLinear - Proper image coaddition (Zackay & Ofek 2017) as a real-space linear system.
  • astro.dispersionMeasure.ne2025 - Galactic free-electron dispersion measure from the NE2025 model.
  • imUtil.calib.fitPositionalDiff - Fit a positional difference model as a function of X,Y.
  • celestial.polygon.areaPolyIntersection - Calculate the intersection area of convex spherical polygons.
  • celestial.polygon.mex.areaPolyIntersection - Mex for calculating the intersection area of convex spherical polygons.
  • imUtil.properCoadd.properCoaddFFT - Proper coaddition of images in a cube (self-contained, convention-pinned).
  • plot.plotImagesGrid - Plot a cell array of images in a rectangular grid.

Sasha Krassilchtchikov (2026 Jul 1)

  • MsgLogger - augmented MsgLogger with a SuppressDispLevel property allowing to write messages to the log file, but not to the terminal

  • pipeline.last.reference.buildRefImages - added an option to make a reference-like deep image at any given sky point (or a set of images for a list of points) and of a requested size (in LAST pixels)

Jun 2026

Dana Kovaleva (2026 Jun 28)

  • VO.prep.GAIA.dr3.buildGaiaClassprobHTM - Build a local catsHTM of Gaia DR3 classprob from a pre-downloaded VOTable
  • VO.prep.GAIA.dr3.mergeGAIADR3spec - Append selected Gaia DR3 columns to GAIADR3spec in one pass
  • VO.prep.GAIA.dr3.checkGAIADR3specMerge - Post-merge sanity check: non-NaN fraction of the appended Gaia columns

Dana Kovaleva (2026 Jun 28) [APPEND]

  • PhotCalibTrans.plotCalibratorWeightHist - Histogram of the calibrator weights aggregated over crops.
  • PhotCalibTrans.resolveOverlay - Extract X / Y / UsedFlag from a SourceData catalog for the plotZPMap overlay.

Eran Ofek (2026 Jun 28)

  • imUtil.psf.wingsFix - Fix PSF wings using various methods.
  • imProc.psf.aperFrac - Calculate fraction of light within aperture in PSF, and write to header.
  • imUtil.background.mex.backBertin - Calculate the background and variance of an image using the SExtractor/Bertin method.

Sasha Krassilchtchikov (2026 Jun 28)

  • celestial.healpix.pixCoversPolygon - given a sky polygon, yield a raster to healpix at a given angular resolution and a list of (low-res) pixels for image search in the DB which can be overlapping with the input polygon

Eran Ofek (2026 Jun 18)

  • imUtil.background.histogramModel - Model the histogram of pixel values for a background + power-law stars.
  • imUtil.background.modeVar_LeftHist - Estimate the global image background mode and variance via a left-flank fit.
  • imUtil.background.mex.modeVar_LeftHist - Mex for Global image background mode and variance via a left-flank histogram fit.
  • imUtil.poissNoise.fitPoissPSF - Poisson (Cash-statistic) PSF photometry and source-detection test.
  • imProc.cat.addXYfull - Add X and Y coordinates in the original (full) image.
  • imUtil.psf.radiusAtFraction - Radius of PSF at which its relative height equal to some threshold.
  • imUtil.filter.shiftFromXCorr - Find the Sub-pixel translation between two images from their cross-correlation.
  • telescope.TelescopeScheduler - A new scheduler calss / in progress.

Eran Ofek (2026 Jun 17)

  • celestial.polygon.meanCoo - Calculate mean of RA, Dec coordinates along some dimension.
  • pipeline.last.reference.refId_fromCoo - Search for LAST Reference ID from coordinates.
  • imUtil.psf.extendPsfPowerLaw - Extend an odd-sized centered PSF using a power-law wing.
  • celestial.healpix.convertHealPixNsideNested - Convert nested HEALPix pixel IDs to another NSide.
  • celestial.healpix.convertHealPix2highNsideNested - Convert low-NSide nested HEALPix pixel to a range of high-NSide nested pixels.
  • imUtil.poissNoise.poiss_threshold_analytical - Analytical flux threshold for a Poisson matched filter, given a false-alarm prob.
  • imUtil.poissNoise.poiss_threshold_analytical_fft - Fast (FFT) analytical flux threshold for a Poisson matched filter.
  • imUtil.sources.mex.fluxAtRadius - Measure the median flux at annuli around selected positions in an image.
  • celestial.healpix.radius2NSide - Given angular radius, find the most appropriate NSide for cone search.
  • celestial.healpix.coneSearch2PixRanges - coneSearch2PixRanges Convert cone search to HEALPix nested pixel ranges.
  • imUtil.psf.mex.cosbellTaper - Apply a circular cosine-bell taper to a 2D image or 3D cube.
  • imProc.calib.limmag - Calculate limiting magnitude from catalog magnitude and S/N.
  • imProc.calib.backmag - Estimate background surface brightness and add it to the image header.
  • imUtil.poissNoise.backEstimator - Robust background estimation for low-count (Poisson) images, e.g. X-ray.

Dana Kovaleva (2026 Jun 3)

  • pipeline.last.load.findVisits - Find LAST visit directories filtered by coordinates, field, and/or time.
  • PhotCalibTrans.evaluateLimMag - LimMag calculation
  • PhotCalibTrans.evaluateBackMag - BackMag calculation
  • AstroTable.insertCol - update adding argument OmitValidation (bypasses class/size guards of insertCol, *3 times faster - for controlled use)
  • PhotCalibTrans.selectCalibratorsPythonLike - calibrator selection using catsHTM (GAIADR3spec + GAIADR3) with optional TAP classprob filter via TopCat.

Eran Ofek (2026 Jun 2)

  • telescope.geometry.obstructionModel - General sky-obstruction model for a telescope within an enclosure.
  • VO.prep.addZ2cat - Add redshift to catalog.
  • pipeline.last.quality.forcedLC - Return the light curves of a forced phot source and its unforced counterpart.
  • celestial.earth.satelliteMag - Estimate satellite apparent magnitude of a satellite and trail dilution.
  • tools.os.removeFirstNdirsKeepLast - Remove everything up to and including the N-th delimiter.
  • imUtil.external.run_SExtractor - Run SExtractor on a FITS image and return the catalog as a MATLAB table.
  • imUtul.external.install_SExtractor - Install SExtractor on the current computer.

May 2026

Sasha Krassilchtchikov (2026 May 24)

  • imProc.cat.addNdet - add the number of detectons at inidividual epochs to Coadd catalogs
  • AstroImage.isemptyCatalog - a vector of logicals showing if the AstroCatalogs attached to AstroImages in a stack are empty

Eran Ofek (2026 May 23)

  • timeSeries.fit.fitPiecewiseLinear - Globally optimal weighted N-segment piecewise linear fit.
  • timeSeries.fit.mex.fitPiecewiseLinear - Fast mex for Globally optimal weighted N-segment piecewise linear fit.
  • celestial.artSat.fitGeocentricOrbit - Simple fit of a Keplerian geocentric orbit to topocentric observations.
  • imUtil.psf.mex.fitGauss2D - Fast mex for fit 2D Gaussian with a known center, using linear fit and moments fallback.
  • imUtil.sources.mex.aper_phot_cube_interpstamp - Fast mex for aperture photometry with shifted PSF to a constant mask
  • AstroTable/getColMulti - Get single or multiple columns from AstroTable. (getCol doesn't treat missing columns).
  • tools.math.stat.mex.sigmaClipCubeN - Iterative sigma-clipped (weighted) mean and variance of a cube.
  • imUtil.psf.buildPSF - Build a master PSF from an image (or a cube of stamps).
  • imUtil.cut.mex.imageCutouts - Extract square cutouts from a 2-D image at specified positions, with padding near boundaries.
  • imUtil.psf.fwhmOfStamp - Given a cube of image stamps containing PSFs, directly calculate the FWHM and FWHE of PSFs.
  • VO.Chandra.buildChandraObsIDcat - Build a catalog of all Chandra ObsID observations via the CXC TAP service.

Dana Kovaleva (2026 May 23)

  • pipeline.last.quality.masks.compareMaskBitsPipelines - Compare two pipeline outputs at the bitmask-aggregate level, without pairing individual files: maskBitStatistics on each path, then a per-bit comparison table.
  • pipeline.last.quality.masks.plotMaskBitsComparison - One point per mask bit, old-pipeline versus new-pipeline aggregate pixel fraction.
  • pipeline.last.quality.photCalib.plotPhotForcedMatch - Paired RMS comparison of FORCED=1 against FORCED=0 sources.

Dana Kovaleva (2026 May 20)

  • pipeline.last.quality.photCalib.runPhotDiagnostics - One-stop runner: calibrates a set of visits (calibrateVisits), optionally cross-matches them (matchEpochs), and dispatches a user-selected list of plot families.

Dana Kovaleva (2026 May 18)

  • pipeline.last.quality.photCalib.calibrateVisits - Run imProc.calib.fitPhotCalibTrans on every visit and return the PhotCalibTrans objects, the calibrated catalogs, and per-crop fit diagnostics (fit RMS, center values).
  • pipeline.last.quality.photCalib.matchEpochs - Cross-match the catalogs of all epochs into a flat per-crop MatchedSources.
  • pipeline.last.quality.photCalib.plotARMSHistograms - Histograms of the per-crop ARMS produced by batchARMSHistograms; accepts a Result struct, a bare ARMS table, or a cell of them (overlaid).
  • pipeline.last.quality.photCalib.plotPhotSeries - One or more per-crop quantities versus epoch: central crops bold/solid, peripheral thin/dashed, cross-crop median overlaid, one figure per quantity.

Dana Kovaleva (2026 May 15)

  • pipeline.last.quality.photCalib.batchARMSHistograms - Per-crop ARMS distributions across many visits, for one or two cohorts (same visit-discovery API as the other batch tools).
  • pipeline.last.quality.photCalib.compareStabilityMS - Overlay the binned Std-vs-Median trend lines of two or more MatchedSources sets (e.g. two calibration runs) for any named quantity.
  • VO.prep.nedPretypeNames - The canonical NED 'pretype' object-type list (extragalactic and galactic) used to encode the NEDTAP.objdir pretype string column as positional integer codes.
  • pipeline.last.quality.photCalib.compareTran2D - Compare the position-dependent transmission surfaces of two paired PhotCalibTrans arrays, evaluated at a reference wavelength on a grid covering each crop.
  • catsHTM.addSource - Insert new sources into a catsHTM catalog: the source catalog (BaseDir) is read but never written, the result goes to OutDir.
  • catsHTM.removeSource - Remove sources from a catsHTM catalog by cone match, with the same read-only-source / OutDir contract.

Sasha Krassilchtchikov (2026 May 14)

  • io.fits.mex.read_header - a native cfitsio-based reader for FITS headers (also from compressed files)
  • AstroHeader - added a 'UseMex' option for a native cftisio-MEX reader, so now it is possible to read headers from compressed FITS files

Eran Ofek (2026 May 13)

  • tools.math.fun.fermiFun - Generate Fermi-Dirac function.
  • imProc.streaks.addSkyCoo - Add sky coordinates to AstroStreak structure/object
  • imUtil.streaks.parfit2curve - Compute pixel-coordinate curve from parabolic offset parameters.
  • imUtil.streaks.parfit2mask - Logical mask of image pixels within SemiWidth of a parabolic streak curve.
  • imProc.streaks.addStreak2Mask - Set Streak bit in MaskData for every detected streak in an AstroImage.
  • imProc.cat.applyProperMotionSimple - Apply proper motion without radial velocity and parallax.

Dana Kovaleva (2026 May 9)

  • catsHTM.removeColumn - Drop a column (matched by name) from every htm_ dataset of a catalog and update the ColCell .mat.
  • catsHTM.delete_dataset - Unlink a dataset from an HDF5 file in place with H5L.delete (the file does not reclaim the freed space).
  • catsHTM.getNsrcMeta - Per-cell source counts from the HDF5 dataspace metadata only (same output as catsHTM.get_nsrc, without reading the data).
  • catsHTM.load_colcell_from_dir - Load _htmColCell.mat from a given directory, for a read-only BaseDir that is not on the MATLAB path (e.g. /euclid/catsHTM).
  • catsHTM.project_to_colcell - Project an AstroCatalog (matched by column name) or a numeric matrix onto the ColCell order; missing columns become NaN, extras warn.
  • catsHTM.resolve_cat_paths - Resolve BaseDir (argument, then ASTROPACK_CATSHTM_PATH, then /euclid/catsHTM) and the catalog subdirectory (then catsHTM.catalogs) for a catalog name.
  • pipeline.last.quality.photCalib.calibratorRejectFraction - Local calibrator rejection rate: sorts the calibrators by one named characteristic (e.g. nearest-neighbor distance) and slides a fixed-size window over the sorted vector.

Dana Kovaleva (2026 May 7)

  • pipeline.last.quality.photCalib.calibratorAudit - Pool every calibrator of one calibrated visit and compare the used against the non-used ones over LAST-side and Gaia-side neighbor and quality metrics.
  • pipeline.last.quality.photCalib.compareCalibSpectra - Compare calibrator spectral SHAPES (each spectrum normalized at a pivot wavelength) for the Used and NonUsed sub-populations, pooled over all crops of a visit.
  • pipeline.last.quality.photCalib.plotAuditDiff - Compare two calibratorAudit results for the SAME image at different strictness and highlight the calibrators rejected only by the stricter run.

Dana Kovaleva (2026 May 6)

  • pipeline.last.quality.photCalib.plotPhotParamMosaic - Per-crop mosaic map of one or more fitted PhotCalibTrans parameters for a single epoch.

Dana Kovaleva (2026 May 4)

  • pipeline.last.quality.photCalib.plotPhotMagCompare - Pairwise scatter of catalog magnitudes from two AstroImage arrays of equal crop count (two coadds, versions or pipelines), cross-matched per crop by sky position.
  • pipeline.last.quality.photCalib.plotPhotParamCompare - Pairwise scatter of one named PhotCalibTrans quantity from two PC arrays of equal crop count.

Dana Kovaleva (2026 May 2)

  • pipeline.last.quality.photCalib.plotHeaderScatter - 2D scatter of two FITS header keywords pooled over many visit directories (discovery one level or recursive; Cat + Header loaded, no pixels).

Apr 2026

Dana Kovaleva (2026 Apr 29)

  • pipeline.last.quality.photCalib.plotHeaderHist - Histogram (or several overlaid) of one or more FITS header keywords pooled over many visit directories, with optional summary statistics.
  • pipeline.last.quality.photCalib.plotPhotCatHist - Histogram of one or more catalog columns pooled over many visit directories.

Dana Kovaleva (2026 Apr 25)

  • pipeline.last.quality.photCalib.plotPhotParamHist - Histogram of one named photometric-calibration quantity, one value per (epoch, crop).

Eran Ofek (2026 Apr 23)

  • imProc.io.saveProductStreak - Save streaks data stored in AstroImage object.

Sasha Krassilchtchikov (2026 Apr 27)

  • db.Db.connectLASTdb - with the option 'Client','native' you will connect through the new native client

Eran Ofek (2026 Apr 23)

  • celestial.polarAlign.polarAlignmentDrift- Predict image drift caused by polar misalignment and refraction.
  • imUtil.art.mex.addBrightSourceProfile - Add bright-source radial profiles to a 2D image
  • CelCoo - A new class that handles celestial coordinates, including conversions and plotting.
  • celestial.time.riseSet - Next rise and set times for fixed equatorial coordinates.

Dana Kovaleva (2026 Apr 22)

  • pipeline.last.quality.catalogFlagStatistics - per-bit source statistics over a set of FITS catalog files
  • pipeline.last.quality.plotCatalogFlagStatistics - plots 2D distribution/histograms for catalogFlagStatistics
  • pipeline.last.quality.maskBitStatistics - per-bit pixel statistics over a set of FITS mask files
  • pipeline.last.quality.plotMaskBitStatistics - plots 2D distribution/histograms for maskBitStatistics
  • pipeline.last.quality.plotOutliersScatter - diagnostic plots for outliers on Mag-vs-Std diagram
  • pipeline.last.quality.checkMaskPropagationOper - Check whether a named mask bit survives an operation on AstroImage(s).
  • pipeline.last.quality.plotPhotParamScatter - 2D scatter plot for any two named quantities in photometric model (PhotCalibTrans) of fitted transmission parameters, parameters from header, fit-quality parameters
  • VO.prep.createCatalogWgetList - Generate the wget list and the md5 checksum file for all *.hdf5 and *.mat files of one catsHTM catalog directory.
  • pipeline.last.load.benchLoaders - Benchmark loadVisitCatHdr and loadMergedMat against the AstroPack loaders on the same visit directory, to pick a loader on measured timings.

Eran Ofek (2026 Apr 22)

  • imUtil.sources.psfPhotCube - Updated version based on imUtil.sources.psfPhotCube_NEW (moved to +obsolete) + the original code is now called imUtil.sources.psfPhotCube_legacy, and can be called from the updated function using 'PsfPhotMethod'='legacy'.
  • tools.math.fun.mex.fastLogLUT_double - Fast mex and approximate (better than 10^-5) log base-e function for double numbers
  • tools.math.fun.mex.fastLogAVX2_single - Fast mex and approximate (better than 10^-5) log base-e function for single numbers
  • tools.math.fun.logApprox - Fast mex and approximate (better than 10^-5) log base-e function
  • tools.sum.mex.sumPowers_mex - Returns the sum(X^n) for all n=1..MaxPower, NaN ignored.
  • tools.sum.sum2_mex - Sum of array.^2 over one of the dimensions, ignore NaNs.
  • tools.sum.mex.sumPowers_mex - Returns the sum(X^n) for all n=1..MaxPower, NaN ignored.
  • tools.math.stat.mex.rstd1_mex - Fast mex for robust std using 0.25-0.75 quantiles.
  • tools.array.mex.allocateUninit - Array memory allocation without initialization.
  • AstroTable/insertMultiCol - Insert data in multiple columns into AstroTable object.
  • imUtil.background.modeVar_SampleHist - The mode and robust variance of a sample based on its fitted histogram (+mex interface).
  • imUtil.background.mex.modeVar_SampleHist_mex - Fast mex for the mode and robust variance of a sample based on its fitted histogram.
  • tools.array.bitsetFlag - with a new mex, no its another x1.8 faster (for uint32).
  • tools.array.mex.bitsetFlagMulti - Set multiple bit val of selected elements in an array (Fast MEX function)
  • tools.array.mex.bitsetInd - Set bit val of selected elements, given by indices, in an array (Fast MEX function; only slightly faster).
  • celestial.polarAlign.polarAlignmentDrift - Predict image drift caused by polar misalignment and refraction.

Dana Kovaleva (2024 Apr 16)

  • PhotCalibTrans.applyPhotCalibShifts - Propagate coadd photometric calibration to individual epoch images.
  • pipeline.last.quality.testPhotPropagation - test coadd-to-epoch calibration propagation
  • pipeline.last.quality.testPhotStability - a wrapper for calculations and diagnostic plots to test magnitude stability
  • pipeline.last.quality.testPhotFitQuality - a wrapper for calculations and diagnostic plots to test relations and correlations between PhotCalibTrans parameters and various characteristics
  • pipeline.last.quality.plotPhotFWHM - FWHM (or other parameter written in the header) vs epoch, per crop number
  • pipeline.last.quality.plotPhotFittedParams - Fitted parameters (Tau_500, PVW, Norm, Center_Ang) vs epoch, per crop number
  • pipeline.last.quality.plotPhotParamCorr - correlation of fitted parameters
  • pipeline.last.quality.plotPhotParamSynchrony - synchrony of change of fitted parameters between crops
  • pipeline.last.quality.plotPhotShapeSynchrony - same as plotPhotParamSynchrony, but only for transmission shape-defining atmospheric parameters (Norm = 1)
  • pipeline.last.quality.plotPhotAsympRMS - asymptotic RMS for calibrated vs initial magnitudes vs epoch
  • pipeline.last.quality.plotPhotResidualsRMS - RMS of calibrator residuals vs magnitude
  • PhotCalibTrans.derivePC - Deep copy of a PhotCalibTrans with its transmission parameters replaced by reference values, optionally keeping this crop's own Norm and absorbing the Tran2D center offset.
  • VO.prep.decalsSweepToHdf5 - Download the DECaLS DR10 sweep FITS files from NERSC and convert each into an HDF5 file holding the extracted 23-column numeric matrix.

Eran Ofek (2026 Apr 14)

  • tools.string.removeChars - Remove all specific chars (default is blank) from char, cell, string array.
  • celestial.conjunctions.nearestPoint2Arc - Find nearest point on a continuous spherical arc to sky positions.
  • celestial.INPOP/forceAllHelio - Calculate the heliocentric force on Solar System objects.
  • celestial.INPOP - Class was changed heavily in order to make it faster (~30%).
  • imUtil.cut.mex.image2cube - Extract sub-images from an image into a cube.
  • imUtil.cut.mex.cube2image - Insert non-overlapping parts of sub-images (in a cube) into a full image.
  • imProc.stack.coadd_Proper - Proper coaddition (Zackay & Ofek 2017) of registered images stored in AstroImage object.
  • celestial.convert.properMotionParallax - Barycentric ICRS positions to observer-frame ICRS using proper motion, parallax, and radial velocity.
  • imUtil.trans.mex.imrotate_sinc - Rotate a 2-D image around its center using separable sinc interpolation.
  • imUtil.sources.mex.psfPhotCube_step2dgn_mex - A fast mex helper function for imUtil.sources.psfPhotCube 2D gauss-newton solver.
  • imUtil.sources.mex.psfPhotCube_step2d_mex - A fast mex helper function for imUtil.sources.psfPhotCube 2D gradient descent.
  • imUtil.sources.mex.psfPhotCube_chi2flux_mex - A fast mex helper function for imUtil.sources.psfPhotCube chi^2 calculations.
  • imUtil.sources.psfPhotCube_NEW - The core function for PSF-fitting photometry. THIS IS A TEMPORARY NAME - Will be modified.
  • imUtil.psf.stamp2full - stamp2full : Pad an PSF stamp or cube into a larger image/cube and pad by zeros.
  • imUtil.psf.mex.cosbellCorners - Fast mex for corner-base cosine-bell taper to a full image of a PSF in which the PSF is in the corner.
  • imUtil.psf.mex.radalProfile_mex - Fast mex for calculating the radial profile of a 2-D image or a cube around a given center.
  • tools.interp.interp1crossVal - Return the interpolated position where a monotonic sampled vector crosses a specified value.
  • imUtil.match.mex.matchCatalogs - Fast mex for match two spherical-coo catalogs using nearest-neighbor search.
  • imUtil.match.mex.matchCatalogsXY - (matchCatalogsXY) Fast mex for match two planar-coo catalogs using nearest-neighbor search.
  • imUtil.psf.suppressWings - Suppress PSF wings by a cosbell with inner radius set dynamically from radial profile.
  • imProc.cat.catalog2MatchedSources - Build MatchedSources from matched AstroCatalog objects.
  • imProc.match.unify - Unify an AstroCatalog object with multiple catalogs (e.g., different epochs).
  • imUtil.match.mex.matchTwoCats - Match two catalogs of [RA, Dec] spherical coordinates using a radius search.
  • imUtil.match.mex.matchTwoCatsXY - Match two catalogs of [X, Y] planar coordinates using a radius search
  • imUtil.match.mex.matchSelfCat - Match a catalog of [RA, Dec] coordinates to itself (excluding searched object), using a radius search
  • imUtil.match.mex.matchSelfCatXY - Match a catalog of [X, Y] planar coordinates to itself (excluding self object), using a radius search
  • imProc.match.matchInd - Match sources in AstroCatalog/AstroImage by coordinates and return the matched indices.
  • imProc.match.matchCat - Match catalogs by coordinates and return matched sub-catalogs.
  • tools.array.mex.selectIndNaN - Fast mex for selecting rows from a 2D matrix, and insert NaN rows for NaN indices.
  • imUtil.sources.moments - Measure weighted first/second moments and aperture photometry in image cutouts. TO REPLACE: imUtil.image.moment2
  • celestial.healpix.healpixVertices - Return the 4 exact vertices of HEALPix pixels.

Sasha Krassilchtchikov (2026 Apr 04)

  • AstroFileNames - added some support for compressed files with file names like *.fits.fz, *.fits.bz2, *.fits.gz (there become new FileType's along with plain 'fits')
  • improc.io.saveProductImage - added an argument for compressed file output (still without a real implementation on the low level)
  • AstroImage - added an argument for compressed file output (still without a real implementation on the low level)
  • Tran2D.forward - changed interface

Mar 2026

Eran Ofek (2026 Mar 31)

  • tools.math.stat.margenlizeChi2 - Marginalize an N-D \chi^2 grid over selected dimensions, including priors.
  • imProc.stack.getFluxMatch - Return the flux matching factor required to multiply images to bring them into common flux.
  • timeSeries.xcorr.structFun - Structure function of an irregularly sampled time series.
  • imProc.transIm.register - Interpolate/register images in AstroImage into a new reference frame. THIS NEW FUNCTION IS REPLACING ALL THE OTHER REGISTERATION FUNCTIONS IN imProc.transIm
  • imProc.background.populateBackVarFromHeader - Populate (or replace) the back/var in AstroImage from its header.
  • pipeline.generic.procCoadd - massive changes, works now with regsiter and wrbust coaddition.
  • imUtil.psf.numPeaks - Number of peaks, and their height, in PSF stamp.
  • imProc.psf.fwhm - Updated - now also calculate number of peaks and their ratio and write to header.

Sasha Krassilchtchikov (2026 Mar 28)

  • celestial.healpix.mex.coneSearch - a new version of healpix cone search (~25 times faster than celestial.healpix.coneSearch) based on a native C++ healpix library
  • celestial.healpix.mex.rasterize_polygon - a new version of sky polygon rasterization by healpix pixels (~10 times faster than celestial.healpix.rasterize_polygon) based on a native C++ healpix library
  • fits.read_image - a new version of FITS image reader capable to read both regular FITS and compressed (FITS.fz, FITS.bz2, FITS.gz) files on the fly, without any decompression to disk (based on a native C++ fitsio library)
  • fits.read_catalog - a new version of FITS catalog reader capable to read both regular FITS and compressed (FITS.fz, FITS.bz2, FITS.gz) files on the fly, without any decompression to disk (based on a native C++ fitsio library); NB: the function allows to read at a time a catalog from one HDU and a header from another HDU. The AstroCatalog file reader with 'UseMex',1 is ~ 2 times faster than with 'UseMex',0.
  • FITS.read1 - added an argument 'UseMex' to use fits.read_image instead of matlab.io.fits, propagated this argument upwards to ImageIO.read1 and AstroImage.
  • FITS.read1 - added a possibility to correctly read FITS.fz images with the standard matlab.io.fits.readImg
  • pipeline.last.pipes.unitTest - a unit test for both the new and the production pipeline, for the first time allowing to reprocess an arbitrary set of archive FITS.fz images from a read-only directory tree on Marvin with the relevant calibration data (also from Marvin) and write the output (visit) directory to a local machine

Dana Kovaleva (2026 Mar 26)

  • pipeline.last.quality.testPhotCalib - converted into a wrapper function to check quality of photometric calibration. Loads visit data, runs calibration, evaluates magnitudes for different transmission modes (per crop, per image, per set of epochs, etc), matches sources across epochs, and generates diagnostic plots. Each step is delegated to a standalone function in +pipeline.+last.+quality.
  • pipeline.last.load.loadVisitCatHdr — load FITS into AstroImage arrays
  • pipeline.last.load.loadMergedMat - load MergedMat.hdf5 into MatchedSources object
  • pipeline.last.quality.calibratePhotModes — a wrapper for experiments with unified photometric model: run calibration, calculates magnitudes, compute FitRMS/ZPcenter
  • pipeline.last.quality.plotPhotScatter — mag vs std mag for the same source: scatter of magnitudes over epochs
  • pipeline.last.quality.plotPhotStdDiff — difference in scatter per epoch for various methods of magnitude calculation
  • pipeline.last.quality.plotPhotMosaic — RMS/ZP mosaics and ZP maps
  • pipeline.last.quality.plotPhotResiduals — calibrator fit residuals vs magnitude
  • pipeline.last.quality.plotPhotResidualsColor — calibrator residuals vs GAIA BP-RP color
  • pipeline.last.quality.plotPhotResidualsBg — residuals vs 1/Flux (additive background check)
  • pipeline.last.quality.plotPhotResidualsVs — residuals vs X, Y position (potentially other catalog parameters)
  • pipeline.last.quality.plotPhotResidualsAirmass — residuals vs airmass
  • pipeline.last.quality.plotPhotTransmission - transmission per wavelength per mode/crop/epoch
  • pipeline.last.quality.plotPhotIntegralT - integral T mosaic + T vs epoch

Eran Ofek (2026 Mar 25)

  • imUtil.sources.findRings - Find rings in image using match filter template bank.
  • imUtil.psf.radialAnnulusStatsByAngle - Calculate statistics in annulus-angle sectors.
  • imUtil.psf.findMeasureOutFocusAnnulus - Find out-of-focus-rings in an image and measure their radial/angular properties.
  • celestial.polyon.isSpherePolyIntersect - Test intersection of convex spherical polygons (default calling mex).
  • celestial.polygon.mex.isSpherePolyIntersect_mex - Fast mex for test intersection of convex spherical polygons.
  • tools.math.stat.weightedIntrinsicVarMLE - Maximum likelihood estimator for the intrinsic variance of a sample.
  • imUtil.trans.mex.polyRadialDistortion - Fast polynomial radial-distortion term evaluation for X (or Y) coordinates.
  • celestial.polygon.whichPolygonsTilesPoly - Determine a minimal subset of spherical convex polygons Poly2(:,I) whose union fully covers the spherical convex polygon Poly1.
  • celestial.polygon.mex.whichPolygonsTilesPoly_mex - Fast mex for Determine a minimal subset of spherical convex polygons Poly2(:,I) whose union fully covers the spherical convex polygon Poly1.

Dana Kovaleva (2026 Mar 19)

  • pipeline.last.quality.testPhotCalib - Compares PhotSys modes (crop-dependent, one for an image - different implementations) by epoch-to-epoch photometric repeatability
  • VO.prep.buildHTMfromFiles - Downloads the source file(s) via HTTP or from local disk, uses catalog-specific PostReadFun to convert to numeric matrix, passes it to VO.prep.build_htm_catalog to build HTM
  • VO.prep.getNsrcFast - Builds N sources per HTM cell matrix from hdf5 metadata, avoiding reading datasets. Faster than HDF5.get_nsrc for large catalogs, can be used before the index exists (unlike catsHTM.nsrc)

Eran Ofek (2026 Mar 18)

  • imPoc.cat.checkColumnsInRange - Check that columns in AstroTable or AstroCatalog in AstroImage are pre-defined in range.
  • pipeline.last.load.loadVisit - Load all visit-related files into AstroImage/AstroCatalog/MatchedSources objects.
  • tools.struct.structarray2struct - Convert a struct array containing scalars into a structure of arrays.
  • io.files.findDirBySubString - Find all directories that contain a substring (linux only).
  • pipeline.last.archiveMaintenance.move_raw2new - Move raw images from /YMD/raw/ dir to the new/ dir and uncompress.
  • tools.math.stat.mex.minGlobal_mex - Fast mex for global min of an array over all dim.
  • tools.math.stat.mex.maxGlobal_mex - Fast mex for global max of an array over all dim.
  • tools.math.stat.mex.minmaxGlobal_mex - Fast mex for global min and max of an array over all dim.
  • tools.math.stat.mex.meanStd - Fast mex for global mean and std over all elements in an array.
  • celestial.SolarSys.mpcChecker - Query the Minor Planet Center mpchecker service.
  • celestial.coo.position_angle - Calculate the position angle between two positions on the sky.
  • astro.microlensing.weakML - Predict the astrometric shift due to microlensing in the weak regime.
  • tools.math.stat.wmean - change in the algorithm - why the results are different?
  • celestial.stat.sphericalSF - Structure function on the celestial sphere.
  • pipeline.last.quality.visitQuality - Extract visit quality directly from info in visit directory.

Dana Kovaleva (2026 Mar 9)

  • PhotCalibTrans.calcAperCorr - Calculate aperture corrections from FLUX_APER_N / FLUX_REF ratios (with fitPhotCalibTrans, written to Header if Args.CalcAperCorr (default = true), applied to magnitudes if Args.ApplyAperCorr (default = false))
  • PhotCalibTrans.plotZPMap - an additional option for plotting 2D map of position-dependent zero point corrections over the image as a whole, depending on photometry system mode

Eran Ofek (2026 Mar 8)

  • timeSeries.period.periodPhaseEntropy - The phase entropy of a time series as a function of frequency.
  • celestial.galaxies.isInsideM33 - Check if coordinates are within the M33 footprints.
  • celestial.galaxies.isInsideM31 - Check if coordinates are within the M31 footprints.
  • celestial.galaxies.insideEllipse - Test if sky targets fall inside on-sky ellipses (tangent-plane).
  • imUtil.cat.match2Galaxies - Match positions to known galaxies and redshift.
  • tools.table.addStructFields2TableCols - Add struct fields into new/existing columns in table.
  • tools.array.selectFirstNotNaN - Given arrays with NaN/values create a new array that contains the non-NaN element that appears in the first input array.
  • tools.math.fun.funPowerLawExpCutoff - Generate a power-law function with exponential cutoff.

Feb 2026

Eran Ofek (2026 Feb 27)

  • tools.interp.mex.interp2_nearest_mex - Fast mex for 2D nearest interpolation.
  • tools.interp.mex.interp2_bilinear_mex - Fast mex for 2D bilinear interpolation.
  • tools.interp.mex.interp2_cubic_mex - Fast mex for 2D cubic interpolation.
  • tools.interp.mex.interp2_lanczos2_mex - Fast mex for 2D lanczos2 interpolation.
  • tools.interp.mex.interp2_lanczos3_mex - Fast mex for 2D lanczos3 interpolation.
  • tools.interp.interp2 - interp2 with additional methods, including fast mex interpolation.

Dana Kovaleva (2026 Feb 26)

  • PhotCalibTrans - an option added to enable use of per-source airmass in calculation of transmission and evaluation of magnitudes.
  • PhotCalibTrans.integralTransmission - integrates the transmission curve over wavelength and normalizes the result to the area corresponding to 100% transmission.
  • PhotCalibTrans.plotTransmission - now optionally plots a comparison of a number of transmission curves
  • VO.TopCat.splittedQuery - downloads catalog via TopCat TAP splitting it into spatial chunks, then merges on request

Eran Ofek (2026 Feb 22)

  • AstroImage - Added Streaks property populated by multiIter and the new functions in imUtil.streaks (written by Enrico).
  • celestial.healpix.nest2xyf - Convert HEALPix nested pixel index to (X,Y,Face).
  • celestial.healpix.xyf2nest - Convert (NSide, X, Y, Face) to HEALPix nested pixel index.
  • celestial.healpix.findNeighbors - Return the 8 (or 9 incl. self) neighbors of HEALPix NESTED pixels.
  • celestial.healpix - some non-working functions moved to +obsolete. unitTest was updated.

Dana Kovaleva (2026 Feb 18)

  • imProc.calib.fitPhotCalibTrans - a local helper function added, defines a set of arguments for fitPhotCalibTrans accepted for a given task as quasi-constant set.
  • telescope.optics.LASTTransmissionFixed - merges fixed LAST telescope transmission functions and caches joint transmission over wavelength grid.

Eran Ofek (2026 Feb 17)

  • tools.find.mex.binarySearch - A fast mex function for multi-value simultaneous binary search on a sorted vector.
  • imProc.calib.getGaiaMagColor - Extract GAIA magnitude and color with quality selection and system conversion.
  • AstroCatalog/getCatData - Return self. Useful because getCatData function also exists in AstroImage.
  • AstroImage/getCatData - Get catalog data (CatData) from AstroImage.
  • AstroCatalog/setCatData - Update the object with another object. Useful because it exists in AstroImage.
  • AstroImage/setCatData - Set catalog data (CatData) into AstroImage.
  • imProc.cat.addAirMass - Add/update airmass (and Healpix) column to AstroCatalog or AstroImage based on time and position.
  • imUtil.ccdsec.xy_crop2full - Convert XY coordinates in the cropped image to XY in the full image.
  • tools.table.reorderAddMissing - Reorder table columns according to column names template and add missing
  • tools.table.columns.addMissingColsDefault - Add to table missing columns with default (no reorder).

Sasha Krassilchtchikov (2026 Feb 15)

  • AstroWCS.buildSimpleWCS - builds a simple WCS from the ref. pixel sky position, pixel size, axes lengths, and rotation angle (optional)
  • tools.math.geometry.overlapRectangles - determine the presence of overlapping rectangles from each side of each one of a set
  • pipeline.last.quality.overlapSources - provide a diagnostic of astrometric and photometric stability in crop overlap regions
  • celestial.healpix.mex.neighbors_nested - a version of HEALPIX search neighbors function based on a native C++ HEALPIX library

Eran Ofek (2026 Feb 13)

  • imUtil.spec.lines.filterLines_WhittakerIRLS - Filter spectral lines from 1D spectrum based on iterative Whittaker smoothing + IRLS reweighting.
  • VO.VizieR.read_mrt_table - Read CDS/VizieR MRT (Machine Readable Table) fixed-width tables.
  • astro.spec.interpSpec2logWave - Interpolate spectrum into a log-wavelength grid.

Dana Kovaleva (2026 Feb 10)

  • pipeline.last.quality.checkMaskConsistency - checks that Mask bits are consistent with the pixel data in Image and Catalog
  • pipeline.last.quality.checkMaskPropagationToCoadd - checks that mask bits are properly propagated from proc to coadd files
  • VO.prep.buildHTMfromTopCat - implements async parallel mode using parfeval, decouples the HTM level used for downloading from the HTM level used for output.
  • celestial.htm.saveHTMIndexFast - buildes HTM index HDF5 file, fast alternative to HDF5.save_htm_ind. Computes the HTM index Data matrix from the level number using vectorized level-by-level subdivision.
  • tools.math.stat.sigmaClip - Sigma clipping of residuals to identify and reject outliers

Eran Ofek (2026 Feb 5)

  • astro.stars.rotationFlattening_freePrecession - Rotation induced flattening of a rigid body and free-precession period
  • imProc.header.addAirMass - Add/update airmass keyword to AstroImage header based on time and position.
  • AstroImage/getImageVal - Added a ReturnNaN option that returns NaN, instead of [], if pixel is outside the image.
  • imUtil.image.mex.sub2ind_mex - Fast mex for convert 2D matrix subscripts to linear index (not faster than sub2ind_fast).
  • imUtil.image.mex.ind2sub_mex - Fast mex for convert linear index to 2D matrix subscript (faster than all other, for N>100).
  • tools.array.bitsetFlag - new options and default is new mex.
  • tools.hist.mex.hist1reg_mex - Fast mex 1D histogram with regular step size.
  • tools.hist.mex.hist2reg_mex - Fast mex 2D histogram with regular step size.
  • tools.hist.mex.hist2d_VVtrans - New faster version.
  • tools.interp.interp_diff - Speed improvment for array inputs.

Eran Ofek (2026 Feb 4)

  • imUtil.trans.mex.shift_lanczos3 - Fast mex for shifting images using lanczos3 interpolation
  • imUtil.sources.mex.moment1_cube - A fast mex for calculating the Gaussian weighted 1st central moments of images in a cube.
  • imUtil.sources.moment1_cube_mle - Poisson-MLE-like Gaussian-weighted centroids for stamps/cubes.
  • imUtil.sources.mex.annulus_median - Calculate median and std in annulus around center of images in a cube, and subtract the background from each slice.
  • imUtil.sources.mom12_cube_once - Single-pass (no iteration) intensity moments on a stamp or cube of stamps
  • imUtil.sources.mex.mom2_cube - Fast mex for calculating 2nd central moment for each slice in a cube of images
  • imUtil.sources.aper_phot_cube_interp - Aperture photometry with shifted constant mask.
  • imUtil.sources.mex.aper_phot_cube_simple - A fast mex for a simple pixelized aperture photometry around position
  • imUtil.sources.mex.aper_phot_cube_interp - Fast mex for aperture photometry with shifted constant mask
  • imUtil.sources.moment2_cube - 2nd moment on a cube of images using various algorithms
  • imUtil.sources.moment1_cube - 1st moment on a cube of images using various algorithms

Dana Kovaleva (2026 Feb 3)

  • tools.math.fun.CompositeFun.costFun - proper handling of weighted data for calibrators is added
  • tools.math.fun.CompositeFun.hasErrors, tools.math.fun.CompositeFun.hasWarnings, etc. - status logging utilities
  • PhotCalibTrans.calibrate - proper handling of weighted data for calibrators is added
  • PhotCalibTrans.propagateCalibratorMagErr - propagate calibrator spectral and flux errors into per-star magnitude uncertainties
  • __PhotCalibTrans.resampleCalibratorSpectra - Resample calibrator reference spectra onto the transmission model wavelength grid
  • pipeline.last.quality.checkMaskPropagationToFlags - checks that mask bits are properly propagated to catalog FLAGS
  • pipeline.last.quality.compareMasksPipelines - compare masks between two pipeline outputs

Jan 2026

Sasha Krassilchtchikov (2026 Jan 26)

  • FITS - added column names vaidation and repair (e.g., matlab table column names must start with letters, which is not always the case with external catalogs we wish to read into an AstroCatalog)

Eran Ofek (2026 Jan 24)

  • astro.binary.nodal_precession - Approximate nodal precession of binary due to third massive object.
  • pipeline.last.load.directLoad - Direct search and load images in LAST directory tree (No DB).
  • MsgLogger/writeLog - Write a log (or error stack) message to screen and log file.
  • tools.math.integral.mex.trapzmat_mex - Trapezoidal numerical integration on columns or rows of matrices (mex).
  • tools.math.integral.trapzmat - default now calls the mex version (x6-8) times faster.
  • AstroFileName/duplicateCrop - Given file names, duplicated them Ncrop times with running CropID.
  • io.files.mkdir - mkdir for a list of directories (check if they exist before creation).
  • tools.math.stat.mex.chi2_sigmaclip - Fast mex for calculating Chi^2 with sigma clipping.
  • tools.math.stat.mex.sigma_clip_cube - Fast mex for sigma clipped mean of a cube of images.
  • tools.array.mex.countNaN - new faster version.
  • tools.array.mex.bitand_dim - Fast mex for bit-wise and operation along a specific dimension in an array.
  • tools.array.mex.bitor_dim - Fast mex for bit-wise or operation along a specific dimension in an array.
  • tools.array.bitand_array - new version - calls new mex.
  • tools.array.bitor_array - new version - calls new mex.

Dana Kovaleva (2026 Jan 14)

  • PhotCalibTrans/writePhotCalibTrans - writes the results of photometric calibration to the header
  • PhotCalibTrans/populatePhotCalibTrans - reads the results of photometric calibration from the header and creates PhotCalibTrans object with these properties
  • imProc.calib.fitPhotCalibTrans - upper level wrapper for PhotCalibTrans class

Sasha Krassilchtchikov (2026 Jan 12)

  • AstroTable.merge - added support for column units (both from the input tables and from arguments)
  • AstroTable.colind2unit - get column units from indexes
  • db.mex.insert2 - a first working version of direct bulk insert from Matlab to a ClickHouse DB through a native C++ interface

Eran Ofek (2026 Jan 09)

  • imUtil.psf.gaussianSigma2SemiAxis - Given a Gaussian SigmaX, SigmaY, Rho, calculate A, B, Theta.
  • imProc.header.writeStat2Header - Write image statistics to header.
  • astro.accretion.magneticDipole - Dipole magnetic field strength as a function of R and Theta.
  • astro.accretion.alfvenRadius - Estimate of the Alfvan radius in the equatorial plane of an aligned NS.

Dana Kovaleva (2026 Jan 08)

  • PhotCalibTrans - A class for transmission-based absolute photometric calibration
  • VO.prep.build_large_htm_catalog - Build an HTM catalog in HDF5 format by downloading in segments (uses VO.TopCat) (requires renaming?)

Sasha Krassilchtchikov (2026 Jan 07)

  • db.mex.query - improved stability (no crashes in 1000 function calls)

Eran Ofek (2026 Jan 03)

  • PhotonsList/pi2energy - Convert Swift-XRT PI column to energy (approximate)
  • imUtil.swiftXRT.parseSwiftXRTFilenames - Extracts ObsID, Instrument, Window, Mode from Swift-XRT filenames.
  • imUtil.swiftXRT.getSwiftXRT_RawCorners - Get RAW coordinates CCDSEC for Swift-XRT given file name literals.
  • imUtil.ccdsec.listNearEdges - Given a list of [X,Y] coordinates and image boundaries, flag near edge positions.
  • PhotonsList/markEventsNearBoundries - Mark events near image bounderies.
  • astro.dispersionMeasure.plasmaFreq - Calculate the electron plasma frequency (nu_e/omega_e).
  • astro.dispersionMeasure.dispersionDelay - Time delay due to dispersion measure.
  • astro.accretion.windAccretionRate - The accretion rate from a wind.
  • astro.accretion.bondiHoyleDensity - The density as a function of radius for spherical accretion.
  • astro.accretion.bondiHoyle - Bondi-Hoyle-Lyttleton spherical gas accretion.
  • astro.accretion.transonicRadius - Calculate te transonic radius for a spherical accretion at zero velocity.
  • imUtil.cut.gridSubImage - Compute CCDSEC tiles (with overlap) + non-overlap cores in full-image coordinates and in each subimage's local frame.
  • imUtil.filter.fft_size_timing - Test the speed of 2D fft as a function of image size.

Dec 2025

Eran Ofek (2025 Dec 30)

  • imUtil.streaks.addLineToImage - can now also add curved lines.
  • lcUtil.positionDrift - Measure the mean X,Y position drift as a function of time in MatchedSources object.

Sasha Krassilchtchikov (2025 Dec 28)

  • telescope.obs.plotFOVfromQueryTable - plot FOVs of (sub)images from a table result of a DB query (on a flat graph)
  • tools.os.copyFileOverNFS - copy (or move) files to a network NFS drive with user spoofing

Eran Ofek (2025 Dec 23)

  • io.files.findFiles - changes in default parameters and one extra output.
  • MatchedSources.read - treat multiple files.
  • DS9analysis - MatchedSources property added.
  • pipeline.last.disp.ds9_nightFieldCrop - load also MatchedSources object
  • DS9analysis/plotLC - Plot LC stored in MatchedSources property of DS9analysis object.

Sasha Krassilchtchikov (2025 Dec 22)

  • plot.plot_polygon - a simple polygon plot with loop closing
  • imProc.calib.transmissionZP_testN3 - a test of abs. phot. processing on a sample of LAST N3 survey catalogs

Eran Ofek (2025 Dec 21)

  • astro.galaxy.galRectangularCoo - Galactic position & velocity in rectangular coordinates.
  • astro.galaxy.eqPM2galPM - Convert J2000 equatorial proper motions to Galactic (mu_l, mu_b).
  • VO.SDSS.sdssSpecURL - Generate SDSS spectrum FITS URLs (DR10–DR19, legacy or BOSS/eBOSS).
  • www.urlExists - Test if one or more URLs exist without downloading the file.
  • AstroSpec.read1 - (static) Read a single file (e.g., FITS) containing a spectrum into an AstroSpec object.
  • AstroSpec.read - Read multiple files containing a spectrum into an AstroSpec object
  • imUtil.spec.measure.backFit - Given a 1D spectrum, fit the background level in some range.
  • imUtil.spec.measure.lineProp - Measure spectral line properties (equivalent width, lum, moments).
  • imProc.spec.measure.lineProp - Measure line properties in AstroSpec object.
  • imProc.sources.multiIterExtractor - Source finding and multi-iteration PSF fitting.
  • imProc.cat.withinPoly - Select sources, in AstroImage/AstroCatalog, within a convex polygon.
  • imProc.astrometry.getCooCorners - Get coordinates of corners of images stored in AstroImage object.
  • imProc.cat.catsHM_inImage - Query catsHTM catalog for all sources within an AstroImage footprint (corners).

Sasha Krassilchtchikov (2025 Dec 17)

  • db.Db.connectLASTdb - establish read-only connection to the LAST DB (a one-liner shortcut)

Dana Kovaleva (2025 Dec 16)

  • imUtil.calib.predefSeqCompositeFun - a helper function, prepares a set of pre-defined functions and optimization stages/sequences to be used in CompositeFun.model and CompositeFun.fitPar, facilitates calling the methods of CompositeFun.
  • tools.math.fun.CompositeFun.model - (static) builds composite transmission model of the provided list of transmission functions. Replaces imUtil.calib.transmissionModel.
  • tools.math.fun.CompositeFun.costFun - calculates cost function measuring the difference between transmitted synthetic fluxes and observed fluxes. Replaces imUtil.calib.transmissionCostFun.
  • tools.math.fun.CompositeFun.fitPar - performs optimization of transmission parameters for the input set of transmission functions, following the input sequence of stages of optimization. Replaces imUtil.calib.transmissionFit.

Sasha Krassilchtchikov (2025 Dec 3)

  • imUtil.psf.fwhmFromContour - calculate FWHM (major and minor axes) from an elliptical contour over pixels > 0.5 max

Eran Ofek (2025 Dec 2)

  • imProc.sources.aperPhot - Perform aperture photometry on a predefined list of positions.
  • imProc.image.xcorrWithPSF - Cross-correlate an image in AstroImage object with its PSF.
  • imProc.image.convWithPSF - Convolvee an image in AstroImage object with its PSF.
  • imProc.image.subBackDivideStd - Subtract the background and divide the image by its Std.

Nov 2025

Dana Kovaleva (2025 Nov 27)

  • imUtil.calib.transmissionModel - builds composite transmission model of the provided transmission functions via CompositeFun class.
  • imUtil.calib.transmissionCostFun - calculates cost function measuring the difference between transmitted synthetic fluxes and observed fluxes.
  • imUtil.calib.transmissionFit - performs optimization of transmission parameters for the input set of transmission functions, following the input sequence of stages of optimization.
  • telescope.optics.correctorTransmissionLAST - polynomial approximation model for LAST corrector transmission profile. Moved to new location.
  • telescope.optics.mirrorRelectanceLAST - polynomial approximation model for LAST mirror reflectance. Moved to new location.
  • telescope.optics.fieldCorrectionLAST - polynomial position-dependent correction term (basis of Chebyshev polynomials). Moved to new location.

Eran Ofek (2025 Nov 24)

  • astro.grb.dopplerFactor - Calculate the Doppler factor.
  • imProc.io.saveProductMatchedSources - Save MergedMat products from a MatchedSources object.
  • Installer - add Swift/XRT caldb to config file and add treatment for tar.Z files.
  • imUtil.kernel2.king - create a matrix or a cube of 2D normalized King functions.
  • timeSeries.timeDelay.covMatrix_nonEvenlySpaced_PS - Calculate the cov matrix of a non-evenly time series with a power-law power spectrum.
  • imProc.sources.subtractSources - Subtract a list of sources with a PSF from an image in AstroImage.
  • imUtil.trans.shift_interp - Stamps/images linear shift using griddedInterpolant.
  • tools.math.filter.infoOverlapFilters - Calculate the information-content overlap between two weighned templates under H0.

Eran Ofek (2025 Nov 13)

  • imProc.astrometry.astrometrySingleImage - Run astrometryCore/astrometryRefine on a single image.
  • imProc.astrometry.remapWCS - Remap WCS from one CCDSEC to another CCDSEC in the "same image".
  • imProc.astrometry.defResultFit - Define and allocate memory for ResultFit structure array used by astrometry solvers. [CONSIDER MAKE A CLASS].

Eran Ofek (2025 Nov 12)

  • imProc.astrometry.astrometrySingleImage - Run astrometryCore/astrometryRefine on a single image.
  • imProc.astrometry.remapWCS - Remap WCS from one CCDSEC to another CCDSEC in the "same image".
  • imProc.astrometry.prepArgsForAstrometry - Preparing Args for astrometry - this function is a common block of both astrometryRefine and astrometryCore.
  • improc.astrometry - astrometryCore and astrometryRefine now returns exactly the same structure array, with a new field indicating the solver.
  • imProc.astrometry.astrometrySameImage - Run astrometryCore/astrometryRefine on a set of images with similar pointing (few arcsec).
  • imProc.astrometry.astrometryAllSubImage - Solve astrometry to all sub images belonging to one image.
  • imProc.astrometry.astrometryVisitSubImage - Perform astrometry for all sub images in all the images in a visit.
  • VO.Swift.swiftXRT_obs_API - Search for Swift XRT observations around a position (VO Cone) using the VO API.
  • VO.Swift.swiftXRT_obs - Search for Swift XRT observations around a position using the VO API or TAP service.
  • imProc.astrometry.defResultFit - Define and allocate memory for ResultFit structure array used by astrometry solvers.
  • VO.Swift.swiftXRT_wget - Search Swift/XRT observations by coordinates and wget the obsid files.
  • imUtil.astrometry.cdmatrix2rotScale - Given a WCS CD matrix, return the PA, scale, and handness.
  • pipeline.last.quality.cameraRotationStatus - Summarize the LAST camera on sky rotations as measured from DB information.
  • celestial.polarAlign.trackingErrorRates - Calculate an equatorial mount tracking errors as a fun of HA and Dec.
  • celestial.polarAlign.polarAlign_fitDrift - Fit polar align axis shift to tracking errors (drift method).
  • pipeline.last.quality.polarAlignStatus - Fit polar alignment shift to drift data collected during LAST visits.

Dana Kovaleva (2025 Nov 3)

  • telescope.detector.qeLegendreLAST - Legendre polynomial model for LAST detector transmission profile
  • telescope.detector.qeSkewedGaussianLAST - skewed Gaussian model for LAST detector quantum efficiency
  • astro.transmission.waterTransmission - water vapor transmission profile
  • astro.transmission.umgTransmission - USSA gases transmission profile
  • astro.transmission.correctorTransmission - transmission profile for LAST corrector
  • astro.transmission.mirrorTransmission - transmission profile for LAST mirror
  • astro.transmission.loadAbsorptionInterpolants - uploader for pre-computed interpolants for molecular absorption profiles (21 species)

Oct 2025

Dana Kovaleva (2025 Oct 26)

  • tools.math.fun.CompositeFun - composite function class

Eran Ofek (2025 Oct 19)

  • celestial.search.isInsideEllipse - Check if list of coordinates [RA, Dec] are within any of a set of sky ellipses defined by [CatRA, CatDec, CatPA, CatA, CatE].
  • celestial.coo.mex.cosined2coo - Fast mex for cosine direction to coordinates.
  • celestial.coo.cosined2coo - UseMex argument added. Default is true.
  • imProc.match.match_catsHTM_multi - Match an AstroCatalog (in AstroImage) with multiple catsHTM catalogs with flexible criteria and add information to the catalog.
  • imProc.match.matchExternal - Match sources in AstroImage-like objects to a suite of external catalogs.
  • tools.math.stat.binomial_ci - Exact Clopper-Pearson confidence interval for binomial probability.
  • pipeline.last.quality.telescopeAlignmentStatus - Measure LAST telescope relative position (alignment) using the DB.

Eran Ofek (2025 Oct 16)

  • imUtil.cut.subImageFun - subImageFun Apply a reducer over S-sized blocks of X (N-D), return block grid and XY positions.
  • imUtil.background.backgroundVarScalar - Calculate the background and variance (scalars) of an image.
  • imUtil.background.backgroundVar - Estimate the background and variance (image or scalar) of an image.
  • imProc.background.backVar - Measure background and variance and store in AstroImage object.
  • AstroZOGY/subtractionScorr - Adding systematic noise term option to the Scorr + some minor fixes.
  • telescope.Scheduler.obsArcLength - (Static) Calculate the observability arc-length given Dec, Lat and Az/Alt constraints.
  • telescope.Scheduler/getObsArcLength - Calculate the observability arc-length given Dec, Lat and Az/Alt constraints.
  • telescope.Scheduler/setMinMaxHA1 - Set the MinHA1 and MaxH1 columns.
  • telescope.Scheduler/weightDist - Weight targets by distance from a given position (RA, Dec).
  • telescope.Scheduler/getPrevTarget - Get previously observed target for a given monut.
  • convert.pressure - (Static) Convert pressure units.
  • celestial.convert.refraction_coo - Convert airless RA, Dec to refracted RA, Dec in reference to a reference atmosphere.

Eran Ofek (2025 Oct 13)

  • lcUtil.relZPfit - Perform and apply relative photometry to a MatchedSources object.
  • pipeline.generic.proc2MatchedSources - Create a MatchedSources object from a set of AstroImage/AstroCatalog objects.
  • tools.math.stat.wmedian - big fixes.
  • tools.math.stat.mex.wmedian_mex - Weighted median MEX function.
  • tools.math.stat.mex.wmedianStd_mex - Weighted median and weighted std MEX function.
  • tools.math.stat.mex.wMeanStd_mex - Weighted mean, std, and error of the mean MEX function.
  • tools.math.stat.mex.rstd_mex - Fast mex for robust std using 0.25-0.75 quantiles.
  • timeSeries.period.mex.findLocalMax1 - Find all local maxima above some threshold value (fast MEX).
  • AstroZOGY/dSdF - Populate DSDF - the dS/dFn (Fr=1) derivative for ZOGY subtraction.
  • AstroFileName.getFieldIDperVisit - (static) Recursively find all visit dir in the path and return the FieldID of each visit.
  • AstroDiff/overlapArea - Calculate the overlap area and corners between New and Ref images after registration.
  • imUtil.mask.rectangularMaskCorners - Return the four corners of a single-filled rectangular region og true in a logical matrix.
  • imUtil.mask.mex.rectangularMaskCorners_mex - (MEX) Return the four corners of a single-filled rectangular region og true in a logical matrix.
  • imUtil.patternMatch.distAngPairs_mex - (MEX) Find distance and angle between pairs of sources.
  • imUtil.patternMatch.perfTest - In several places perf tests and unit tests were added.
  • cdhome - cd to home directory.
  • tools.math.fit.lsqNonLinWithFixed - lsqNonLinWithFixed - Fit a non-linear model while holding a subset of params fixed.
  • AstroDiff/checkSubAssymetry - Check that the number of positive and negative pixels, in the difference image, are consistent with each other.
  • imProc.match.matchReturnIndicesMulti - Match two catalogs in AstroCatalog objects, and for each source in Obj2, return all the matched sources in Obj1.
  • imProc.match.matchMulti_catsHTM - Match an AstroCatalog object with catsHTM catalog and return (all) multiple matches.
  • timeSeries.period.periodScargleNL - Vectorized Lomb–Scargle periodogram (no loops).
  • timeSeries.period.mex.periodScargle_mex - (MEX) Lomb-Scargle periodogram.
  • tools.interp.interp_diff - x50 faster version of Bedssel interpolation.
  • imUtil.sources.mex.aperPhotBackXY_mex - (MEX) Given a cube in which each stamp ccontains centered source, perform aperture phot and back estimation around specified XY position.
  • imUtil.sources.mex.aperPhotBack_mex - (MEX) Given a cube in which each stamp ccontains centered source, perform aperture phot and back estimation around stamp center.
  • tools.math.geometry.mex.smallestRadiusBoundingCircle - Fast MEX for calculating smallest radius bounding circle in 2D geometry.
  • tools.math.geometry.boundingCircle - added interface to the mex version.
  • celestial.coo.mex.boundingCircleSpherical_mex - Fast MEX for smallest bounding spherical circle (cap) via Welzl algorithm
  • celestial.coo.boundingCircle - added interface to the mex version.
  • imProc.match.matchStars - Match input catalog in AstroCatalog/AstroImage/AstroZOGY object to known stars and add information to catalogs.
  • pipeline.last.quality.pointingRMS - Estimate the pointing accuracy of LAST using information in the DB.
  • io.files.saveAsync - Asynchronous save to MAT-file (returns prompt immediately).
  • imProc.io.saveProductImage - Save products in AstroImage object.

Sep 2025

Eran Ofek (2025 Sep 30)

  • pipeline.generic.prePrep - pre-preparation of astronomical images (cast, quality checks).
  • imProc.header.fixJD - Update JD to contain mid-exposure and fix JD (i.e., if JD is round, then read from DATE-OBS).
  • pipeline.generic.basicCalib - Basic calibration sub pipeline for dark, overscan, flat, fringing, and header JD fixing.
  • tools.math.stat.mex.quantile1 - Fast MEX quantile over all dimensions in the array, for a scalar quantile fraction.

Dana Kovaleva (2025 Sep 28)

  • astro.transmission.airmassSMARTS - calculate airmasses for multiple atmospheric constituents
  • astro.transmission.aerosolTransmission - aerosol transmission profile
  • astro.transmission.ozoneTransmission - ozone transmission profile
  • astro.transmission.rayleighTransmission - Rayleigh transmission profile
  • telescope.Optics.qeLegendre - Legendre polynomial model for instrumental transmission
  • telescope.Optics.qeSkewedGaussian - skewed Gaussian model for quantum efficiency

Eran Ofek (2025 Sep 25)

  • imUtil.cut.mex.trimImage - Fast crop/trim of images or cube by CCDSEC, using MEX.
  • tools.array.cropMat - moved to obsolete package.
  • tools.array.mex.countAboveVal - Count the number of elements in the array above some value (MEX).
  • imUtil.quality.backgroundLevel - Check the quality of the image background to identify images with an excessive number of high-value pixels.
  • pipeline.last.path.pathProc - Get path to LAST proc data in local storage.
  • pipeline.last.disp.ds9_nightFieldCrop - Find LAST images by date, field, crop, in local disk and display and load into DS9analysis.
  • imUtil.quality.backgroundLevel - Check the quality of the image background to identify images with an excessive number of high-value pixels.
  • imProc.quality.backgroundLevel - Check the quality of the image background to identify images with an excessive number of high-value pixels.
  • imUtil.quality.histAnomaly - Search for anaomlies in image histogram.
  • imProc.quality.histAnomaly - Search for anaomlies in image histogram.
  • AstroImage/getFileNames - Get stored file names from AstroImage object.
  • VO.TopCat.searchTapList - (Static) Search Tap URL by its name.

Eran Ofek (2025 Sep 20)

  • tools.math.fun.mex.sincos - Calculate sin and cos simultaneously using a fast mex function.
  • timeSeries.period.mex.powerspec_mex - Fast calculation of the power spectrum using MEX.
  • timeSeries.period.mex.powerspecMatrix_mex - Fast calculation of the power spectrum for a matrix, ignoring NaN, using MEX.

Eran Ofek (2025 Sep 16)

  • telescope.obs.nearZenithFarFromMoon - Choose a point near zenith and far from the Moon (for focus).
  • pipeline.last.pipes.PipelineDemon/isFileInList - Check if File name is contained within the object file names.
  • AstroFileName/isCompressed - Check if file name corresponds to compressed file.
  • AstroFileName/isFileInList - Check if File name is contained within the object file names.
  • AstroFileName/compress - Compress files in AstroFileName object and modify FileType accordingly.
  • AstroFileName/uncompress - Uncompress files in AstroFileName object and modify FileType accordingly.
  • astro.stars.wdMassRadius - Approximate WD mass-radius relation.
  • AstroFileName/genFullPath - Generate path+file name for all scenarios.

Eran Ofek (2025 Sep 14)

  • tools.math.stat.mex.median - Fast median function for arrays over a single dim.
  • tools.array.mex.conditionalReplace - (MEX) Conditional replace: Given M,A,B,V perform: M(A>B)=V; Old version obsolete
  • tools.array.mex.diluteArray_MinMax - Fast mex function for dilute array like: Array(1:Step:end) and returning min and max. Old version obsolete
  • tools.array.mex.diluteArray - Fast mex function for dilute array like: Array(1:Step:end). Old version obsolete
  • tools.array.mex.bitsetFlag - Set bit val of selected elements in an array (Fast MEX function). Old version obsolete
  • tools.array.mex.bitorArray - (MEX) Perform a bit-wise or operation along all elements in an array. Old version obsolete
  • tools.array.mex.bitandArray - (MEX) Perform a bit-wise and operation along all elements in an array. Old version obsolete
  • tools.array.mex.onesCondition - (MEX) Performs: Result = ones(size(MatR2), ClassImage); W_Max(MatR2>Radius2) = Val
  • tools.math.stat.mex.medianMeanStd - Fast (mex) calculation of median, mean, and std.
  • astroView - Minimal DS9-style image viewer.

Eran Ofek (2025 Sep 8)

  • plot.plotWithDensityContours - Plot X–Y points, but switch to density contours in bins whose point count exceeds a threshold.
  • plot.plotSignedLogY - Plot logarithmic Y axis for both positive/negative values, by using two subplots.
  • pipeline.last.pipes.ForcedPhotServer/selectRequest - Select entries from request_table using optional constraints.
  • pipeline.last.pipes.ForcedPhotServer/selectObservations - Select entries from forcedphotsub_output using optional constraints.
  • VO.TNS.downloadAll - Download the TNS public objects CSV (ZIP), unzip, and read into a table.
  • VO.TNS.queryTNS - Query TNS by object name OR position, with constraints.
  • tools.table.reorderColumnsGUI - GUI for reorder and deleting columns in table.

Aug 2025

Eran Ofek (2025 Aug 31)

  • VO.TopCat - A new class for accessing TopCat via the TAP protocol using ADSQL.
  • imUtil.frt.mex.radonCenterLine_mex - Calculate Radon transform through the image center (only) using mex.

Sasha Krassilchtchikov (2025 Aug 26)

  • MatchedSources.createFromDBqueryTable - sort the output table of a DB query by unique epochs (defined as image ids) and read it into a MatchedSources object

Eran Ofek (2025 Aug 21)

  • db.Db.addNewColumnsToExistingTable - Add new columns to existing table.

Sasha Krassilchtchikov (2025 Aug 11)

  • catsHTM.getExtCatData - given a source table as a DB query output, retrieve source data from external catalogs according to the MergedCat mask

Jul 2025

Yossi Shvartzvald (2025 Jul 31)

  • pipeline.last.reference.buildRefGrid - build a reference grid for LAST (not yet the reference images themselves)

Sasha Krassilchtchikov (2025 Jul 29)

  • db.search.querySourcesByField - Given the sky field name(s), construct a query to search a source DB table on these fields with optional constraints on time (JD), mount, camera, subimage

Sasha Krassilchtchikov (2025 Jul 14)

  • pipeline.last.insertDB.insertArchiveRawImages2DB - populate the raw_images table (a number of differences from populating proc/coadd)

  • pipeline.last.reference.searchRef - for each new image from an input AstroImage stack find all the overlapping LAST reference images

  • celestial.healpix.neighbors - For a given HEALPix index and resolution find indices of all the neighbors

  • celestial.healpix.pix2xyf - Convert a NESTED HEALPix pixel index Ipix to (X, Y, F [face number])

  • celestial.healpix.xyf2pix - Convert (X, Y, F [face number]) to HEALPix pixel index Ipix in the NESTED scheme

  • celestial.healpix.increasePixelResolution Given NESTED Ipix @ Nside0 calculate the corresponding indices at Nside1 > Nside0

  • celestial.healpix.decreasePixelResolution Given NESTED Ipix @ Nside0 calculate the corresponding indices at Nside1 < Nside0

Eran Ofek (2025 Jul 9)

  • tools.table.sprintf_table - added an 'AddHeader' option (to add VizieR style header).
  • imUtil.asteroids.fitMotion - Fit small-angle motion on sky.
  • tools.math.fit.fitPoly_PointsAndSlopes - Fit a polynomial using points and first-derivative constraints.
  • imUtil.asteroids.fitMotionGreatCircle - Fit Long(time) and Lat(time) to a great circle motion.
  • pipeline.last.asteroids.reportFastInVisit - Search for fast asteroids to report and generate reports
  • Component/writeLogMessage - write a log message to screen and log file.
  • pipeline.last.pipe.ForcedPhotServer - Forced Photometry Serrver class.
  • AstroFileName.getBaseFieldID - (static) Extract the base fieldid from a full fieldid (i.e., the first dot-seperated literal).

Sasha Krassilchtchikov (2025 Jul 03)

  • db.mex.query - a new function to query a ClickHouse DB through the native port (9000) and correct output column types (note: the function requires Matlab 2023a or above)

Jun 2025

Eran Ofek (2025 Jun 16)

  • MatchedSources/getLC_nearest - Get LC and data of nearest source to some coordinates.
  • telescope.Scheduler/cleanTargets - Clean targets from list if StopJD exceeds current JD.
  • AstroHeader/julday - Add an optional 'KeyJD' input, that allows for fast extraction of JD.
  • db.Db/createTable - now supports also DEFAULTS.
  • pipeline.last.pipes.ForcedPhotServer - A class for forced photomery demon of LAST.
  • db.Db/isConnected - Check if object is connected.
  • AstroHeader/getValSimple - Get header keyword value / simple version (no synonyms and conversions).

Sasha Krassilchtchikov (2025 Jun 05)

  • telescope.obs.optimalCoverageProbMap - optimal coverage of a sky probability map with circular FOVs (a K-D tree based algo)

May 2025

Sasha Krassilchtchikov (2025 May 31)

  • celestial.polygon.polygon_boolean_operations - check intersection and mutual containment of spherical polygons
  • celestial.healpix.rasterize_polygon - rasterize a spherical polygon into HEALpix at a given resolution
  • celestial.polygon.spherical_polygon_circum_circle - given a sky polygon, get the approximate coordinates of the center and the radius of its circum circle
  • db.search.imagesContainingPoint - given a sky point, yield a list of DB images covering the point
  • db.search.imagesIntersectingPolygon - given a sky polygon, yield a list of DB images a) intersecting with it b) containing it c) contained in it

Eran Ofek (2025 May 3)

  • AstroDiff.convertFromAstroImage - (Static) convert AstroImage to AstroDiff
  • AstroZOGY.convertFromAstroImage - (Static) convert AstroImage to AstroZOGY
  • telescope.Scheduler/editInspectTable - edit and inspect scheduler list.
  • tools.args.updateParFromConfig - Update function arguments from a config. This function replaces the tools.code.updateParFromConfig function.
  • MatchedSources/calcRMS - calculate rms of a property (field) vs. its mean.
  • tools.WebServer - A class for running a server that insert records to DB by HTTP requests (two servers are available: python and java).
  • MatchedSources/bestMag - Add a new (default) algorithm. Dividing the stars according to magnitude cut at which error of one mag type dominates.

Apr 2025

Eran Ofek (2025 Apr 27)

  • plot.selectPointsInPoly - Given a plot with data points, interatively plot a polygon and choose points inside polygon.
  • tools.table.sprintf_table - sprintf table values with format and latex options.
  • celestial.OrbitalEl/searchMinorPlanetsNearPosition - Add optional angular speed to output table.
  • imUtil.image.getValPos - Get value of image at list of pixel positions.
  • tools.hist.mid - Return the midpoint between successive data points in a vector.
  • db.Db/fetch - Fetch data from DB .
  • db.Db/genQueryGroupBy - Generate a select group by query.
  • tools.array.notIndexVector - Given a vector length and a list of indices, return the list of the complement indices.
  • telescope.Scheduler/removeEntries - Remove entries by index or exact field name from scheduler.
  • tools.gui.editInspectTable - editable viewer and inspection tool for table T.
  • pipeline.last.pipes.VisitVariability.plotLC - (static) Given a table line, plot LC.
  • imProc.sub.properSubtraction - Perform ZOGY proper subtraction.
  • imProc.sub.forcedPhotSub - Forced photometry for subtraction images and its meta data.
  • pipeline.last.phot.forcedPhotSubLAST - Forced photometry on LAST subtracted images.

Mar 2025

Eran Ofek (2025 Mar 31)

  • imUtil.asteroids.generateReportMPC_ADES - Generate MPC report in new XML ADES format.
  • imUtil.frt.createLine - Updated: adding partial line treatment.
  • BitDictionary/query - Execute a logical string-like query on bit names and return the logical result.
  • imProc.cat.findBit - Execute a logical findBit or a string-like query on bit names and return the logical result. The input may be an AstroCatalog, table, or a matrix.
  • imUtil.background.backgroundOption - Estimate background/variance of an array using pre-defined functions.
  • imUtil.background.backgroundCore - Estimate background and variance in a single matrix. This is the core function that is used for background and variance estimations.
  • imUtil.background.background - Started modifying- use imUtil.background.backgroundCore, and add Mask, Min, Max arguments. Need to test (currently in if 1==0 block).
  • lcUtil.zp_fit2D - Fit a 2-D instMag-refMag surface as a function of X and Y to each epoch in MatchedSources and subtract it from the instMag such that the instMag will be corrected for positional zp.
  • MatchedSources/plotRMS - Added arguments 'RemoveFlags' and more to remove sources from plot.
  • lcUtil.zp_meddiff - Added option to remove data points with specifc flags.
  • lcUtil.reportPowerSpec - Return max power spectra and corresponding frequency for each source in MatchedSources object.
  • lcUtil.reportPolyHyp - Return DeltaChi2 between 0 and N polynomials for each source in MatchedSources object.
  • lcUtil.reportMotion - Return proper motion fit for each source in MatchedSources object.
  • lcUtil.reportCorr - Return correlation coef. and p-val between selected fields in MatchedSources object.
  • lcUtil.reportFlareAboveNan - Search for flare events above NaN (non detection) background.
  • lcUtil.reportRunMean - Search flares/dips using run-mean filter.
  • lcUtil.reportRMS - Report the rms of each source in units of sigma above mean.
  • lcUtil.variabilityAnalysis - Perform variability analysis and search on a MatchedSources object.
  • imUtil.image.histAnomaly - Search for anaomlies in image histogram.
  • pipeline.last.pipes.VisitVariability - A new class for searching for variable sources in visit-level data.
  • imUtil.asteroids.fitFastMotion - Search fast-moving asteroids in RA/Dec matrices of epochs vs. src.
  • lcUtil.fitFastMotion - Search fast-moving asteroids in MatchedSources object.
  • tools.os.sudo_system - Execute system command with sudo.
  • SpecTrace/background - Populate the background and variance in Lineraized trace image
  • SpecTrace/aperphot - Extract aperture photometry as a function of wavelength from linearized trace image .
  • imProc.calib.applyZP_AperCorr - Apply ZP and aperture corrections to magnitude columns.
  • db.Db.convertClass2DB_Class - (static) Convert matlab class names to DB class names.
  • db.Db.generateID - (static) generate ID for DB.
  • __AstroFileName.jd2datedir - (static) convert JD to date dir of the form: YYYY/MM/DD (changed at local noon).
  • pipeline.last.pipes.VisitVariability.getLocationFromDB - (static) Given a table of variable/fast moving - generate visit path.
  • pipeline.last.pipes.VisitVariability.getProductFromDB - (static) Given a fast moving or visit variability entry - get coadd or MatchedSources product.
  • tools.table.colClass - Return the classes of the columns in a table.
  • pipeline.last.pipes.VisitVariability.getLC - (static) Given a table of variables - get objects LC.

Feb 2025

Eran Ofek (2025 Feb 28)

  • imUtil.relPhot - new package. Moved imUtil.calib.lsqRelPhoto to this package.
  • imUtil.relPhot.fit2Dphot - Fit a 2D X & Y dependent photometric zero point to instrumental mag.
  • timeSeries.period.perid_FalseAlarmRedNoise - Return the simulations of the power-spectrum of a light curve with a red-power-law spectrum.
  • telescope.Scheduler/plotMountConstraints - Plot Az/Alt mount constraints.
  • telescope.Scheduler/yearlyVisibility/dailyObservability - now also accept RA/Dec
  • telescope.Scheduler/getSunSetRise - Get Sun rise/set above some reference altitude.
  • telescope.Scheduler/mountConstraintsAnalaysis - Analyze mount obscuration constraints for target visibility.

Eran Ofek (2025 Feb 3)

  • AstroFileName/updateTime - Update time according to actual file real-time stamp.
  • AstroFileName/isFileExist - Check if files in AstroFileName object exist in their path.

January 2025

Eran Ofek (2025 Jan 25)

  • imUtil.spec.waveCalib.matchLines_Scale - Given a list of observed and reference lines, estimate the wavelength calibration scale between the two lists.
  • imUtil.spec.waveCalib.matchLines_Shift - Given a list of observed and reference lines with the same scale, estimate the wavelength calibration shift.
  • imUtil.spec.waveCalib.matchLines - Given a reference and new line lists, find the best scale and shift and match the lines.
  • celestial.healpix.pixelSons_nested - Given a nested pixel index, returns the 4 pixels in the next Nside level.
  • celestial.healpix.coneSearchRecur - name changed (previously: celestial.healpix.coneSearch) some improvements, but this function is now not recommended (as it is a factor of 4 slower).
  • celestial.healpix.coneSearch - cone search for healpix pixels (fast version).
  • imProc.spec.trace.traceByCollapse - Find, fit and linazrize traces from spectra in an AstroImage, and output a SpecTrace object.
  • imUtil.spec.trace.traceByCollapse - previously: imUtil.spec.trace.trace
  • SpecTrace class.
  • SpecTrac/setTrace - Set a trace into the SpecTrace object.
  • tools.cell.cellcell2mat_nan - Convert array of cells of cells to numric array.
  • tools.array.unique_count - now works also on strings and use several algorithms. Default algorithm is orders of magnitude faster.
  • tools.math.fft.mex.unwrap_mex - unwraps radian phases P by changing absolute jumps greater than pi to their 2*pi complement (20 times faster than matlab).
  • tools.hist.mex.histcounts1regular - 1D histogram with regular (evenly spaced) grid (mex). x2.6 faster than matlab.
  • tools.array.mex.diluteMatrix - Dilute an array. Select every Nth element from an arry into a column vector.
  • tools.array.mex.diluteMatrix_MinMax - Dilute an array and select values between Min and Max.
  • imUtil.background.modeVar_LogHist - speed up.
  • db.search.queryConeSearch_Healpix - Given RA and Dec, construct a query to search a DB table by Healpix pixel indices.
  • db.search.queryCooBoxConstraints - Generate approximate constraints for a coordinates box search. (used to be in db.Db static).
  • tools.math.stat.mex.std_madmean_mex - Std using the mean absolute deviation (mad) function (MEX).
  • pipeline.last.coadd.checkRefStatus - Check that the reference image exist with all its metadata.
  • imUtil.background.modeVar_Hist - Mode and variance estimator based on histogram fitting. New faster function NEED TO TEST ON REAL IMAGES.
  • io.files.dirUsingFind - Fast, recursive, dir-like command implementing linux find function.
  • pipeline.last.queryDB.searchVisitsByCoo - Search LAST visits by coordinates.

Sasha Krassilchtchikov (2025 Jan 1)

  • pipeline.last.insertDB.insertArchiveImages2DB - scan a tree of archive data and insert visit-level (coadd) image data into a DB
  • pipeline.last.insertDB.insertArchiveCatalogs2DB - scan a tree of archive data and insert individual catalog data into a DB
  • pipeline.last.insertDB.insertArchiveCoaddCatalogs2DB - scan a tree of archive data and insert visit-level (coadd) catalog data into a DB
  • pipeline.last.insertDB.insertArchiveAsteroids2DB - scan a tree of archive data and insert visit-level (coadd) asteroid data into a DB

December 2024

Eran Ofek (2024 Dec 29)

  • pipeline.last.queryDB.table2path - Given table with entries from last_visits DB table, prep full path + file nemaes to images.
  • pipeline.last.queryDB.loadTable - Given a table output from last_visits query, load all the data products belonging to some Level/Product.
  • pipeline.last.quality.checkCoordinatesFieldID - Given a table of images queried from DB, check that the coordinates and fieldid are consistent with the master fieldid table.
  • pipeline.last.queryDB.coo2fieldid - Convert RA/Dec to LAST fieldid, CamNum, CropID that contains the coordinate.
  • db.Db.genCooBoxConstraints - Generate approximate constraints for a coordinates box search, taking into account poles and RA zero crossings.
  • io.files.uncompress - Uncompress gzip/bzip2/fz files, with an option to keep/delete compressed files.
  • pipeline.last.coadd.coadd - Coadd LAST images by coordinates or fieldid/camnum/cropid.
  • pipeline.last.queryDB.searchVisits - Search LAST visits by coordinates or fieldid/camnum/cropid.
  • plot.plotLineHoriz - Plot the horizontal line over current axis
  • plot.colorMarkerOrder - Generate a set of colors and marker types for plotting
  • celestial.healpix.nRing - Number of rings in healpix.
  • celestial.healpix.latitudeRings - Return a vector of the latitudes of healpix rings, and the number of pixels in each ring.
  • celestial.time.isUTC - (Linux only) Check if the computer time zone is UTC.
  • pipeline.last.path.constructRefDir - Construct references image directory in LAST or storage machines.
  • plot.ZoomInset - A class for create and control a zoom inset in existing Figure.
  • plot.ginputKeyboard - Click on figure using mouse and keyboard, and get position and keyboard value.
  • imUtil.spec.waveCalib.interactiveWaveCalib - Interactive wavelength calibration by line marking.
  • imUtil.spec.waveCalib.fitWaveCalib - Robust polynomial fitting of pixel position and wavelength.
  • tools.math.fit.fitLinearPoisson - Fit a linear model to data with Poisson noise (e.g., counts).
  • pipeline.last.coadd.findReference - Find reference images based on fieldid, camnum, cropid.
  • AstroImage.readProducts - (static) Read all products associated with an image.
  • pipeline.last.coadd.loadReference - Load LAST reference image.

Yossi Shvartzvald (2024 Dec 15)

  • ultrasat.tools.calcSlew - Calculate ULTRASAT's slew time between targets. Including verification of trajectory distance from Sun/Moon/Earth

Eran Ofek (2024 Dec 14)

  • PasswordsManager/getAllData - Get the content of the Passwords.yml file.
  • PasswordsManager/getProjects - Get the list of all project names stored in the Passwords.yml file.
  • PasswordsManager/getAllKey - Get a specific Key (e.g., user or password) for all projects.
  • PasswordsManager/toStruct - Convert the Passwords.yml to a structure array of passwords.
  • PasswordsManager/getUserPassword - Get User/Pass for specific project and user.
  • db.Db - Adding PasswordsManager treatment (using getter for the Password property).
  • db.Db/disconnect - db disconnect.
  • db.Db/delete - db destractor.
  • db.Db.genWhereClause - (Static) Generate SQL WHERE clause from constraints.
  • db.Db.genQuery - (Static) Generate an SQL query programmatically from constructs.
  • imUtil.mask.maskByPos - Generate a logicals mask of good pixels based on ranges of positions to ignore.
  • imUtil.spec.trace.trace - Find, fit and linazrize traces from spectra in an image.

Sasha Krassilchtchikov (2024 Dec 11)

  • pipeline.LAST.insertArchiveCatalogs2DB - scan a tree of LAST archive data and insert catalog data into a database with the help of db.Db class tools

Eran Ofek (2024 Dec 04)

  • AstroHeader/deleteComment - Delete all comments from the header, or empty comments.
  • telescope.Scheduler/selectRows - Select rows from Scheduler target list.
  • telescope.Scheduler/fieldsCoverHealpix - Given a list of healpix pixels, return the indices of target fields that contains the healpix pixels.

Sasha Krassilchtchikov (2024 Dec 01)

  • ultrasat.measureLabPSF - measure basic PSF properties in a single-source ULTRASAT image (mainly for use by ELOP)

November 2024

Sasha Krassilchtchikov (2024 Nov 25)

  • celestial.search.isPointInsidePolygon - now can be used with a list of sky points
  • ultrasat.tools.extinction - get FOV-averaged A_U values for a list of sky points
  • ultrasat.tools.getFOVcorners - given the aimpoint, get the 4 x 2 matrix of sky coordinates of the FOV corners (w/account of the gap)
  • ultrasat.tools.getFOVcircle - given the aimpoint, get the 300 x 2 matrix of sky coordinates of the 7.19 deg circle around it

Eran Ofek (2024 Nov 25)

  • tools.math.geometry.integralShiftedGaussianInCircle - calculate the integral of a 2-D Gaussian within a circle shifted from the Gaussian center.
  • telescope.spec.fracOfLightWavelengthInFiber - Calculate the effect of color refraction on the spectrum using circular slit (fiber).
  • io.files.deleteZeroSizeFiles - Delete from current directory files with zero size.
  • imUtil.psf.fwhm_fromMoments - Estimate the FWHM of stars in image by finding stars and measuring their 2nd moment.
  • telescope.Scheduler/populateMountAltConstraints - populate MountAltConstraints.
  • telescope.Scheduler/searchFieldName - Search target list by FieldName (exact or substring).
  • telescope.Scheduler/coneSearch - Search indices of targets in list by coordinates
  • telescope.geometry.obstractionModelLAST - Construct and plot enclosure and telescope obstraction model for LAST
  • io.files.read_pkl - Read python pkl files into matlab.
  • tools.math.fun.vShape - Construct a V shape function.
  • imUtil.psf.fitVshape - Fit a V-shape function with two free parameters: MinX, MinY

Sasha Krassilchtchikov (2024 Nov 18)

  • tools.class.char2int64 - convert int64 values written as char (as FITS headers cannot be int64) back to int64 (for the needs of the DB)
  • FITS.correctHeader - check and correct headers of FITS files in a given directory according to a list of keywords and values
  • pipeline.LAST.correctFITShead - a wrapper to run FITS.correctHeader in a tree of archive directories
  • pipeline.LAST.insertArchiveImages2DB - scan a tree of LAST archive data and insert image header data into a database with the help of db.Db class tools

Eran Ofek (2024 Nov 12)

  • getJPL_smallBodyByCoo - Search for small bodies near position and time using JPL horizons.
  • imUtil.psf.fwhm_fromACF - Estimate FWHM using the auto-correlation function.
  • telescope.Scheduler/plot - plot a sky map with fields position in Aitoff projection.
  • tools.string.convert2strings - Convert numeric or char array to strings array and remove trailing/leading spaces.
  • celestial.galaxies.isInsideLMC - Check if coordinates is within the LMC footprints.
  • celestial.galaxies.isInsideSMC - Check if coordinates is within the SMC footprints.
  • tools.table.table2cellOfCols - Convert a table into a cell array of columns which are numeric vectors.
  • pipeline.last package - reorganization and sub-packages.
  • AstroFileName.fileTemplate - (Static) Generate (a single) file template name with optional wild cards based on specific literals.
  • AstroFileName.dirLiteral - (Static) dir-like function with user-provided literals that returns a populated AstroFileName.
  • AstroFileName/repProp - Make sure that the length of all FIELDS and PATH_FIELDS is the same by repmat these fields.

October 2024

Eran Ofek (2024 Oct 30)

  • celestial.time.barycentricJD - adding options for input time in various time scales (UTC|TT|TDB).
  • imProc.db.generateImageID - Generate image 'unique' ID and store it in the header.
  • AstroFileName/insertWildCards - Generate file names with wild cards at specific literals.
  • AstroFileName/findImagesOfVisit - Given a single image name, find in the current dir all images in the same visit.
  • astro.atmosphere.rayleighScattering - Approximate Rayleigh Scattering absorption in the earth's atmosphere as a function of wavelength
  • astro.atmosphere.aerosolScattering - Approximate Aerosol Scattering absorption in the Earth's atmosphere as a function of wavelength
  • telescope.Scheduler.demon - (Static) Execute scheduler in listening mode.
  • celestial.coo.mex.hadec2azalt - Convert HA/Dec to Az/Alt (fast mex version).
  • celestial.coo.mex.haversine_ScalarArray - Spherical distance using the havesine formula (fast mex).
  • celestial.coo.mex.haversineApprox_ScalarArray - Small distance approximation for spherical distance (fast mex).
  • celestial.coo.mex.haversineThresh_ScalarArray - Above threshold spherical distance using the havesine formula (fast mex).
  • tools.math.stat.rstd - Added two new (faster) algorithms. The default remains the same, but please consider switching to Algo=1
  • imProc.db.insertImages - Insert images (headers) to DB.
  • db.util.read_xls2tableFormat - Read xls file containing DB table definitions and prepare structure.
  • db.Db.table2csv - (Static) Convert table to csv file.
  • db.Db/insertCharDump - Insert entries in table object into ClickHouse table using char dump (direct insert).
  • db.Db/insertCsv - Insert table object or csv file into ClickHouse table using csv format insert (bulk).
  • imProc.db.insertCatalog - Insert catalogs in AstroImage to DB.

Sasha Krassilchtchikov (2024 Oct 10)

  • pipeline.DemonLAST - introduced options to re-reduce individual raw images and custom sets of raw images outside of the standard LAST directory structure [new flags: 'NonStandardNew= '' ('non-standard new dir'), 'UpdateStatusFile' = true, 'UnpackRaw' = false, 'RepackRaw' = false]
  • imProc.psf.fwhm - changed the default Step size passed to imUtil.psf.curve_of_growth to 0.5 [pix] (with Step = 1 for best LAST seeing FWHM was undetermined or overestimated by ~ 10%)

Eran Ofek (2024 Oct 8)

  • tools.bit.bitEncode - Encode values as bits in integer
  • tools.string.sprintf2string - Given an array of numbers (or chars) create a string array using sprintf formatting.
  • tools.table.table_cell2string - Given a table object, convert columns in cell array format to strings
  • AstroFileName - New class for managing file names and paths (to replace FileNames)
    • AstroFileName, findFirstLast, genFile, genFull, genPath, genProducts, genRefPath, generateSubDir, getDateDir, groupByCounter, groupByTimeGaps, isemptyFile, julday, julday2time, juldayFun, moveImages, nFiles, readFromHeader, reorderEntries, selectByDate, selectByPropVal, selectLastJD, selectNearest2JD, setTestData, sortBy, sortByFunJD, sunAlt, validTimes, validate, write2header
  • db.Db - New db class to access and manipulate ClickHouse DB.
  • timeSeries.period.period_fitfourier_getH - Construct a design matrix for time series, harmonies, polynomials and constants to use for fitting a periodicity.

September 2024

Eran Ofek (2024 Sep 30)

  • imUtil.image.findMaxNearPos - Given an image and list of coordinates, find max values near the list of positions.
  • imUtil.ccdsec.ccdsecStr2num - Convert CCDSEC in string format to [Xmin, Xmax, Ymin, Ymax] matrix.
  • imUtil.header.headers2table - Export headers in AstroHeader/AstroImage into a table.
  • timeSeries.period.period_fitfourier - updated with new capabilities.
  • MatchedSources/match2AstroCatalog - Match sources in MatchedSources object to sources in AstroCatalog.
  • new celestial.healpix package
  • celestial.healpix.ang2pix - Convert lon/lat to the index of the nearest healpix pixel.
  • celestial.healpix.coneSearch - cone search for healpix pixels.
  • celestial.healpix.isInside - Check if a given point (Lon, Lat) is inside a specified HEALPix pixel.
  • celestial.healpix.nPix - Return the number of pixels in healpix given its Nside.
  • celestial.healpix.uniqueId2pix - Convert healpix unique Id to Nside and pixel index.
  • celestial.healpix.pixRadius - Return the healpix radius, given its NSide.
  • celestial.healpix.pixBoundries - Return healpix pixel boundries corners.
  • celestial.healpix.pix2uniqueId - Return healpix unique Id from Nside and pixel index.
  • celestial.healpix.pix2ang - Return the lon/lat of the centers of the healpix pixels given their index.
  • celestial.healpix.mex.pix2ang_nested - pix2ang/nested.
  • celestial.healpix.mex.pix2ang_ring - pix2ang/ring.
  • celestial.healpix.mex.ang2pix_nested - ang2pix/nested.
  • celestial.healpix.mex.ang2pix_ring - ang2pix/ring.

Sasha Krassilchtchikov (2024 Sep 23)

  • telescope.obs.optimal_route - Optimize order of visits to a set of sky points in terms of distance
  • imProc.art.simulateImage - Simulate a sky image from source PSF and source magnitude distribution in the field

Sasha Krassilchtchikov (2024 Sep 18)

  • imProc.sources.mextractor - a first working version of multi-iteration PSF fitting complex (iteratively find and measure objects in a stack of AstroImages)
  • imProc.sources.unitTest - a test case for imProc.sources.mextractor
  • imUtil.trans.shift_fft - added a new (non-default!) algorithm with Gaussian smoothing and zero-padding in the frequency domain in order to filter out parasite high frequency noise

Eran Ofek (2024 Sep 2)

  • telescope.Scheduler/isNewNight - Check if new night
  • telescope.Scheduler/timeSinceSunSet - Time (days) since last Sunset.

August 2024

Eran Ofek (2024 Aug 26)

  • imUtil.interp.interp2nearest_mex - Fast (mex) 2D nearest interpolation for output grid defined by row and column vectors.
  • tools.math.stat.median1 - Fast median of a vector without ignoring NaNs, using mex.
  • tools.array.conditionalReplace - Perform an operation of the type: M(A>B)=V, where M and A are arrays, using mex.
  • tools.cell.isempty_cell - A much faster mex version. Now mex is used by default.
  • tools.cell.isnan_cell - A much faster mex version. Now mex is used by default.
  • tools.find.mfind_bin - Add mex option (faster) based on Dan's work.
  • tools.hist.histcounts2regular_mex - Fast 2D histogram in a regular grid (mex).
  • tools.math.geometry.pitagoras - Pitagorian distance sqrt(X.^2+Y.^2) using mex.
  • tools.array.sumInRange - Approximate summation of all elements that are not NaN and between MinVal and MaxVal (mex).
  • tools.array.sum2InRange - Sum of squares of an array for all values that are not NaN and between MinVal and MaxVal (mex).
  • tools.find.mex.findEqual - Find values in an array (fast mex version of find).
  • tools.hist.mex.histcounts1regular_mex - 1D histogram of a single/double vector in a regular, equally spaced, grid (fast mex).
  • tools.find.mex.findSmallerFirst - Find the index of the first element in an array which is smaller then some value (fast mex).
  • tools.find.mex.findLargerFirst - Find the index of the first element in an array which is larger then some value (fast mex).
  • tools.array.cropMat - Crop matrix using mex code. In some cases this is faster. Depands on size and type.
  • tools.math.filter.mex.conv1 - 1D convolution (fast mex implementation).
  • tools.array.mex.countNaN - Count the number of NaN in an array (fast mex function).
  • tools.array.mex.countVal - Count the number of times Value appears in an array (fast mex). [Replacing an old slower version].
  • tools.math.stat.mex.minmax - Calculate the min and max of an array of any dimension in one pass (fast mex).
  • tools.array.mex.squeezeSumCubeMatNorm - Fast mex for the operation: squeeze(sum(WInt.*MatXcen,[1 2],'omitnan')).*Norm.
  • tools.math.stat.mex.meanStdSum_2Dcols_IgnoreNaN - Calculate mean std, and sum of a 2D matrix, over first dimensions, ignoring NaNs (fast mex).
  • tools.math.stat.mex.meanStdSum_AllDim_IgnoreNaN - Calculate mean std, and sum of an array, over all dimensions, ignoring NaNs (fast mex).
  • celestial.INPOP/getPos - Expediting its speed for single evaluation, by pre-calculating Tstart, Tend, Tmid.
  • tools.math.stat.mex.squeezeStdCube_Dim12 - Fast mex for squeeze(mean(A,[1 2],'omitnan')) and squeeze(std(A,0,[1 2],'omitnan'))
  • tools.array.mex.squeezeSumAmultB_Dim12 - A fast mex for calculating: squeez(sum(A.*B,[1 2])).*Norm.
  • imUtil.image.moment2 - Added UseMex option using: tools.math.stat.mex.squeezeStdCube_Dim12 and tools.array.mex.squeezeSumAmultB_Dim12

July 2024

Eran Ofek (2024 Jul 19)

  • imProc.vo.getLinkForSource - Get URL link for source in an AstroCatalog/AstroImage/AstroDiff/...

Eran Ofek (2024 Jul 18)

  • imUtil.properSub.dSdPn - Calculate the dS/dP_n (Fn=Fr=1) derivative for ZOGY subtraction.
  • AstroZOGY changes: (1) added S_delta, S_ext properties to store the S image for delta function and extended PSF; (2) modify AstroZOGY/subtractionS; (3) Added new arguments; (4) populate S_ext and S_delta.
  • io.files.WaitForNewFile class - A class for fast recursive search of files with some criteria, including files created after some reference file. Including several methods.
  • io.files.findFiles - Find files using various criteria (UNIX only).
  • tools.timeStamp.getTimeStamp - Get time stamp for now.
  • tools.timeStamp.writeMsg - Write Msg with time stamp to file.
  • tools.timeStamp.readMsgFile - Read msessages and time stamps from file.
  • telescope.Scheduler - A new class to replace celestial.Targets, including many new functions.
  • pipeline.generic.readAndQualify - Read a set of images into AstroImage, update their headers, and check quality.
  • pipeline.last.cleanVisitsVer - Clean visits in LAST archive according to their version (e.g., remove all non v0 versions').
  • pipeline.last.prepVisitCat - Prepare a local catalog of visits, or update the visits catalog.
  • celestial.coo.findInBox - Given a list of corners of multiple fields, check if a given coordinate (scalar) is within these fields.

June 2024

Ruslan Konno (2024 Jun 27)

  • pipeline.last.runTransientsPipe - Run the transients search, takes in a visit directory, performs subtraction and transients search

Eran Ofek (2024 Jun 19)

  • telescope.sn.sn_det_psf - Calculate S/N for detection of a Gaussian PSF.
  • telescope.sn.sn2flux - Convert S/N for dtection to Flux, given background and PSF.
  • imUtil.properSub.dSdF - Calculate the dS/dFn (Fr=1) derivative for ZOGY subtraction.
  • AstroZOGY/get.DSDFn - Getter for the dS/dFn (Fr=1) derivative for ZOGY subtraction.
  • celestial.INPOP.ecliptic_2eqJ2000 - (Static) Rotate [X;Y;Z] Ecliptic coordinates to Equatorial J2000 coordinates.

Sasha Krassilchtchikov (2024 Jun 13)

  • imProc.art.injectSources - inject/subtract source images at given pixel positions of an AstroImage
  • imProc.art.unitTest - test of the imProc.art.injectSources functionality: adding artificial sources to a real image

Eran Ofek (2024 Jun 3)

  • pipeline.DemonLAST.findAllVisitsDir - (Static) Get all proc visits directories under some base path.
  • MatchedSurces.readAndAnalyze - (Static) Read MatchedSources files from a list an execute an analysis function.
  • lcUtil.searchVarCoherent - Search for coherent (period/flaring) variable in a MatchedSources object.

Sasha Krassilchtchikov (2024 Jun 2)

  • imUtil.art.injectStamps - replaced by several smaller-size functions (see below)
  • imUtil.art.injectArtSrc and imUtil.art.directInjectSources -- as a bit ULTRASAT-specfic and not employed elsewhere, moved inside ultrasat.usim ; their general functionality is now available included into the new imUtil.art functions listed below
  • imUtil.psf.shift_resample_rotate - resample a PSF stack / cell array downto Oversampling = 1, make it odd-sized, rotate, and shift
  • imUtil.art.createSourceCube - given a list of source positions, their fluxes, and a cube / cell array of their PSFs, build a cube / cell array of fluxed PSF stamps, optionally rescaled, rotated, made odd-sized, and shifted to whole pixel positions
  • imUtil.art.addSources - inject odd-sized fluxed source images (PSFs) prepared with imUtil.art.createSourceCube into whole pixel positions of an image; NB: the previous version of imUtil.art.injectSources written by N. Segev is now kept an a side option ('Method','NS')
  • imUtil.art.subtractSources - calls imUtil.art.addSources with (...,'Subtract',true)
  • imUtil.art.addBackground - add single-valued or per pixel background to an image or subtract it
  • imUtil.art.addNoise - apply normal or poisson noise to an image of source counts (not count rates!)
  • imUtil.art.unitTest - test some of the imUtil.art functions

May 2024

Eran Ofek (2024 May 31)

  • MatchedSources/plotLC - Plot LC of individual source in MatchedSources object.
  • MatchedSources/corrFields - Calculate the correlation between two Data fields of each source.
  • MatchedSources/setBadPhotToNan - set to NaN photometry with bad flags.
  • MatchedSources/runMeanFilter - Apply a running mean top-hat filter to data and normalize results by std.

Eran Ofek (2024 May 15)

  • timeSeries.filter.runMeanFilter - Apply a running mean top-hat filter to data and normalize results by std.
  • pipeline.last.coaddVisits - Coadd multiple LAST visits of a single field.
  • imProc.stack.coaddHeader - A utility function for preparing a header of a coadd image from an AstroImage array.
  • imProc.stack.coaddW - Weighted Stack/Coadd images in AstroImage object, based on measured Back, Var, and ZP.
  • celestial.coo.sphere_dist_fast - The code now uses the haverside formula - faster and more stable.
  • sphere_dist_fast_threshDist - Fast spherical angular distance calculation with distance threshold (no calculation above threshold).

Apr 2024

Eran Ofek (2024 Apr 27)

  • tools.math.stat.distCorr - Calculate the distance correlation and covariance (independent test).
  • tools.math.stat.stdBias_c4 - Return the c4 bias in std due to finite sample size.

Sasha Krassilchtchikov (2024 Apr 21)

  • imUtil.art.injectStamps - a new function to make an artificial sky image from input source stamps, fluxes, and (optional) background
  • tools.code.updateParFromConfig - update function arguments from a given configuration file (read as singleton)

Ruslan Konno (2024 Apr 14)

  • imUtil.kernel2.gabor2d Moved from imUtil.filter.gabor2d

Ruslan Konno (2024 Apr 10)

  • imUtil.filter.gabor2d Gets a Gabor filter with different wavelengths in x- and y-directions.
  • imUtil.filter.gaborFromPSF Derives a Gabor filter banks based local frequency minima in a PSF.
  • AstroDiff/matchfilterGabor - Derives a S/N matched filter image for Gabor filter(s). Useful in identifying sinusoidal patterns in difference image, i.e., ringing artifacts.

Eran Ofek (2024 Apr 02)

  • io.files.save - save function to avoid Transparency violation error. Use in parfor.

Mar 2024

Eran Ofek (2024 Mar 28)

  • SearchMatchedSources - A class for searching and inspecting variable stars in MatchedSources object. Including multiple methods.
  • pipeline.DemonLAST/findAllVisits - Going over all processed image dir and returning a catalog of visits.
  • MovingSource/isKnownAstPopulated - Return true is KnownAst is populated.
  • MovingSource/findUniqueAsteroidsByNames - Return a list of unique asteroid names with their appearance in the MovingSource object.
  • MovingSource/calcPosCommonTime - Return a table of MovingSource position projected at a common time.
  • pipeline.DemonLAST/removeUnderlineFromFileName - Remove underline from file name and fix header.
  • MovingSource/selectGoodCand - Select good asteroid candidates and classify to types.
  • MovingSource/psfFitExtended - Fit PSF and extended PSF to all stamps and search for extended sources.
  • MatchedSources/searchOrphans - Search orphans in MatchedSources object.
  • pipeline.last.SearchMatchedSources/searchOrphans - Search orphans in MatchedSources object.
  • tools.interp.increaseCurveDensityByLocalInterp - Increase the sampling density of some 2D curve.
  • celestial.coo.funOnCosDir - Given Lon/Lat, apply a function on the cosined and convert back to Lon/Lat.
  • imUtil.asteroids.orphansOnStreak - Given a list of orphans, search for events with the same epoch that are on a straight line.

Sasha Krassilchtchikov (2024 Mar 10)

  • astro.extinction.sky_ebv - included an option to apply the Shlafly & Finkbeiner (2011) recalibration to the classical E(B-V) map of Schlegel, Finkbeiner, and Davis (1998) and made it default (otherwise, use 'Recalibrate',false); also included an option to use a new E(B-V) map of Chiang (2023, ApJ, 958, 118).
  • astro.extinction.extinction - included an option to use the Fitzpatrick (1999) reddening law instead of that by Cardelli, Clayton, and Mathis (1989); still the CCM law is kept the default (for the new option use 'Model','F99')
  • celestial.grid.get_healpix_numbers - a new function to get HEALPIX pixel numbers from sky coordinates and the HEALPIX resolution parameter (npix); the output is a text file with pixel numbers in a row
  • plot.skyCircles - plot sky circles of given radii for a given set of circle centers (on the existing "flat" sky plot)
  • plot.skyEllipses - plot sky ellipses of given semi-major axes, angles, and excentricities for a given set of ellipse centers (on the existing "flat" sky plot)

Feb 2024

Ruslan Konno (2024 Feb 29)

  • AstroDiff/splitNonTransients - New name of AstroDiff/separateNonTransients
  • AstroDiff/displayTransients - Displays transient candidates from CatData over new, ref, difference and other images using ds9
  • AstroDiff/cutoutTransients - New name of AstroDiff/cutouts
  • AstroDiff/matchSolarSystemCat - removed
  • AstroDiff/matchMergedCat - removed
  • AstroDiff/matchGalaxyCat - removed
  • AstroDiff/matchStarCat - removed
  • AstroDiff/matchTransients2Cats - removed
  • imProc.match.match2Galaxies Matches AstroCatalog entries to galaxies using PGC and GLADE catalogs
  • imProc.match.match2Stars Matches AstroCatalog entries to stars using GAIA catalogs
  • imUtil.properSub.findNearestPeakSig - New name of imUtil.properSub.processStatMap

Sasha Krassilchtchikov (2024 Feb 22)

  • ultrasat.scheduleAllSkySurvey - given a sky grid, start time, and time constraints, make a survey schedule
  • ultrasat.LCS_Placement - a first approach to ULTRASAT LCS fields placement
  • AstroHeader.writeCSVforBulkInjection - a new function to dump an array of headers to a .csv file so that they match the structure of a particular table in a DB (without a precise match bulk injection from csv often fails)

Eran Ofek (2024 Feb 21)

  • imProc.cat.insertCol - Insert columns to an AstroCatalogs in AstroImage.
  • lcUtil.fitPolyHyp moved to MatchedSources/fitPolyHyp
  • tools.math.stat.std_outlier1 - Std with a single outlier removal if found outside the expected range.

Ruslan Konno (2024 Feb 20)

  • AstroDiff/findTransients - searches for transients candidates in AstroDiff after subtraction

  • AstroDiff/matchSolarSystemCat - matches found transients candidates to solar system objects

  • AstroDiff/matchMergedCat - matches found transients candidates to merged catalog

  • AstroDiff/matchGalaxyCat - matches found transients candidates to galaxy catalog

  • AstroDiff/matchStarCat - matches found transients candidates to star catalog

  • AstroDiff/matchTransients2Cats - matches found transients candidates to catalogs by calling AstroDiff/matchSolarSystemCat, AstroDiff/matchMergedCat, AstroDiff/matchGalaxyCat, and AstroDiff/matchStarCat

  • AstroDiff/measureTransients - measures additional properties of transients candidates based on subtraction method

  • AstroDiff/flagNonTransients - flags transients candidates that are likely not real transients

  • AstroDiff/findMeasureTransients - calls AstroDiff/findTransients, AstroDiff/matchTransients2Cats, AstroDiff/measureTransients, and AstroDiff/flagNonTransients

  • AstroDiff/separateNonTransients - returns two catalogs by separiting likely non-real transients from the rest, one catalog has transients and the other has non-transients

  • AstroDiff/removeNonTransients - removes transients candidates that are likely not real from the AstroDiff

  • imProc.sub.findTransients - searches for transients candidates in AstroDiff after subtraction

  • imProc.sub.measureTransients - measures additional properties of transients candidates based on subtraction method

  • imProc.sub.flagNonTransients - flags transients candidates that are likely not real transients

  • imUtil.properSub.processStatMap - retrieves peak statistics values from a statistics map around given positions

Sasha Krassilchtchikov (2024 Feb 14)

  • astro.extinction.sky_ebv_new - a new Galactic extinction map of Gontcharov et al. (astro-ph:2402.06474)
    NB: to use it, one'd need to copy the database and its interface function to ~/matlab/data/+cats/+maps/

Eran Ofek (2024 Feb 13)

  • AstroZOGY - AstroZOGY was created and separated from AstroDiff.
  • AstroZOGY/subtractionD - Calculate ZOGY D images and its PSF Pd.
  • AstroZOGY/subtractionS - Given D and Pd, populate S and S_hat.
  • AstroZOGY/subAsFunFn - Return statistics of D image as a function of Fr.
  • AstroZOGY/translient - Apply translient image subtraction to New and Ref in AstroFiff object.
  • AstroZOGY/knkr - Return kn_hat, kr_hat, kn, kr.
  • AstroZOGY/subtractionScorr - Calculate the ZOGY Scorr statistics - S corrected for source noise and astrometric noise.
  • io.files.dirDir - dir function for directories only without '..' and '.'.
  • pipeline.DemonLAST/moveRaw2New_AndDeleteProc - Move raw images back to new/ dir and delete the proc/ dir.
  • imProc.dark.isBiasDark - Check and validate that a set of images in an AstroImage object are bias or dark images.
  • pipeline.DemonLAST/checkMasterDark - Check if MasterDark image is good.
  • pipeline.DemonLAST/checkMasterFlat - Check if MasterFlat image is good.
  • timeSeries.period.period_nufft - Normalized classical power spectrum calculated using nufft. Return results are equivalent to period_normnl, but much faster.
  • Component/insertPropVal - Insert a value in property for all elements of object.
  • timeSeries.stat.searchFlares - Search flares and eclipses in equally spaced time series.
  • MatchedSiurces/searchFlares - Search flares using timeSeries.stat.searchFlares.
  • pipeline.DemonLAST/prepListOfProcVisits - Prepare a list of all processed visits.
  • pipeline.DemonLAST/searchConsecutiveVisitsOfField - Prepare a list of all fields observed consecutively.
  • tools.find.findListsOfConsecutiveTrue - Given a vector of logicals, return a cell array of all lists of consecutive true found in the vector.
  • MatchedSources/countNotNanEpochs - Count the number of not NaN epochs per source.
  • timeSeries.period.getFreq - Given times, get a frequency vector, over which it is recommended to search for periodicity.
  • AstroDiff/cutouts - Create cutouts of images around coordinates.
  • MovingSource/summary - Get summary for all the moving sources.

Jan 2024

Sasha Krassilchtchikov (2024 Jan 28)

  • Installer - a database of Chandra ACIS PSFs (pre-generated with the MIT/MARX tool by M. Soumagnac)
  • VO.Chandra.processChandraPSF - a technical tool to convert 256 MARX PSF tables into a single .mat object for each ACIS chip
  • VO.Chandra.getACIS_PSF - for a given position and roll angle on a given Chandra/ACIS chip, get a Chandra/ACIS PSF (at mono energy or spectrum-weighted)
  • tools.find.findGroupOfConsecutiveVals - in vector A find indices of the Mth group of N consecutive elements = Val

Eran Ofek (2024 Jan 26)

  • imProc.mask.maskNaN - Mask NaN pixels in the bit mask image.
  • imUtil.image.normalize - Additive and multiplicative normalization of an image.
  • FileNames/selectByDate - Select entries by JD in some range.
  • pipeline.last.pointingModel_Solve - Perform astrometric solution to a list of images and keep the data needed for pointing model.
  • pipeline.last.pointingModel_Write - Write the results of pointingModel_Solve into a configuration file.
  • AstroDiff class - A class for ZOGY and Translient image subtraction.
  • AstroDiff/AstroDiff - Constructor for the AstroDiff class. Including setters/getters.
  • AstroDiff/register - Register the New and Ref images in AstroDiff using their WCS.
  • AstroDiff/estimateFnFr - Estimate Fn/Fr (flux matching) and return matching factors such that Fn=1.
  • AstroDiff/estimateBackVar - Estimate global background and variance of New and Ref images.
  • AstroDiff/replaceNaN - Replace NaN pixels in New and Ref with Back value or other value.

Arie Blumenzweig (2024 Jan 24)

  • Added startup for running the LAST pipeline in batch mode (startup/startBatchLASTPipeline.m). Used to initiate the last-pipeline service.

Sasha Krassilchtchikov (2024 Jan 22)

  • ds9.write_polygon_region - write a ds9 region file with multiple polygon lines (ds9.write_region does not produce good enough polygon files)

Eran Ofek (2024 Jan 18)

  • In ImageComponent - added an IsFFT property.
  • AstroDiff - class for storing subtraction images (main file only).
  • pipeline.DemonLAST.prep_zSpecial - (static) prep a zSpecialInst.txt file from a list.

Sasha Krassilchtchikov (2024 Jan 17)

  • added several new columns to image tables defined in db.AstroDb
    NB: when a new version of LAST DB is started, we need to first create the tables manually by the relevant db.AstroDB functions (the pipeline daemon does not do it by itself), and only after that start the pipeline.
  • changed the time stamps for COADD filenames in imProc.io.writeProduct (now they always correspond to the JD of the first image of the relevant visit).

Eran Ofek (2024 Jan 16)

  • MovingSource.read - (Static) Read a MovingSource object from a file.
  • MovingSource.astCrop2MovingSource - (Static) Convert old AstCrop structure into a MovingSource object.

Arie Blumenzweig (2024 Jan 16)

  • Added systemd notication via tools.systemd.mex.notify_ready and tools.systemd.mex.notify_watchdog. Does nothing if environment variable SYSTEMD is not set. The systemd expects the pipeline to use notify_watchdod at intervals less than half an hour.

Sasha Krassilchtchikov (2024 Jan 15)

  • time stamp in the MIDJD keyword of COADD images changed from median to weighted mean of the actual PROC images used to build the COADD in imProc.stack.coadd
  • plot.ungridded_image - color plot an image of Z(X,Y) when X and Y do not form a regular grid
  • ultrasat.ULTRASAT_visibility_maps - calculate and plot uninterrupted ULTRASAT visibilities for the whole sky

Eran Ofek (2024 Jan 14)

  • celestial.coo.invRefraction - Refracted altitude (apparent) to geometrical altitude (real).
  • MovingSource - MovingSources class can be used to store detection of minor planet (or any moving) objects.
  • MovingSource.readFromAstCrop - (Static) Read AstCrop structure (old format) into MovingSource object.
  • MovingSource/nearStatisSrc - Check for static sources near the moving source.
  • MovingSource/nearestKnownAst - Return the angular distance for the nearest known asteroid.
  • MovingSource/selectByBitMask - Select elements of MovingSource object that have specific BitMask.
  • MovingSource/selectMovingFromStamps - Create a catalog of the moving source position as a function of time.
  • MovingSource/reportMPC - Generate MPC report for MovingSource object.
  • MovingSource/dispInfo - Display moving source information on screen.
  • MovingSource/blink1 - Display stamps along with sources, asteroid, and known minor planets positions and blink the images.
  • MovingSource/blink - Interactivly loop over all moving sources with blink1.
  • MovingSource/popKnownAst - Populate KnownAst in all elements of MovingSource object.
  • astro.spec.accretionDiskSpec - Calculate simplified optically thick accretion disk spectrum. (replacing: accretion_disk).
  • tools.math.stat.std_mad - Std using the mean absolute deviation (mad) function.
  • imProc.mask.maskCR - Find cosmic rays (CR) flag them in the mask image, and optionally remove from a catalog.
  • imProc.mask.peak_x1_diff - Set bit mask and optionally remove from catalog sources with X1 position very different than XPEAK.
  • MovingSource/lightCurveVariability - Create simple light curve for moving source.

Sasha Krassilchtchikov (2024 Jan 04)

  • a new function isemptyProperty added to the Base class - check if a given property of a given class matrix is empty (useful for various pipeline checks)

Eran Ofek (2024 Jan 03)

  • plot.xy2axesPos - Given axis handle and X/Y positions, return the position in the axes coordinates.
  • MatchedSources/plotRMSint - plot rms vs. magnitude with interactive selection of stars.
  • celestial.convert.precessCoo - Precess coordinates.
  • celestial.convert.convert_ha - Convert HA/RA to RA/HA.
  • celestial.INPOP.init - (static) Create and populate celestial.INPOP object.
  • celestial.convert.j2000_toApparent - Calculate the apparent position of stars.
  • celestial.convert.cooResolve - Convert units for input coordinates or resolve object name into coordinates.
  • celestial.convert.refractedCoo - Apply atmospheric refraction to RA and Dec coordinates.
  • celestial.convert.apparent_toJ2000 - Apparent coordinates to J2000 coordinates (approximation!).

Sasha Krassilchtchikov (2024 Jan 01)

  • celestial.search.isPointInsidePolygon - A logical function to tell if a point on a sphere falls inside a given spherical polygon. Will work even if the polygon includes one of the poles, but not both poles at a time.
  • Installer - added a section for MinorPlanetsCT data (merged common epoch orbital elements)

Dec 2023

Eran Ofek (2023 Dec 14)

  • Add property Table to AstroTable - convert the catalog to table format.
  • imUtil.spec.trace.linearizeTrace - Given an image containing a curved trace, and the trace function, generate a linearized version of the image.
  • imUtil.spec.extract.backStd - Calculate the std of the background in a 2D spectral image.
  • imUtil.spec.extract.measurePSF - Measure line-PSF in spectral image.
  • imUtil.spec.extract.fitPSF1d - Given a linear spectrum in a 2D image, fit the flux of a line-PSF to each wavelength.
  • imUtil.spec.extract.aperPhot - Given a linear spectrum in a 2D image, extract flux in aperture from each wavelength.
  • imUtil.spec.waveCalib.fitWaveCalib - Robust polynomial fitting of pixel position and wavelength.
  • io.files.renameFile - Rename file names using regular expression replacement.
  • FITS.fpack - Compress FITS files using fpack.
  • FITS.funpack - Uncompress FITS files using fpack
  • astro.binary.predictTransit - Given binary ephemeris, predict the time of transits.

Sasha Krassilchtchikov (2023 Dec 14)

  • a new sub-package astro.extinction created:
    astro.spec.extinction moved to astro.extinction.extinction
    astro.spec.sky_ebv moved to astro.extinction.sky_ebv
  • a new sub-package celestial.grid created for sky tessellation functions:
    celestial.coo.tile_the_sky moved to celestial.grid.tile_the_sky
    celestial.grid.make_healpix_grid - construct a grid of HEALPix (text file output)
  • appropriate syntax changes due to functions renaming implemented throughout the AstroPack

Sasha Krassilchtchikov (2023 Dec 13)

  • astro.extinction.extinctionGrid - make a .mat object containing extinction (A_lam) for a given sky grid and filter (or frequency)
  • celestial.grid.statSkyGrid - calculate statistics of a gridded value for a given sky position and radius (employs equiareal grids of HEALPix)
  • ~matlab/AstroPack/matlab/astro/+celestial/+grid/make_healpix_grid.py - make a sky grid of equiareal HEALPix positions
  • celestial.grid.make_healpix_grid - matlab wrapper for make_healpix_grid.py

Eran Ofek (2023 Dec 11)

  • imUtil.spec.lines.xcorrLineWidth - Correlation coef. between data and template when the template is convolved with a filter.
  • In: celestial.OrbitalEl.loadSolarSystem - added a 'merge' option - upload a merged OrbitalEl object with numbered, unnumbered, and comets with common epoch.
  • DS9analysis/plotKnownAst - Search for known minor bodies in image coordinates and plot their positions.
  • celestial.OrbitalEl/desig2number - Convert asteroid designation to number.
  • AstroSpec/getSkyArcsSpecLines - Get sky/arcs spectra and lines list DB.
  • AstroSpec/getSpecPhotStandard - Get spectrum of standard star.
  • AstroSpec/scaleWave - Scale wavelength axis (multiply by scale).
  • AstroSpec/shiftWave - Shift wavelength axis (add a shift).
  • timeSeries.peaks.localMax - Find local maxima in 1D time series, including pre-filtering and thresholding.
  • timeSeries.filter.filterStd - Calculate the 1-D std filter on equally spaced time series.
  • imUtil.filter.xcorr1_scale_shift - Find the best shift and scale between two time series using cross-correlation.
  • imUtil.spec.trace.fitTrace - Fit a trace position as a function of wavelength position.
  • pipeline.DemonLAST/specialInstruction - Check for pipeline special instructions and modify arguments using new instructions.

Eran Ofek (2023 Dec 4)

  • imProc.cat.getCat - Get only the AstroCatalog from AstroImage or AstroCatalog and populate JD.
  • imProc.astrometry.getCooCenter - Get image/catalog center coordinates and radius.
  • imProc.match.match2solarSystem - (rewritten) Match sources in AstroCatalog object to Solar System objects.
  • ds9.isXPAexist - check if xpa is installed.
  • imUtil.spec.extract.fitBackground - Fit background to a 2D spectral image.
  • timeSeries.interp.uniformResample - Uniform resampling of a non-evenly spaced time series (replacing: resample_uniform)
  • tools.os.df - Get disk storage status (for UNIX-like systems).
  • imUtil.background.modeVar_LogHist - Estimate the mode and variance of an array (over all dims).

Sasha Krassilchtchikov (2023 Dec 03)

  • imProc.psf.constructPSF is obsoleted by imProc.psf.populatePSF (still can be used as a non-default option of the latter). Appropriate call changes implemented and tested throughout the AstroPack.

Nov 2023

Eran Ofek (2023 Nov 30)

  • celestial.OrbitalEl/insertElements - Insert orbital elements from one object into a second object.
  • celestial.OrbitalEl/propagate2commonEpoch - Propagate all orbital elements to a common epoch.
  • celestial.OrbitaEl/searchMinorPlanetsNearPosition - (fixing bugs and rewrite) Search all minor planets/comets near position on a specific date.
  • celestial.ephem.ephemKepler - Calculate ephemerides for OrbitalEl object.
  • celestial.ephem.ephemMultiObj - Generate multiple targets ephemeris for a single epoch by orbital integration.
  • celestial.ephem.ephemKeplerMultiTime - Calculate ephemerides for OrbitalEl object by solving the Kepler equation.
  • celestial.ephem.ephemKeplerMultiObj - Calculate ephemerides for OrbitalEl object by solving the Kepler equation.
  • moved astro.mag.meanPhotonWeightedFlux, astro.mag.transmissionMeanWave, astro.mag.transmissionPivotWave, astro.mag.transmissionEffWave from +spec to +mag
  • astro.mag.spec2ABmag - Convert spectrum + transmission to AB magnitude.

Eran Ofek (2023 Nov 24)

  • BitDictionary/showDictionaries - Show all avialable BitMask-related configuration files.
  • celestial.OrbitalEl.targetBaryPos - Target barycentric position. Calculate the target barycentric position in a rectangular J2000.0 equatorial system. The calculation can be done by solving the Kepler equation, or by direct integration of the equation of motion, under perturbations from all the planets.
  • celestial.OrbitalEl.integrateElements - Convert OrbitalEl object from one epoch to another via direct integration of the target given perturbations from all major planets. This can be used to convert multiple target elements that have a common epoch into a new (scalar) epoch.

Eran Ofek (2023 Nov 21)

  • MatchedSources.rdirMatchedSourcesSearch - (static) Recursive search for MergedMat files and return file names. The output is a structure array in which each element contains the file name per CropID.
  • MatchedSources.readList - (static) Read a list of MatchedSources hdf5 files into a MatchedSources object.
  • celestial.OrbitalEl.elements2pos - Get rectangular coordinates and velocity from orbital elements at some epoch.
  • MatchedSources/selectGoodPhotCalibStars - Selects stars which are good for photometric calibration. Given a single element MatchedSources object select stars which have good FLGAS, good S/N, errors and chi^2.
  • celestial.INPOP/populateAll - Populate all INPOP tables.
  • tools.code.newFun - Create a new function in existing package.
  • celestial.SolarSys.getJPL_allOrbitalElements - Retrieve orbital elements as a function of time for all minor planets.
  • tools.unitTester.testAll - Search and execute all the unitTest functions in AstroPack.
  • celestial.Kepler.xyz2elements - Convert rectangular heliocentric coo. and vel. to orbital elements.

Sasha Krassilchtchikov (2023 Nov 12)

  • AstroPSF - according to a request of Yossi, added an option to fill the PSF with a synthetic kernel immediately at the object's creation:
    AP = AstroPSF('Synthetic','gauss','GaussSigma',[3 4 0],'StampSize',[15 19]);
    AP = AstroPSF('Synthetic','lorentzian','LorentzianGamma',2);
    AP = AstroPSF('Synthetic','cosbell','CosbellRadii',[6 10],'StampSize',21);
    AP = AstroPSF('Synthetic','moffat','MoffatAlphaBeta',[0.7 3]);

Eran Ofek (2023 Nov 11)

  • timeSeries.period.periodFoldedEventsBeaming - Search for beaming periodicity in time tagged and energy tagged photon list.
  • celestial.SolarSys.getJPL_ephem - A general purpose access to JPL horizons ephemeris.
  • celestial.INPOP/compare2JPL - Compare INPOP to JPL horizons ephemeris.
  • celestial.OrbitalEl/ephemKeplerMultiObj - Calculate ephemerides for OrbitalEl object by solving the Kepler equation. This function is optimized for multi objects.
  • celestial.OrbitalEl/ephemKeplerMultiTime - Calculate ephemerides for OrbitalEl object by solving the Kepler equation. This function is optimized for multi times.
  • celestial.OrbitalEl/ephem - [New version] Calculate ephemerides for OrbitalEl object. This function calls ephemKeplerMultiObj or ephemKeplerMultiTime, or ephemIntegrate.

Eran Ofek (2023 Nov 08)

  • tools.math.stat.medianSparse - Calculate the median of an array using only a sub-sample of the points.
  • imProc.stat.medianSparse - Return the median of AstroImage object images, using the tools.math.stat.medianSparse function.

Sasha Krassilchtchikov (2023 Nov 07)

  • db.AstroDb.insert - added options for bulk injection of catalog and header data
  • pipeline.DemonLAST - a) added some [INF] log messages to better monitor the performance and speed; b) clarified and compactified the DB part

Eran Ofek (2023 Nov 06)

  • celestial.INPOP.forceAll - Calculate the Sun+Planets+Moon force on a Solar System object.
  • celestial.SolarSys.earthObserverPos - Earth/topocentric ecliptic position relative to the Solar System barycenter.
  • celestial.OrbitalEl.ephemKepler - Calculate ephemerides for OrbitalEl object by solving the Kepler equation (like ephem, but without the integration option).
  • tools.array.init - Initialize an array with a given value (Mex version available to potentially speed up the process).
  • plot.getInteractive - Get clicked positions (mouse, key, rect) interactively.
  • celestial.SolarSys.anglesFromDistances - Given Distances between 3 bodies, return the angles.
  • celestial.SolarSys.cart2eqAng - Topocentric cartesian ecliptic (or eq.) to equatorial J2000 RA, Dec.
  • imProc.instCharc.fwhmPosition - Measure the FWHM as a function of position in AstroImage object.

Chen Tishler (2023 Nov 02)

  • Added new functions in tools.os: getCmdLine(), getPid(), getProcessList(), getProcessName(), updateWatchdogFile()
  • Fixes in SnrApp: Terminated after 8 hours, the batch file loads python monitor before running the matlab process in loop

Oct 2023

Eran Ofek (2023 Oct 29)

  • tools.code.countLinesCode - Count lines of .m files code under some directory.
  • celestial.INPOP.getAll - Get the position and velocity for all INPOP objects.
  • celestial.SolarSys.getJPL_CloseApproachNEO - Get list of NEO close approaches to Earth along with their JPL ephemeris.

Sasha Krassilchtchikov (2023 Oct 29)

  • AstroPSF - a new version of the class file supporting multi-D PSF stamps and with a number of additional properties and functions replaced the current one (a detailed description will be given in the git Wiki at https://github.com/EranOfek/AstroPack/wiki/AstroPSF)

Eran Ofek (2023 Oct 28)

  • tools.rand.randInCirc - Generate random numbers uniformly within a circle.
  • astro.stars.limbDarkening - Return the limb darkening value as a function of mu and coef.
  • astro.stars.getClaret2020_LimbDarkeningWD - Get the Claret (2020) WD limb darkening coef.
  • cats.stars.limbDarkening.LimbDarkeningWD_4par - Table of 4par limb darkening for WDs from Claret (2020)

Nora Strotjohann (2023 Oct 27)

  • pipeline.DemonLAST.getRefImage - implemented function. Still missing: what to do when more than one reference image available, deal with missing CropID, FieldID or coordinate string not in file name
  • pipeline.DemonLAST.populateRefPath - repaired function

Sasha Krassilchtchikov (2023 Oct 26)

  • tools.math.filter.smooth_downsample - smooth a 1D function with a Gaussian kernel and then downsample it by a whole factor (this can be used, e.g., to digest collections of high-resolution spectra and produce more compact archives at lower resolution without loosing the main features and with keeping the total energy and the spectral energy balance between different bands)
  • imUtil.psf.containment renamed to imUtil.psf.quantileRadius (with appropriate call name changes throughout the AstroPack)
  • tools.os.relPath2absPath - make the path of a file or of a directory absolute if it is relative
  • imUtil.psf.oversampling - resample a PSF stamp to a different pixel scale

Sasha Krassilchtchikov (2023 Oct 25)

  • pipeline.DemonLAST.unitTest - a unit test for the DemonLAST pipeline: a minimal example (MWP) containing 1 x 20 standard exposures taken by LAST.01.08.03 at 2023/06/16. The test performs a single run of the pipeline up to COADD, writes the products to the disk, but does not invoke any DB manipulation (in order to be possible to run it in a wider range of environments and machines). An important note: before running the test, a user needs to install the dataset with the Installer class: I = Installer; I.installSingle('LASTpipelineUnitTest');
  • imUtil.psf.normPSF - normalize a PSF stamp or to 1 or to the rms value

Eran Ofek (2023 Oct 24)

  • timeSeries.filter.fitFilter1D - Matched filter fitting of a 1-D time series with a template bank.
  • timeSeries.period.periodFoldedMatchedFilter - Matched filter periodicity search for unevenly spaced light curves.
  • celestial.OrbitalEl.compareEphem2JPL - (Static) Compare ephemeris with JPL ephemeris [see issue 263]
  • astro.spec.meanPhotonWeightedFlux - Calculate the mean flux (photon-weighted) multiplied by the response.
  • astro.spec.fLambda2fNu - Convert specific flux in f_lambda to f_nu units.
  • astro.spec.fNu2fLambda - Convert specific flux in f_nu to f_lambda units.
  • astro.spec.sourceInstSensetivity - Calculate the Source independent instrumental sensitivities.
  • astro.spec.transmissionPivotWave - Calculate the Pivot wavelength of a transmission function.
  • transmissionEffWave - Calculate the effective wavelength of a transmission function.
  • transmissionMeanWave - Calculate the mean wavelength of a transmission function.
  • pipeline.DemonLAST/populateRefPath - Get path for reference images location on the LAST computers.
  • pipeline.DemonLAST.getCamNumFromProjName - (Static) get camera number from project name.
  • timeSeries.detrend.regress - Detrend a time series by regression against external parameters.
  • timeSeries.detrend.cleanByExternalSigmaClip - Clean dataset in a matrix by selecting entries that are with N*sigma from the mean of each column.

Sasha Krassilchtchikov (2023 Oct 19)

  • ultrasat.weightedPSFindex - build an array of spectra for ULTRASAT PSF weighting or find the index of a particular spectrum in this array, which is able to include any types of spectra (currently populated with the whole set of Pickles' spectra for normal metallicity and with blackbodies)
  • ultrasat.weightedPSF - added a section which can be used to build a "universal" weighted PSF library including all types of spectra
  • ultrasat.getULTRASAT_PSF - added a section to deal with a "universal" weighted PSF library

Eran Ofek (2023 Oct 18)

  • plot.cornerPlot4cube - Cut a cube to all possible 2D cuts, and plot.
  • tools.array.arrayAllCuts - Cut a cube to all possible 2D cuts (1 by 2, 1 by 3, ..., 2 by 3, etc.
  • tools.array.arrayMarginalization - For each dimension in an array, marginalize over all other dimensions. Also apply function prior and following the marginalization.
  • imProc.sources.getSrcStamps - Given an AstroImage, get a cube of stamps around sources.
  • AstroCube - A container class for Cubes of images and stamps

Sasha Krassilchtchikov (2023 Oct 15)

  • Installer - added a section for the HST Low Resolution Stellar Library (http://astro.wsu.edu/hststarlib/), added support for data archives in ZIP format
  • AstroSpec.specHSTStarlib23 - access to the spectra of the HST Low Resolution Stellar Library

Eran Ofek (2023 Oct 15)

  • timeSeries.period.periodPoisson - Power spectrum (periodogram) for time-tagged events with Poisson statistics. Function created (partial testing done).
  • timeSeries.period.periodFoldedEvents - Search periodicity in time-tagged events by folding and sin fitting.
  • VO.Chandra.getSrcPhotons - Get Chandra photons of a single source over all ObsIDs.

Sasha Krassilchtchikov (2023 Oct 13)

  • ultrasat.weightedPSF - construct a library of spectrum-weighted ULTRASAT PSFs based on Pickles' stellar spectra or black body spectra
  • ultrasat.getULTRASAT_PSF - get a weighted PSF stamp either from a prepared library of Pickles' or black body spectra or to directly produce a weighted PSF stamp for a given stellar class and angular distance of the source

Sasha Krassilchtchikov (2023 Oct 8)

  • astro.stars.tlogg2picklesClass - Get a star's spectral class and luminosity class from its Teff and log(g)
  • AstroPSF1 - a development version of AstroPSF capable of dealing with multi-D PSF stamps

Eran Ofek (2023 Oct 7)

  • imProc.psf.populatePSF - Populate PSF in an AstroImage (to replace constructPSF).
  • astro.stars.mass_radius_lum - Return the mass-radius-effective T, logg, Lum, for the main sequence.
  • astro.binary.self_microlensing - Calculate the self microlensing for binary stars.
  • MatchedSources/searchFlags - Identify specific flags in MatchedSources matrix.
  • MatchedSources/countFlags - Count specific flags per source or per epoch.
  • MatchedSources/lsqRelPhot - Perform relative photometry calibration using the linear least square method.
⚠️ **GitHub.com Fallback** ⚠️