pymixef.interoperability.nonmem module¶
NONMEM-style data and NM-TRAN control-stream subset import.
- pymixef.interoperability.nonmem.parse_control_stream(value)[source]¶
Parse records and preserve a documented NM-TRAN subset.
Structural code is retained verbatim but marked unsupported for automatic compilation. This is deliberate refusal rather than an unsafe approximation.
- Parameters:
value (str | Path)
- Return type:
InterchangeResult[dict[str, list[str]]]
- pymixef.interoperability.nonmem.import_nonmem_data(data, *, column_mapping=None)[source]¶
Normalize NONMEM-style columns; event canonicalization remains separate.
- Parameters:
data (Mapping[str, Any])
column_mapping (Mapping[str, str] | None)
- Return type:
InterchangeResult[dict[str, ndarray]]
- pymixef.interoperability.nonmem.import_nonmem_table(path)[source]¶
Import a comma- or whitespace-delimited NONMEM output table.
Repeated
TABLE NO.preambles are removed explicitly and reported. The importer requires one header row and refuses ragged records.- Parameters:
path (str | Path)
- Return type:
InterchangeResult[dict[str, ndarray]]