liger_iris_pipeline.associations.utils

Functions

class_from_association_type(init)

Get the association type from the association file header.

load_asn(asn_file)

Load an association file and return the association object.

liger_iris_pipeline.associations.utils.class_from_association_type(init)[source]

Get the association type from the association file header.

Parameters: init (str): The ASN filename.

Returns: type | None: The LigerIRISAssociation class if found.

liger_iris_pipeline.associations.utils.load_asn(asn_file: str)[source]

Load an association file and return the association object.