6.6. copro.data.split_XY_data¶
- copro.data.split_XY_data(XY, config)[source]¶
Separates the XY-array into array containing information about variable values (X-array or sample data) and conflict data (Y-array or target data). Thereby, the X-array also contains the information about unique identifier and polygon geometry.
- Parameters
XY (array) – array containing variable values and conflict data.
config (ConfigParser-object) – object containing the parsed configuration-settings of the model.
- Returns
two separate arrays, the X-array and Y-array.
- Return type
arrays