- Remove
nptyping
which is not compatible with Numpy 2.0. - Ensure support for 3.10-3.13.
- Update workflows and Docker image building.
- Improve stopping the guider when it is sleeping between exposures.
- Do not show
PROCESSING
status after processing completes.
- Use
uv
for packaging and update workflows.
- #24 Ensure group write permissions for new files in Docker container.
- Format and lint using
ruff
. - Relax Python requirement to
>=3.10,<4
.
- Fixed dynamically setting
additionalProperties: true
in the schama. Apparently something has changed withjsonschema 4.22.0
and now changing the schema in the actor is not sufficient; one must then recreate the validator with the modified schema.
- Fix comment for keyword
REFFILE
being too long when the keyword is populated.
- Added
AIRMASS
andGUIDERV
keywords to co-add FITS files and data frames.
- Added
RA
,DEC
,FWHM
,ISFSWEEP
to thePROC
headers,FrameData
, andlvmops.agcam_frame
. All AG frames are now loaded to the database, not only those associated with an exposure. Focuser
now uses a temperature model to estimate the initial best focus.- Added
adjust-focus
andfocus-info
commands. If a focus sweep has been previously executed,adjust-focus
can be used to adjust the focuser position based on the delta temperature between the bench temperature during the focus sweep and the current temperature.
- Use inverse standard deviation as weights for the focus spline fit.
Focuser
now has an option to require the best resulting focus to be in the range of focuser positions tested or it will automatically repeat the focus sweep with a larger step size.
- Upgraded
astropy
to 6.0.0. The docker image now tries (but continues if it fails) to update theastropy-iers-data
package before running the actor and internallylvmguider
should never try to download IERS data over the internet.
- Fixed
pandas
deprecation inlvmguider.extraction
.
- Actually import the
corrections
command. - Use WCS to determine
RAMEAS
,DECMEAS
,PAMEAS
in co-added images. - Wrap
offset_pa
in the -180 to 180 range.
In addition to the changes listed under 0.4.0b2
, this version provides:
- #8 Added
corrections
command.
- Reported FWHM were actually Gaussian sigmas. This has not been fixed.
- Improved matching of extracted sources with Gaia DR3.
In addition to the changes listed under 0.4.0b1
, this version provides:
- #7
stop
command now cancels the guider task for faster performance.
- If a single camera fails to match with Gaia during guiding, retry that camera using astrometry.net.
- Use 25% percentile to calculate the FWHM.
- The co-add file watcher seemed to skip files. Apparently this happens because some events are detected as a file being moved (from a temporary file to the final
.fits.gz
file) instead of a file creation. This version handles both kinds of events. - Various fixes for the co-added code when dealing with missing data.
- #5 Major refactor of the guider code.
- Extracted sources are always matched to Gaia DR3 regardless of whether the solution was obtained using astrometry.net or kd-tree.
lmag
zero points are calculated for each source. - Once acquisition is complete the WCS of the individual cameras is determined from the Gaia cross-match, and not by tranlating the reference WCS using the measured offset. This allows each new WCS to also reflect changes in PA.
- Average zero points and PAs are output.
- All the metadata is carried out in two dataclasess,
CameraSolution
andGuiderSolution
. - The output data model has changed. Former
proc-
files are now namedlvm.{telescope}.guider
, and sources are saved asparquet
tables. The latter allows to preserve the column types in the presence of missing data.
- Extracted sources are always matched to Gaia DR3 regardless of whether the solution was obtained using astrometry.net or kd-tree.
- #6 Major improvements to co-adding code. QA plots generated during the co-adding process and the results are loaded to the database.
- Implemented guiding in rotation/PA.
- Added script to reprocess all MJDs at LCO and generate co-added products.
- Added file watcher to generate co-adds during the night. Updated the container image to support running the file watcher as a Kubernetes service.
- Improved the sigma clipping of FWHM outliers.
- Renamed references to "master frame" to "full frame". Coordinates are now referred to as
x_ff
andy_ff
.
- #3 Plotting of focus sweep and fit data using a cubic spline.
- #4 Added code to generate co-added frames and QA metrics. This code will probably change significantly before it's used routinely.
- Command telescope offsets with more relaxed thresholds for axis errors. Timeout and continue guiding if the offset takes longer than a certain amount of time.
- Command PlaneWave offsets with more relaxed
axis_error
and a reasonable timeout to prevent offsets taking long to complete under windy conditions.
- Use actor model for
lvm.TEL.foc
to reduce polling. - Round up
focus_position
. - Prevent
astropy
from downloading data from the internet.
- Set guider to
IDLE`` after
stop --now
.
- #2 Improvements to
proc-
file and WCS:- Set
WCSMODE
in header. - Solve both cameras at the same time.
- Store WCS for individual images in PROC extension (only for acquisition frames).
- Add reference frames to
proc-
file. - Update
proc-
file WCS during guiding using reference WCS and offsets. - Fix offsets in header.
- Set
- Take into account the offset of the reference image when guiding.
- Handle compressed AG images.
- Fix a cosine of the declination in the calculation of the offsets during guiding, which caused guiding to drift away and revert to acquisition.
- Fix cases in which the measured position would not be reported.
- Fix repeated
-t
flag inexpose
command. - Fix some cases in which the sequence number for the next AG exposure would be off or would use a sequence number for which exposures already existed.
- Lint using
ruff
.
- Initial version of the guider with functioning focus, acquisition, and guiding routines.