Draft: Resync the timestamps of the light curve
Description
This MR aimed at re-synchronizing a light curve in the time domaine.
It can be used in two typical applications:
- In an occultation workflow
To get rid of any consideration on which item in the setup creates which kind of delay, the goal is to refere to a precise timebase: the PPS (pulse per second) signal supplied by the GPS modules. This is used by some occultation enthusiasts.
This PPS can be inserted in a .ser file (the standard file format used for occultations), looking like a blinking star beating at a rate of 1 pulse per second.
This can be achieved with any hardware like [http://www.nocturno.fr/ost/ost.html![OptoPPS] or this one (the blinking light is sent via an optic fiber to an eyepiece inserted in a reversed OAG):
Siril (with this MR) will process the blinking star to retrieve a precise resync delay. And then, applying this delay will resynchronize the final light curve of the occultation.
- In an exoplanet workflow
Some exoplanets can exhibit strong time transit variations (TTV), leading to erroneous modeling.
When one knows the error often expressed in minutes (after a first try in fitting the curve), it becomes easy to shift the timestamps and retrieve a matching model.
In both applications, only the timestamps of the final light curve file (.dat) is modified.
Additional Notes
The overall behaviour of this MR is satifactory.
Hope this feature is not out of the scope of Siril.
Some parts in the code do not bring satisfaction, that's where I need help, too.
Merge Request Checklists
-
Code follows project coding guidelines and its checklist -
I have submitted a MR in the documentation repository if required -
I have updated Changelog and NEWS, listing the related issues. -
If my MR introduces new dependencies, I have run all the CIs, even the optional (manual) jobs.