generate
- jwst.associations.generator.generate.generate(pool, rules, version_id=None, finalize=True)[source]
Generate associations in the pool according to the rules.
- Parameters:
- pool
AssociationPool The pool to generate from.
- rules
AssociationRegistry The association rule set.
- version_idNone, True, or str
The string to use to tag associations and products:
If None, no tagging occurs.
If
True, use a timestamp.If a string, the string.
- finalizebool
Run all rule methods marked as ‘finalized’.
- pool
- Returns:
- associationslist
List of
Association.
Notes
Refer to the Association Generator documentation for a full description.