pyquantus.parse.philipsMat module

pyquantus.parse.philipsMat.philips2dRfMatParser(filepath: str, refpath: str, frame: int) Tuple[DataOutputStruct, InfoStruct, DataOutputStruct, InfoStruct]

Parse Philips 2D RF data from a .mat file.

Parameters:
  • filepath (str) – The file path of the Philips 2D RF data.

  • refpath (str) – The file path of the reference data.

  • frame (int) – The frame number.

Returns:

The image data, image metadata, reference data, and reference metadata.

Return type:

Tuple

pyquantus.parse.philipsMat.readFileImg(Info: InfoStruct, frame: int, input) Tuple[DataOutputStruct, InfoStruct]

Read Philips 2D RF data, parse it, and complete scan conversion.

Parameters:
  • Info (InfoStruct) – Philips 2D RF data metadata.

  • frame (int) – The frame number.

  • input – The .mat file data.

Returns:

The image data and image metadata.

Return type:

Tuple

pyquantus.parse.philipsMat.readFileInfo() InfoStruct

Read default metadata values for a Philips 2D RF data.