pyquantus.parse.verasonics module

pyquantus.parse.verasonics.readScan(scanPath: Path, paramPath: Path)

Reads the metadata and RF data from a Verasonics .mat file. Note this parser assumes it is working with RF data. It also assumes the scan must be scan converted.

Parameters:
  • scanPath (Path) – Path to the scan .mat file.

  • paramPath (Path) – Path to the parameter .mat file.

Returns:

Tuple[]

pyquantus.parse.verasonics.verasonicsRfParser(scanPath: Path, phantomPath: Path, paramPath: Path) Tuple[DataOutputStruct, InfoStruct, DataOutputStruct, InfoStruct]

Parses Verasonics RF data and metadata.

Parameters:
  • filePath (Path) – Path to the RF data for the ultrasound scan (.mat)

  • phantomPath (Path) – Path to the RF data for the reference phantom (.mat)

  • paramPath (Path) – Path to file containing transducer-specific metadata (.mat)

Returns:

RF data and metadata for image and phantom.

Return type:

Tuple