astro plan:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- astroplan v0.7 »
- Reference/API »
- ObservingBlock

# ObservingBlock

class astroplan.ObservingBlock(target, duration, priority, configuration={}, constraints=None)

  Bases: `object`

  An observation to be scheduled, consisting of a target and associated constraints on observations.

  Parameters
    target `FixedTarget`

      Target to observe

    duration `Quantity`

      exposure time

    priority integer or float

      priority of this object in the target list. 1 is highest priority, no maximum

    configuration dict

      Configuration metadata

    constraints list of `Constraint` objects

      The constraints to apply to this particular observing block. Note that constraints applicable to the entire list should go into the scheduler.

  Attributes Summary

  `constraints_scores` |

  Methods Summary

  `from_exposures`(target, priority, ...[, ...]) |

  Attributes Documentation

  constraints_scores

  Methods Documentation

  classmethod from_exposures(target, priority, time_per_exposure, number_exposures, readout_time=<Quantity 0. s>, configuration={}, constraints=None)