pat2vec.util.get_method_default_fields_map

Provides a mapping from pat2vec’s get methods to the default fields they query. This helps users understand the data sources for each feature extraction function.

Functions

get_all_method_default_fields()

Retrieves a dictionary of all get methods and their default fields.

get_default_fields_for_method(method_name)

Retrieves the default list of fields for a given get method.

pat2vec.util.get_method_default_fields_map.get_default_fields_for_method(method_name)[source]

Retrieves the default list of fields for a given get method.

Parameters:

method_name (str) – The name of the get method (e.g., ‘get_current_pat_bloods’).

Return type:

Optional[List[str]]

Returns:

A list of default fields, or None if the method is not found.

pat2vec.util.get_method_default_fields_map.get_all_method_default_fields()[source]

Retrieves a dictionary of all get methods and their default fields.

Return type:

Dict[str, List[str]]

Returns:

A dictionary mapping method names to their default list of fields.