paint.util.preprocessing
Functions
|
Prepare the axis csv for concatenation by changing certain column names and rearranging the order. |
|
Prepare the heliostat positions csv for concatenation by changing certain column names and rearranging the order. |
|
Concatenate the heliostat position and heliostat axis data and sort in the correct order. |
Module Contents
- paint.util.preprocessing.load_and_format_heliostat_axis_data(arguments: argparse.Namespace) pandas.DataFrame
Prepare the axis csv for concatenation by changing certain column names and rearranging the order.
Parameters
- argumentsargparse.Namespace
The arguments containing the input and output path.
Returns
- pd.DataFrame
The processed axis dataframe.
- paint.util.preprocessing.load_and_format_heliostat_positions(arguments: argparse.Namespace) pandas.DataFrame
Prepare the heliostat positions csv for concatenation by changing certain column names and rearranging the order.
Parameters
- argumentsargparse.Namespace
The arguments containing the input and output path.
Returns
- pd.DataFrame
The processed heliostat positions dataframe.
- paint.util.preprocessing.merge_and_sort_df(df_heliostat_positions: pandas.DataFrame, df_axis: pandas.DataFrame) pandas.DataFrame
Concatenate the heliostat position and heliostat axis data and sort in the correct order.
Parameters
- df_heliostat_positionspd.DataFrame
The dataframe containing the heliostat positions.
- df_axispd.DataFrame
The dataframe containing the heliostat axis data.
Returns
- pd.DataFrame
The concatenated and sorted dataframe.