Transitioner¶
-
class
astroplan.Transitioner(slew_rate=None, instrument_reconfig_times=None)[source]¶ Bases:
objectA class that defines how to compute transition times from one block to another.
Parameters: slew_rate :
Quantitywith angle/time unitsThe slew rate of the telescope
instrument_reconfig_times : dict of dicts or None
If not None, gives a mapping from property names to another dictionary. The second dictionary maps 2-tuples of states to the time it takes to transition between those states (as an
Quantity), can also take a ‘default’ key mapped to a default transition time.Methods Summary
__call__(oldblock, newblock, start_time, …)Determines the amount of time needed to transition from one observing block to another. compute_instrument_transitions(oldblock, …)Methods Documentation
-
__call__(oldblock, newblock, start_time, observer)[source]¶ Determines the amount of time needed to transition from one observing block to another. This uses the parameters defined in
self.instrument_reconfig_times.Parameters: oldblock :
ObservingBlockor NoneThe initial configuration/target
newblock :
ObservingBlockor NoneThe new configuration/target to transition to
start_time :
TimeThe time the transition should start
observer :
astroplan.ObserverThe observer at the time
Returns: transition :
TransitionBlockor NoneA transition to get from
oldblocktonewblockorNoneif no transition is necessary
-