Transitioner

class astroplan.Transitioner(slew_rate=None, instrument_reconfig_times=None)[source]

Bases: object

A class that defines how to compute transition times from one block to another.

Parameters
slew_rateQuantity with angle/time units

The slew rate of the telescope

instrument_reconfig_timesdict 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
oldblockObservingBlock or None

The initial configuration/target

newblockObservingBlock or None

The new configuration/target to transition to

start_timeTime

The time the transition should start

observerastroplan.Observer

The observer at the time

Returns
transitionTransitionBlock or None

A transition to get from oldblock to newblock or None if no transition is necessary

compute_instrument_transitions(oldblock, newblock)[source]