adam.triggering.make_scan_file#

adam.triggering.make_scan_file(elevations, azimuths, out_file_name, azi_speed=1.0, el_speed=0.1, wait=0, acceleration=30, repeat=7, rays_per_point=20, dyn_csm=False, AZ_COUNTS_PER_ROT=500000, EL_COUNTS_PER_ROT=250000)[source]#

Makes a CSM scanning strategy file for a Halo Photonics Doppler Lidar.

Parameters:
  • no_points (int) – The number of points to collect in the ray

  • elevations (float 1d array or tuple) – The elevation of each sweep in the scan. If this is a 2-tuple, then the script will generate an RHI spanning the smallest to largest elevation

  • azimuths (float or 2-tuple) – If this is a 2-tuple, then this script will generate a PPI from min_azi to max_azi.

  • out_file_name (str) – The output name of the file.

  • azi_speed (float) – The speed of the azimuth motor in degrees per second.

  • el_speed (float) – The speed of the elevation motor in degrees per second.

  • wait (int) – The wait time in milliseconds at each point in the scan.

  • acceleration (int) – The acceleration of the motor in ticks per second squared. This is a constant that depends on the lidar hardware.

  • repeat (int) – The number of times to repeat the scan strategy. This is used to ensure that the lidar collects enough data points for each scan.

  • rays_per_point (int) – The number of rays to collect at each point in the scan. This is used to ensure that the lidar collects enough data points for each scan.

  • dyn_csm (bool) – Set to True to send CSM assuming Dynamic CSM mode

  • AZ_COUNTS_PER_ROT (int) – The number of counts per rotation for the azimuth motor. This is a constant that depends on the lidar hardware and is used to convert from degrees to the encoded values that the lidar uses for its scan strategy.

  • EL_COUNTS_PER_ROT (int) – The number of counts per rotation for the elevation motor. This is a constant that depends on the lidar hardware and is used to convert from degrees to the encoded values that the lidar uses for its scan strategy.

Returns:

This function does not return anything. It generates a CSM scan strategy file for the Halo Lidar and saves it to the specified output file name.

Return type:

None