Configuration
ConfigData
ConfigDataAnalysis
- class ledsa.analysis.ConfigDataAnalysis.ConfigDataAnalysis(load_config_file=True, camera_position=None, num_layers=20, domain_bounds=None, led_array_indices=None, num_ref_images=10, camera_channels=0, num_cores=1, reference_property='sum_col_val', average_images=False, solver='linear', weighting_preference=-0.006, weighting_curvature=1e-06, num_iterations=200, lambda_reg=0.001)[source]
Bases:
ConfigParserClass responsible for handling the configuration data related to LEDSA’s data analysis.
- get_list_of_values(section: str, option: str, dtype=<class 'int'>) None[source]
Returns a list of values of a specified dtype from a given section and option.
- Parameters:
section (str) – Section in the configuration file.
option (str) – Option under the specified section.
dtype (type) – Data type of the values to be returned. Defaults to int.
- Returns:
List of values or None if the option’s value is ‘None’.
- Return type:
list or None
- in_camera_channels() None[source]
Prompts the user to input the camera channels to analyse and updates the configuration.
- in_camera_position() None[source]
Prompts the user to input the camera’s global X, Y, Z coordinates and updates the configuration.
- in_domain_bounds() None[source]
Prompts the user to input the lower and upper height of the spatial domain and updates the configuration.
- in_led_array_indices() None[source]
Prompts the user to input the indices of (merged) LED Arrays for computation and updates the configuration.
- in_num_layers() None[source]
Prompts the user to input the number of layers for spatial domain discretization and updates the configuration.