asn_from_list

jwst.associations.asn_from_list.asn_from_list(items, rule=<class 'jwst.associations.lib.rules_level3_base.DMS_Level3_Base'>, **kwargs)[source]

Create an association from a list.

Parameters:
items[object [, …]]

List of items to add.

ruleAssociation rule

The association rule to use.

**kwargsdict

Other named parameters required or pertinent to adding the items to the association.

Returns:
associationAssociation-based instance

The association with the items added.

Notes

This is a lower-level tool for artificially creating an association. As such, the association created may not be valid. It is presumed the user knows what they are doing.