write_extract_feature_csvs

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

write_extract_feature_csvs(root: str | Path, family_tables: Mapping[str, Sequence[FeatureTable]], *, n_habitats: int, logger: Logger | None = None) → List[str][source]

Persist domain feature tables in the v0.1 habit extract CSV layout.

Parameters:
  • root – Destination directory (created if absent). Named root to match DirectoryResultWriter.

  • family_tables – Mapping of registry feature name to per-subject tables in cohort order.

  • n_habitats – Habitat count used for each_habitat / count CSVs.

  • logger – Optional logger; defaults to this module’s logger.

Returns:

Paths of files written.