Kstars
align.h
59 *@short Align class handles plate-solving and polar alignment measurement and correction using astrometry.net
60 * The align class employs StellarSolver library for local solvers and supports remote INDI-based solver.
61 * StellarSolver supports internal and external solvers (Astrometry.net, ASTAP, Online Astrometry).
62 * If an image is solved successfully, the image central J2000 RA & DE coordinates along with pixel scale, rotation, and partiy are
64 * Index files management is supported with ability to download astrometry.net files. The user may select and edit different solver
65 * profiles that provide settings to control both extraction and solving profiles in detail. Manual and automatic field rotation
66 * is supported in order to align the solved images to a particular orientation in the sky. The manual rotation assistant is an interactive
68 * Align module provide Polar Align Helper tool which enables easy-to-follow polar alignment procedure given wide FOVs (> 1.5 degrees)
110 * Ekos::Align interface provides advanced scripting capabilities to solve images using online or offline astrometry.net
123 * select the filter device from the available filter drivers. The filter device can be the same as the CCD driver if the filter functionality was embedded within the driver.
140 * @param isGenerated Set to true if filename is generated from a CCD capture operation. If the file is loaded from any storage or network media, pass false.
167 * @return Returns State of load slew procedure. Idle if not started. Busy if in progress. Ok if complete. Alert if procedure failed.
281 * @brief getCalculatedFOVScale Get calculated FOV scales from the current CCD+Telescope combination.
285 * @note This is NOT the same as effective FOV which is the measured FOV from astrometry. It is the
306 * @brief Sync the telescope to the solved alignment coordinate, and then slew to the target coordinate.
327 static void generateFOVBounds(double fov_h, QString &fov_low, QString &fov_high, double tolerance = 0.05);
354 * @param CCDNum By default, we check the already selected CCD in the dropdown menu. If CCDNum is specified, the check is made against this specific CCD in the dropdown menu. CCDNum is the index of the CCD in the dropdown menu.
360 * @param filterNum By default, we check the already selected filter in the dropdown menu. If filterNum is specified, the check is made against this specific filter in the dropdown menu.
379 * Loads an image (FITS, RAW, or JPG/PNG) and solve its coordinates, then it slews to the solved coordinates and an image is captured and solved to ensure
414 * @param type Set solver type. 0 LOCAL, 1 REMOTE (requires remote astrometry driver to be activated)
425 * Loads an image (FITS, RAW, or JPG/PNG) and solve its coordinates, then it slews to the solved coordinates and an image is captured and solved to ensure
435 * coordinates is calculated. When Slew to Target is selected, the mount would be slewed afterwards to
468 * @param binIndex Index of binning value. Default values range from 0 (binning 1x1) to 3 (binning 4x4)
475 * @brief Solver finished successfully, process the data and execute the required actions depending on the mode.
480 * @param eastToTheRight When the image is rotated, so that North is up, East would be to the right.
482 void solverFinished(double orientation, double ra, double dec, double pixscale, bool eastToTheRight);
516 * @brief checkIfRotationRequired Check whether we need to perform an ALIGN_ROTATING action, whether manual or automatic.
573 * @brief After a solver process is completed successfully, sync, slew to target, or do nothing as set by the user.
629 * @brief syncSettings When checkboxes, comboboxes, or spin boxes are updated, save their values in the
657 * @brief Calculate Field of View of CCD+Telescope combination that we need to pass to astrometry.net solver.
667 * @brief calculateAlignTargetDiff Find the difference between aligned vs. target coordinates and update
727 * @brief getEffectiveFOV Search database for effective FOV that matches the current profile and settings
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SCRIPTABLE Q_NOREPLY void setSolverAction(int mode)
DBUS interface function.
Definition: align.cpp:1750
Q_SCRIPTABLE Q_NOREPLY void setExposure(double value)
DBUS interface function.
Definition: align.cpp:3029
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:76
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
void checkCamera()
Check CCD and make sure information is updated and FOV is re-calculated.
Definition: align.cpp:589
Q_SCRIPTABLE QList< double > getTargetCoords()
getTargetCoords QList of target coordinates.
Definition: align.cpp:3738
bool checkIfRotationRequired()
checkIfRotationRequired Check whether we need to perform an ALIGN_ROTATING action,...
Definition: align.cpp:2369
void setTelescopeCoordinates(const SkyPoint &position)
Set the coordinates that the mount reports as its position.
Definition: align.h:459
Q_CLASSINFO(Name, Value)
Q_SCRIPTABLE bool setFilter(const QString &filter)
DBUS interface function.
Definition: align.cpp:3092
Q_SCRIPTABLE Q_NOREPLY void setSolverMode(int mode)
DBUS interface function.
Definition: align.cpp:546
virtual bool event(QEvent *event) override
Definition: indicamerachip.h:22
void syncCameraControls()
syncCCDControls Update camera controls like gain, offset, ISO..etc.
Definition: align.cpp:897
void processData(const QSharedPointer< FITSData > &data)
Process new FITS received from CCD.
Definition: align.cpp:1635
Q_SCRIPTABLE Q_NOREPLY void setTargetCoords(double ra0, double de0)
DBUS interface function.
Definition: align.cpp:3722
static QStringList generateRemoteOptions(const QVariantMap &optionsMap)
generateOptions Generate astrometry.net option given the supplied map
Definition: align.cpp:1178
void SlewToTarget()
Sync the telescope to the solved alignment coordinate, and then slew to the target coordinate.
Definition: align.cpp:2903
Definition: indirotator.h:19
bool loadAndSlew(const QByteArray &image, const QString &extension)
DBUS interface function.
Definition: align.cpp:3006
bool setCamera(ISD::Camera *device)
Add Camera to the list of available Cameras.
Definition: align.cpp:627
The QProgressIndicator class lets an application display a progress indicator to show that a long tas...
Definition: QProgressIndicator.h:23
Definition: indimount.h:26
void getCalculatedFOVScale(double &fov_w, double &fov_h, double &fov_scale)
getCalculatedFOVScale Get calculated FOV scales from the current CCD+Telescope combination.
Definition: align.cpp:990
QStringList generateRemoteArgs(const QSharedPointer< FITSData > &imageData)
Generate arguments we pass to the remote solver.
Definition: align.cpp:1268
Definition: indicamera.h:46
void refreshAlignOptions()
refreshAlignOptions is called when settings are updated in OpsAlign.
Definition: align.cpp:3398
void updateProperty(INDI::Property prop)
Process updated device properties.
Definition: align.cpp:2559
QString join(const QString &separator) const const
void checkCameraExposureProgress(ISD::CameraChip *targetChip, double remaining, IPState state)
checkCameraExposureProgress Track the progress of CCD exposure
Definition: align.cpp:3207
void setAstrometryDevice(const QSharedPointer< ISD::GenericDevice > &device)
setAstrometryDevice
Definition: align.cpp:3385
void solverFinished(double orientation, double ra, double dec, double pixscale, bool eastToTheRight)
Solver finished successfully, process the data and execute the required actions depending on the mode...
Definition: align.cpp:2008
Q_SCRIPTABLE Q_NOREPLY void setBinningIndex(int binIndex)
DBUS interface function.
Definition: align.cpp:3034
void checkFilter()
Check Filter and make sure information is updated accordingly.
Definition: align.cpp:3109
bool syncTelescopeInfo()
We received new telescope info, process them and update FOV.
Definition: align.cpp:803
Definition: indidome.h:22
bool setFilterWheel(ISD::FilterWheel *device)
addFilterWheel Add new filter wheel filter device.
Definition: align.cpp:3049
Align class handles plate-solving and polar alignment measurement and correction using astrometry....
Definition: align.h:73
void executeGOTO()
After a solver process is completed successfully, sync, slew to target, or do nothing as set by the u...
Definition: align.cpp:2838
void setTarget(const SkyPoint &targetCoord)
Set the alignment target where the mount is expected to point at.
Definition: align.cpp:3731
void getFOVScale(double &fov_w, double &fov_h, double &fov_scale)
getFOVScale Returns calculated FOV values
Definition: align.cpp:956
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 03:58:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 03:58:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.