energy_analysis_toolbox.tests.tests_load_profile.fake_data module#

Generation of fake data to test the library.

energy_analysis_toolbox.tests.tests_load_profile.fake_data.sinusoid_history(start=None, n_days=21, freq='30min', noise=0.05, period_variation=86400.0, min_value=0.0, max_value=1.0)[source]#

Return a series of fake historical data.

energy_analysis_toolbox.tests.tests_load_profile.fake_data.sinusoid_history_df(*args, **kwargs)[source]#

Return a series of fake historical data as a DataFrame

The function wraps sinusoid_history and transforms the result to a DataFrame.