Constraint#

class m4opt.constraints.Constraint[source] [edit on github]#

Bases: ABC

Base class for field of regard constraints.

Methods Summary

__call__(observer_location, target_coord, ...)

Evaluate the constraint at a given observer location, target position, and time.

Methods Documentation

abstractmethod __call__(observer_location, target_coord, obstime)[source] [edit on github]#

Evaluate the constraint at a given observer location, target position, and time.

Parameters:
Return type:

ndarray[tuple[Any, …], dtype[bool]]