Configuration
ConfigData
ConfigDataAnalysis
- class ledsa.analysis.ConfigDataAnalysis.ConfigDataAnalysis(load_config_file=True, camera_position=None, num_of_layers=20, domain_bounds=None, led_arrays=None, num_ref_images=10, camera_channels=0, num_of_cores=1, reference_property='sum_col_val', average_images=False, solver='numeric', weighting_preference=-0.006, weighting_curvature=1e-06, num_iterations=200)[source]
Bases:
ConfigParser
Class 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_arrays() None [source]
Prompts the user to input the IDs of (merged) LED Arrays for computation and updates the configuration.
- in_num_of_layers() None [source]
Prompts the user to input the number of layers for spatial domain discretization and updates the configuration.