pvdeg.utilities.strip_normalize_tmy#
- pvdeg.utilities.strip_normalize_tmy(df, start_time, end_time)[source]#
Normalize the DataFrame, extract data between start and end times.
Dataframe is noramlized to start at 00:00 and the data between the specified start and end times is extracted. Data are then shifted back to the original indexes.
- Parameters:
df (pd.Dataframe) – dataframe with a datetime index and tmy data
start_time (datetime.datetime) – start time
end_time (datetime.datetime) – end time
- Returns:
sub_results (pd.DataFrame) – extracted subset of tmy data