pyquantus.parse.transforms module

pyquantus.parse.transforms.iqToRf(iqData, rxFrequency, decimationFactor, carrierFrequency)

Convert IQ data to RF data.

pyquantus.parse.transforms.scanConvert(inIm: ndarray, width: float, tilt: float, startDepth: float, stopDepth: float, desiredHeight=500) Tuple[OutImStruct, float, float]

ScanConvert sector image

Parameters:
  • inIm (np.ndarray) – Input image.

  • width (float) – Sector width of desired scan conversion image in degrees.

  • tilt (float) – Tilt of sector image in degrees.

  • startDepth (float) – Axial depth of first sample in meters.

  • stopDepth (float) – Axial depth of last sample in meters.

  • desiredHeight (int) – Desired vertical size of output image in pixels (default 500).

Returns:

Output image, height, and width in centimeters.

Return type:

OutImStruct, float, float