Main

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

Bases: object

Generate Associations from an Association Pool

Parameters
pool: `AssociationPool`

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

rules: `AssociationRegistry`

The rules used for association creation.

associations: [`Association`, …]

The list of generated associations.

orphaned: `AssociationPool`

The pool of exposures that do not belong to any association.

Notes

Refer to the Association Generator documentation for a full description.

Attributes Summary

orphaned

Methods Summary

save([path, format, save_orphans])

Save the associations to disk.

Attributes Documentation

orphaned

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