frc_rekt package¶
Submodules¶
frc_rekt.helpers module¶
Helper functions.
Use these so we don’t write duplicate code.
-
frc_rekt.helpers.
get_file_encoding
(file_path)[source]¶ Return encoding for file path.
Parameters: file_path (str) – Path to file Returns: encoding Return type: str
-
frc_rekt.helpers.
plot_func
(dataframe, func, x_label=None, y_label=None, title=None)[source]¶ Plot best fit function.
Generates points using the function, and plots those points against the original data.
Parameters: - dataframe (pandas.DataFrame) – the dataframe of original data
- func (types.FunctionType) – the function to plot
- x_label (str) – the label of the x axis data in the dataframe
- y_label (str) – the label of the y axis data in the dataframe
frc_rekt.main_breaker module¶
MainBreaker model.
Models a main breaker on an frc robot. Uses data from datasheet
frc_rekt.model module¶
Model is depricated.