Main

class jwst.associations.Main(args=None, pool=None)[source]

Bases: object

Generate Associations from an Association Pool

Parameters
pool

The pool read in, or passed in through the parameter pool

Type

AssociationPool

rules

The rules used for association creation.

Type

AssociationRegistry

associations

The list of generated associations.

Type

[Association, …]

Notes

Refer to the Association Generator documentation for a full description.

Attributes Summary

orphaned

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

save(path='.', format='json', save_orphans=False)[source]

Save the associations to disk.

Parameters
  • path (str) – The path to save the associations to.

  • format (str) – The format of the associations

  • save_orphans (bool) – If true, save the orphans to an astropy.table.Table