Single Facet Data Process
- example.sofast_fixed.example_process_facet.example_process_facet()
Processes a SofastFixed measurement of a single facet mirror
Load saved single facet SofastFixed collection data
Process data with SofastFixed
Log best-fit parabolic focal lengnths
Plot slope magnitude
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.
Load image
Define measurement parameters
Find location of origin point
Create measurement object
Save measurement as HDF5 file
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.
Load DisplayShape and image projection files
Define dot projection object
Define DotLocationsFixedPattern object
Save DotLocationsFixedPattern to HDF5 file