Single Facet Data Process

example.sofast_fixed.example_process_facet.example_process_facet()

Processes a SofastFixed measurement of a single facet mirror

  1. Load saved single facet SofastFixed collection data

  2. Process data with SofastFixed

  3. Log best-fit parabolic focal lengnths

  4. Plot slope magnitude

  5. Save slope data as HDF file

Find Dots in an Image

Example script that finds blobs in image and saves annotated image.

example.sofast_fixed.example_find_blobs_in_image.example_find_blobs_in_image()

Finds blobs in image, annotates image, and saves

Create a SofastFixed Measurement File from a Captured Image

example.sofast_fixed.example_measurement_from_image.example_create_measurement_file_from_image()

Creates a SofastFixed measurement file from an image. The image has a point LED light near origin dot.

  1. Load image

  2. Define measurement parameters

  3. Find location of origin point

  4. Create measurement object

  5. Save measurement as HDF5 file

  6. Plot image with annotated origin dot

Dot-Location Calibration

example.sofast_fixed.example_create_dot_pattern_from_display_shape.example_calculate_dot_locations_from_display_shape()

Creates a DotLocationsFixedPattern object from previously created DisplayShape and ImageProjection files.

  1. Load DisplayShape and image projection files

  2. Define dot projection object

  3. Define DotLocationsFixedPattern object

  4. Save DotLocationsFixedPattern to HDF5 file