Closed taldcroft closed 3 years ago
possible dumb question: What is the purpose of the "requested number of guide stars" being provided to the algorithm? It seems to be overwritten based on what is actually found. Is it there only for error checking at the end?
Not a dumb question. It has been a while but IIRC the number of guide stars requested "of the guide star selection algorithm" is there as an upper limit to help with trivial optimization. If it is an OR and we only need at most 5 guide stars, the search stages and such will stop when we have 5 selectable stars.
Description
When getting a catalog via
aca = get_aca_catalog(...)
, theaca.n_guide
attribute now reflects the inputn_guide
minus the number of scheduled monitor windows. This is effectively the number of requested guide stars, accounting for the possibility of monitor stars that are auto-converted from MON to GUI.To clarify with an example, if
n_guide=5
and amonitors
arg is provided with the position the target which happens to be a nice 8th mag star in the AGASC suitable for guiding, and the monitor function isAUTO
, thenaca.n_guide
will be5
andaca.mons
will be an empty table.However, if that target is a 12th mag star which is not suitable for guiding, then
aca.n_guide
will be4
andaca.mons
will have one entry with a tracking monitor window.Testing