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 the deformation field, its per-voxel vertex count and the stage surface are written to --output, the field rasterized onto that image’s grid.

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

CLI entry point for PhysicsNeMo inference.

Return type:

int

See Predict With a Trained Surrogate for usage examples.