paint.preprocessing.binary_extractor

Classes

BinaryExtractor

Initialize the extractor.

Module Contents

class paint.preprocessing.binary_extractor.BinaryExtractor(input_path: str | pathlib.Path, output_path: str | pathlib.Path, deflectometry_created_at_file_name: str, surface_header_name: str, facet_header_name: str, points_on_facet_struct_name: str)

Initialize the extractor.

Parameters

input_pathstr | Path

The file path to the binary data file that will be converted.

output_pathstr | Path

The file path to save the converted h5 deflectometry file.

deflectometry_created_at_file_namestr

The time stamp in the file name format for when the deflectometry data was created.

surface_header_namestr

The name for the surface header in the binary file.

facet_header_namestr

The name for the facet header in the binary file.

points_on_facet_struct_namestr

The name of the point on facet structure in the binary file.

input_path
output_path
heliostat_id
raw_data
file_name
json_handle
surface_header_name
facet_header_name
points_on_facet_struct_name
convert_to_h5() None

Extract data from a binary file and save the deflectometry measurements.