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]

Creat an association from a list

Parameters
  • items ([object [, ...]]) – List of items to add.

  • rule (Association rule) – The association rule to use.

  • kwargs (dict) – Other named parameters required or pertinent to adding the items to the association.

Returns

association – The association with the items added.

Return type

Association-based instance

Notes

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