Constraint_TargetAcq
- class jwst.associations.lib.dms_base.Constraint_TargetAcq(*args, **kwargs)[source]
Bases:
SimpleConstraint
Select on target acquisition exposures.
- Parameters:
- association~jwst.associations.Association
If specified, use the
get_exposure_type
method of the association rather than the utility version.
Initialize a new SimpleConstraint.
- Parameters:
- initdict
Dictionary where the key:value pairs define the following parameters.
- sourcesfunc(item) or None
Function taking
item
as argument used to retrieve a value to check against. If None, the item itself is used as the value.- force_uniquebool
If the constraint is satisfied, reset
value
to the value of the source.- testfunction
The test function for the constraint. Takes two arguments:
constraint
object to compare against.
Returns a boolean. Default is
SimpleConstraint.eq
- reprocess_on_matchbool
Reprocess the item if the constraint is satisfied.
- reprocess_on_failbool
Reprocess the item if the constraint is not satisfied.
- work_overListCategory.[BOTH, EXISTING, RULES]
The condition on which this constraint should operate.
- reprocess_rules[rule[,..]] or None
List of rules to be applied to. If None, calling function will determine the ruleset. If empty, [], all rules will be used.