Main¶
- class jwst.associations.Main(args=None, pool=None)[source]¶
Bases:
object
Generate Associations from an Association Pool
- Parameters
args ([str, ...], or None) –
The command line arguments. Can be one of
pool (None or AssociationPool) – If
None
, a pool file must be specified in theargs
. Otherwise, anAssociationPool
- rules¶
The rules used for association creation.
- Type
- associations¶
The list of generated associations.
- Type
[
Association
, …]
Notes
Refer to the Association Generator documentation for a full description.
Attributes Summary
The pool of exposures that do not belong to any association.
Methods Summary
save
([path, format, save_orphans])Save the associations to disk.
Attributes Documentation
- orphaned¶
The pool of exposures that do not belong to any association.
Methods Documentation