Constraints (dorado.scheduling.constraints)#

Astroplan visibility constraints.

dorado.scheduling.constraints.get_field_of_regard(orbit, constraints, targets, times, jobs=1)#

Calculate the observability of a grid of targets at a grid of times.

Parameters:
Returns:

regard – A boolean array of size M×N, which is true if a given target is observable at a given time.

Return type:

np.ndarray

class dorado.scheduling.constraints.BrightEarthLimbConstraint(*args)#

Bases: EarthLimbConstraint

Constrain the angle from the Sun-illuminated portion of the Earth limb.

Parameters:

min (astropy.units.Quantity) – Minimum angular separation from the Earth’s limb.

Notes

This makes the extremely conservative simplifying assumption that the entire Earth is illuminated except during orbit night.

class dorado.scheduling.constraints.EarthLimbConstraint(min)#

Bases: Constraint

Constrain the angle from the Earth limb.

Parameters:

min (astropy.units.Quantity) – Minimum angular separation from the Earth’s limb.

Notes

This constraint assumes a spherical Earth, so it is only accurate to about a degree for observers in very low Earth orbit (height of 100 km).

class dorado.scheduling.constraints.OrbitNightConstraint(min=<Quantity 0. deg>)#

Bases: EarthLimbConstraint

Constrain the angle of the Sun from the Earth limb.

Parameters:

min (astropy.units.Quantity) – Minimum angle of the edge of the sun’s disc from the Earth’s limb.

Notes

This constraint assumes a spherical Earth, so it is only accurate to about a degree for observers in very low Earth orbit (height of 100 km).

class dorado.scheduling.constraints.TrappedParticleFluxConstraint(flux, energy, particle, solar)#

Bases: Constraint

Constrain the flux of charged particles in the Van Allen belt.

Parameters:
  • flux (astropy.units.Quantity) – The maximum flux in units compatible with cm^-2 s^-1.

  • energy (astropy.units.Quantity) – The minimum energy.

  • particle ({'e', 'p'}) – The particle species: ‘e’ for electrons, ‘p’ for protons.

  • solar ({'min', 'max'}) – The solar activity: solar minimum or solar maximum.