Skip to content

Commit

Permalink
Updated documentation in process_optics_geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Mar 19, 2024
1 parent 54c8b7c commit c33318c
Showing 1 changed file with 37 additions and 16 deletions.
53 changes: 37 additions & 16 deletions opencsp/app/sofast/lib/process_optics_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,18 @@ def process_singlefacet_geometry(
Returns
-------
calculation_data_classes.CalculationDataGeometryGeneral
calculation_data_classes.CalculationImageProcessingGeneral
list[calculation_data_classes.CalculationDataGeometryFacet]
list[calculation_data_classes.CalculationImageProcessingFacet]
calculation_data_classes.CalculationError]
data_geometry_general: calculation_data_classes.CalculationDataGeometryGeneral
Positional optic geometry calculations general to entire measurement; not facet specific.
data_image_processing_general: calculation_data_classes.CalculationImageProcessingGeneral
Image processing calculations general to entire measurement; not facet specific.
data_geometry_facet: list[calculation_data_classes.CalculationDataGeometryFacet]
List of positional optic geometry calculations specific to each facet. Order is
same as input facet definitions.
data_image_processing_facet: list[calculation_data_classes.CalculationImageProcessingFacet]
List of image processing calcualtions specific to each facet. Order is same as input facet
definitions.
data_error: calculation_data_classes.CalculationError
Geometric/positional errors and reprojection errors associated with solving for facet location.
"""
if debug.debug_active:
print('Image processing debug on.')
Expand Down Expand Up @@ -325,11 +332,18 @@ def process_undefined_geometry(
Returns
-------
calculation_data_classes.CalculationDataGeometryGeneral
calculation_data_classes.CalculationImageProcessingGeneral
list[calculation_data_classes.CalculationDataGeometryFacet]
list[calculation_data_classes.CalculationImageProcessingFacet]
calculation_data_classes.CalculationError]
data_geometry_general: calculation_data_classes.CalculationDataGeometryGeneral
Positional optic geometry calculations general to entire measurement; not facet specific.
data_image_processing_general: calculation_data_classes.CalculationImageProcessingGeneral
Image processing calculations general to entire measurement; not facet specific.
data_geometry_facet: list[calculation_data_classes.CalculationDataGeometryFacet]
List of positional optic geometry calculations specific to each facet. Order is
same as input facet definitions.
data_image_processing_facet: list[calculation_data_classes.CalculationImageProcessingFacet]
List of image processing calcualtions specific to each facet. Order is same as input facet
definitions.
data_error: calculation_data_classes.CalculationError
Geometric/positional errors and reprojection errors associated with solving for facet location.
"""
if debug.debug_active:
print(
Expand Down Expand Up @@ -419,7 +433,7 @@ def process_multifacet_geometry(
ensemble_data : DefinitionEnsemble
Ensemble definition object
mask_raw : ndarray
Raw calculated mask
Raw calculated mask, shape (m, n) array of booleans
v_meas_pt_ensemble : Vxyz
Measure point lcoation on ensemble, meters
orientation : SpatialOrientation
Expand All @@ -435,11 +449,18 @@ def process_multifacet_geometry(
Returns
-------
calculation_data_classes.CalculationDataGeometryGeneral
calculation_data_classes.CalculationImageProcessingGeneral
list[calculation_data_classes.CalculationDataGeometryFacet]
list[calculation_data_classes.CalculationImageProcessingFacet]
calculation_data_classes.CalculationError]
data_geometry_general: calculation_data_classes.CalculationDataGeometryGeneral
Positional optic geometry calculations general to entire measurement; not facet specific.
data_image_processing_general: calculation_data_classes.CalculationImageProcessingGeneral
Image processing calculations general to entire measurement; not facet specific.
data_geometry_facet: list[calculation_data_classes.CalculationDataGeometryFacet]
List of positional optic geometry calculations specific to each facet. Order is
same as input facet definitions.
data_image_processing_facet: list[calculation_data_classes.CalculationImageProcessingFacet]
List of image processing calcualtions specific to each facet. Order is same as input facet
definitions.
data_error: calculation_data_classes.CalculationError
Geometric/positional errors and reprojection errors associated with solving for facet location.
"""
if debug.debug_active:
print(
Expand Down

0 comments on commit c33318c

Please sign in to comment.