infer_physicsnemo (CLI)

Command-line interface for PhysicsNeMo cardiac mesh-stage inference.

Loads a trained model directory and predicts either from a per-subject manifest (--manifest) or from a PCA shape-parameter file (--shape-parameters). The network is auto-detected from the checkpoint files unless --network is given. Manifest mode writes the raw target arrays; add --displacement to interpret them as displacements and write deformed meshes instead. With --reference-image a deformation field and surface-normal image are rasterized onto that image’s grid.

physiotwin4d.cli.infer_physicsnemo.main()[source]

CLI entry point for PhysicsNeMo inference.

Return type:

int

See Predict With a Trained Surrogate for usage examples.