:orphan:

Gallery of Charts
=================

Examples of how to use the algorithms included in Cognite Charts.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. thumbnail-parent-div-close

.. raw:: html

    </div>

Data quality
____________

Examples on how to explore the data quality of time series.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of point outlier removal with polynomial regression and Studentized residuals. We generate a toy data set with an underlying polynomial signal that has Gaussian noise and large point outliers added to it.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_extreme_outlier_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_extreme_outlier.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Extreme Outliers Removal</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of algorithm that indicates decreasing values in time series data. This algorithm is applied on Running Hours time series. It is a specific type of time series that is counting the number of running hours in a pump. Given that we expect the number of running hours to either stay the same (if the pump is not running) or increase with time (if the pump is running), the decrease in running hours value indicates bad data quality.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_value_decrease_check_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_value_decrease_check.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Checking for decreasing values in a timeseries</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of visualizing rolling standard deviation of time delta of time series data to identify dispersion in the ingestion of data.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_rolling_stddev_timedelta_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_rolling_stddev_timedelta.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Rolling standard deviation of data points time delta</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="It is important to know how complete a time series is. In this example, the function qualifies a time series on the basis of its completeness score as good, medium, or poor. The completeness score measures how complete measured by how much of the data is missing based on its median sampling frequency.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_completeness_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_completeness.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Completeness score of time series</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of visualizing breach of threshold in hour count in a time series representing running hours of a piece of equipment.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_datapoint_diff_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_datapoint_diff.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Threshold breach check for difference between two data points over a period of time</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Detecting density of data points in a time series is important for finding out if the expected number of data points during a certain time window such as per hour or per day have been received.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_low_density_identification_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_low_density_identification.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Identifying low density periods</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Identifying gaps in data is critical when working with time series. Data gaps can be for instance, the result of an unreliable or defective sensor, and that part of the data might need to be excluded. The exact definition of what is considered a gap requires domain knowledge and is therefore hard to automate. However, mathematical tools can help us to identify potential gaps that the domain expert can then evaluate.">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_gaps_identification_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_gaps_identification.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Identifying gaps in time series</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Introduction ------------ The out_of_range function uses Savitzky-Golay smoothing (SG) - sg to estimate the main trend of the data:">

.. only:: html

  .. image:: /auto_examples/data_quality/images/thumb/sphx_glr_plot_out_of_range_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_data_quality_plot_out_of_range.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Detect out of range outliers in sensor data</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Detection Functions
___________________

Examples of how to use the detection functions included in Cognite Charts.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of change point detection based on the cusum algorithm. We use synthetic data generated from a standard normal distribution of mean 0 and variance 1 with a shift in some of the datapoints to simulate a change in the mean of the data.">

.. only:: html

  .. image:: /auto_examples/detect/images/thumb/sphx_glr_plot_cusum_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_detect_plot_cusum.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Change Point Detection with Cusum</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Identifies if a signal contains one or more oscillatory components, based on a method described by Sharma et al.">

.. only:: html

  .. image:: /auto_examples/detect/images/thumb/sphx_glr_plot_oscillation_detection_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_detect_plot_oscillation_detection.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Oscillation detection using linear predictive coding</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of steady state detection (SSD) based on the ED-PELT change point detection (CPD) algorithm. We use data from a compressor suction pressure sensor (in barg). The dataset contains 4 days of process of process data (sampled using 1m granularity).">

.. only:: html

  .. image:: /auto_examples/detect/images/thumb/sphx_glr_plot_ssd_cpd_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_detect_plot_ssd_cpd.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Steady State Detection: Change Point</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of visualizing unchanged signal during a certain time period in a given time series.">

.. only:: html

  .. image:: /auto_examples/detect/images/thumb/sphx_glr_plot_unchanged_signal_detection_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_detect_plot_unchanged_signal_detection.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Unchanged signal identification of time series data</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Equipment Functions
________________________

Examples of how to use the equipment functions included in Cognite Charts.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip=" Pump suction pressure  Pump discharge pressure  Recycle valve outlet pressure  Recycle valve flow coefficient (Cv) curve * Density of the fluid">

.. only:: html

  .. image:: /auto_examples/equipment/images/thumb/sphx_glr_plot_recycle_valve_power_loss_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_equipment_plot_recycle_valve_power_loss.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Pump recycle valve power loss</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Operational Availability">

.. only:: html

  .. image:: /auto_examples/equipment/images/thumb/sphx_glr_plot_operational_availability_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_equipment_plot_operational_availability.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Operational Availability</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Calculate pump parameters total head across the pump and difference from Best Efficiency Point (BEP) to current operating flowrate and power output of a centrifugal pump.">

.. only:: html

  .. image:: /auto_examples/equipment/images/thumb/sphx_glr_plot_pump_parameters_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_equipment_plot_pump_parameters.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Calculate parameters of a centrifugal pump</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Filter Functions
________________

Examples of how to use the filter functions included in Cognite Charts.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of filtering to remove noise from time series data using the Wavelet filter. We use data from volumetric flow rate (m3/h) sensor with non-uniform sampling frequency measuring measuring flow into a compressor.">

.. only:: html

  .. image:: /auto_examples/filter/images/thumb/sphx_glr_plot_wavelet_filter_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_filter_plot_wavelet_filter.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Noise removal and trending with the Wavelet filter</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Fluid Dynamics
______________

Examples on how to use the fluid dynamics functionality.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example generates a Moody diagram using the Darcy friction factor function">

.. only:: html

  .. image:: /auto_examples/fluid_dynamics/images/thumb/sphx_glr_plot_darcy_friction_factor_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_fluid_dynamics_plot_darcy_friction_factor.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Darcy Friction Factor</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Forecasting Functions
_____________________

Examples of algorithms used to forecast data



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="For the Holt-Winters example we use forged daily data with a weekly seasonality. We predict two types of data, the first dataset displays an additive trend and an additive seasonality, and the second dataset displays an additive trend and a multiplicative seasonality.">

.. only:: html

  .. image:: /auto_examples/forecast/images/thumb/sphx_glr_plot_holt_winters_predictor_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_forecast_plot_holt_winters_predictor.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Holt-Winters Predictor</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Numerical Calculus
__________________



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example a synthetic time series is generated with a certain skewness (to make it more interesting) and a use the sliding window integration with  a integrand rate of 1 hour. In other words, carry out a sliding window integration of the data over 1 hour periods.">

.. only:: html

  .. image:: /auto_examples/numerical_calculus/images/thumb/sphx_glr_plot_sliding_window_integration_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_numerical_calculus_plot_sliding_window_integration.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Sliding window integration</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Oil and Gas Functions
_____________________

Examples of algorithms used in the Oil and Gas industry.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="The data is from an unnamed well in the form of a pickle file. The data is a dataframe that consists of a time series of master, wing and choke valves. The duration of the data is about 50 days. The figure shows the time series of the valves and the output of the function which is the production status of the well (0 is OFF and 1 is ON).">

.. only:: html

  .. image:: /auto_examples/oil_and_gas/images/thumb/sphx_glr_plot_well_prod_status_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_oil_and_gas_plot_well_prod_status.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Check for the production status of a well</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Gas density is calculated using real gas equations from input pressure, temperature and specific gravity of gas. The compressibility factor is calculated explicitly (Beggs and Brill - 1973) for the pressure and temperature combinations. The plot shows the variation of the gas density for methane gas (SG = 0.55) with varying temperature and pressure.">

.. only:: html

  .. image:: /auto_examples/oil_and_gas/images/thumb/sphx_glr_plot_gas_density_calcs_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_oil_and_gas_plot_gas_density_calcs.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Calculation of gas density</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="We use data from an emergency shut-down valve sensor on a compressor. The figure shows reading from the valve and the detected open/close state for shut-in durations of at least 6 and 24 hours in duration.">

.. only:: html

  .. image:: /auto_examples/oil_and_gas/images/thumb/sphx_glr_plot_shut_in_detector_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_oil_and_gas_plot_shut_in_detector.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Detection of valve shut-in state</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In reservoir and production engineering, knowledge of the shut-in pressure can help estimate reservoir properties, drawdown and productivity index. In this example, we use data from the bottom-hole pressure signal to calculate shut-in pressure after 6 and 24 hrs of the shut-in. The CSV file also contains a column with binary signal obtained from the shut-in detector. The signal was obtained using wing valve data of the corresponding well and using the following settings in the detector function: wing valve threshold is calculated, minimum duration of shut-in is 25 hrs and minimum distance between shut-ins is 24 hrs.">

.. only:: html

  .. image:: /auto_examples/oil_and_gas/images/thumb/sphx_glr_plot_shut_in_variables_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_oil_and_gas_plot_shut_in_variables.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Calculation of shut-in pressure</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="The calculation of fluid properties is a fundamental component of mass balance and other methods of conservation. The goal of this feature is to calculate the fluid properties given the pressure and temperature conditions and the composition of the fluid itself. Equation of state simulators output a fluid file that is a table of the fluid properties for a range of pressure and temperature conditions. The input to these simulators is the composition of the fluid obtained from lab tests. For this specific feature, the input fluid file is a .tab file used by OLGA, a transient multiphase flow simulator.">

.. only:: html

  .. image:: /auto_examples/oil_and_gas/images/thumb/sphx_glr_plot_live_fluid_properties_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_oil_and_gas_plot_live_fluid_properties.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Calculate fluid properties given pressure and temperature</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Reindex function
__________________

Example on how to reindex two time-series.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="When working with multiple time series it is often important that time stamps are aligned. Even simple operations, like addition and subtraction of time series, require time stamp alignment. In this example, we demonstrate how re-indexing can be used to align time stamps.">

.. only:: html

  .. image:: /auto_examples/reindex/images/thumb/sphx_glr_plot_reindex_and_pearson_correlation_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_reindex_plot_reindex_and_pearson_correlation.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Re-indexing and compute Pearson correlation coefficient</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This shows how we can superimpose a scatter plot on an existing chart">

.. only:: html

  .. image:: /auto_examples/reindex/images/thumb/sphx_glr_plot_mock_scatter_plot_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_reindex_plot_mock_scatter_plot.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Re-indexing to mock a scatter plot</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Resampling Functions
_____________________

Examples of how to use the resampling functions included in Cognite Charts.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of aggregating (grouping) data on regions defined by a series with integers denoting different states.">

.. only:: html

  .. image:: /auto_examples/resample/images/thumb/sphx_glr_plot_group_by_region_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_resample_plot_group_by_region.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Group by Region</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Synthetic Signal Generation
_____________________________

Examples of how to generate synthetic signals.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="We will generate a linear time series with a sampling frequency of 4 hours, from 1975/05/09 to 1975/05/20, and remove 35% of the data using three different methods:">

.. only:: html

  .. image:: /auto_examples/signals/images/thumb/sphx_glr_plot_synthetic_gaps_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_signals_plot_synthetic_gaps.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Inserting gaps in a time series</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="We will generate three univariate polynomials of a given time series. The order of the polynomials will be 1, 2 and 3, respectively.">

.. only:: html

  .. image:: /auto_examples/signals/images/thumb/sphx_glr_plot_univariate_polynomial_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_signals_plot_univariate_polynomial.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Univariate Polynomial</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Sinusoidal waves are very useful in signal generation. The sine wave equation can be used to generate a simple wave (wave 1 in the top left panel) or complex signals in a few steps. The figure below shows the generation of four different waves that are recursively added together to create an increasingly complex signal. And, combining it with other signals, such as sloping line, increases its functionality. The bottom panel of the figure shows all the waves plus a linearly increasing signal.">

.. only:: html

  .. image:: /auto_examples/signals/images/thumb/sphx_glr_plot_wavy_signals_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_signals_plot_wavy_signals.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Wavy signal generation</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Smoothing Functions
___________________

Examples of how to use the smoothing functions included in Cognite Charts.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of noise removal from time series data using the Savitzky-Golay smoother. We use data from volumetric flow rate (m3/h) sensor with non-uniform sampling frequency measuring flow into a compressor.">

.. only:: html

  .. image:: /auto_examples/smooth/images/thumb/sphx_glr_plot_sg_smooth_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_smooth_plot_sg_smooth.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Data smoothing with the Savitzky-Golay filter</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of noise removal from time series data using the Simple Moving Average (SMA), Linear Weighted Moving Average (LWMA) and Exponential Weighted Moving Average smoother (EWMA). We use data from volumetric flow rate (m3/h) sensor with non-uniform sampling frequency measuring flow into a compressor. In the figure below it can be observed that using SMA produces a less noisy time series, but changes in the trend are seen with a greater delay than LWMA or EWMA. Increasing the window size results in a stronger smoothing of the data.">

.. only:: html

  .. image:: /auto_examples/smooth/images/thumb/sphx_glr_plot_ma_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_smooth_plot_ma.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Data smoothing with Moving Averages</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Statistics
___________________

Example on how to use statistics functions in InDSL.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of outlier detection from time series data using DBSCAN and spline regression. We use data from a compressor suction pressure sensor. The data is in barg units and resampled to 1 minute granularity. The figure shows the data without outliers considering a time window of 40min.">

.. only:: html

  .. image:: /auto_examples/statistics/images/thumb/sphx_glr_plot_remove_outliers_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_statistics_plot_remove_outliers.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Outlier detection with DBSCAN and spline regression</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example calculates the rolling pearson correlation coefficient between two synthetic timeseries.">

.. only:: html

  .. image:: /auto_examples/statistics/images/thumb/sphx_glr_plot_pearson_correlation_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_statistics_plot_pearson_correlation.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Pearson correlation</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of outlier detection in a randomly generated time series data using DBSCAN and spline regression. The resulting figure shows outlier indicator time series generated with a time window of 60min plotted on the original time series.">

.. only:: html

  .. image:: /auto_examples/statistics/images/thumb/sphx_glr_plot_detect_outliers_001_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_statistics_plot_detect_outliers_001.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Outlier detection with DBSCAN and spline regression 001</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Example of outlier detection in a randomly generated time series data using DBSCAN and spline regression. The resulting figure shows outliers generated with a time window of 60min marked on the original time series.">

.. only:: html

  .. image:: /auto_examples/statistics/images/thumb/sphx_glr_plot_detect_outliers_002_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_statistics_plot_detect_outliers_002.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Outlier detection with DBSCAN and spline regression 002</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Sustainability Functions
_________________________

Examples of how to use the sustainability functions.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Given the power consumption of a process unit and data regarding the emissions and cost factors, we can work out the total amount of CO2 produced and the cost associated with that. Here is an example using the power used by a gas compressor at the Valhall platform.">

.. only:: html

  .. image:: /auto_examples/sustainability/images/thumb/sphx_glr_plot_cumulative_co2_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_sustainability_plot_cumulative_co2.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Cumulative CO2 Production and Cost</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Rolling standard deviation and variance
___________________________

Examples of rolling standard deviation and variance functions



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example computes the rolling variance of a single time series using a time-based window.">

.. only:: html

  .. image:: /auto_examples/ts_utils/images/thumb/sphx_glr_plot_rolling_variance_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_ts_utils_plot_rolling_variance.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Rolling variance</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example computes the rolling standard deviation of a single time series using a time-based window.">

.. only:: html

  .. image:: /auto_examples/ts_utils/images/thumb/sphx_glr_plot_rolling_stddev_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_ts_utils_plot_rolling_stddev.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Rolling standard deviation</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Function versioning
___________________

Example on how to implement versions of a function in InDSL.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="InDSL comes with the :pyindsl.versioning module, which allows to implement multiple versions of InDSL functions. As a library user, one can then select and execute a specific function version.">

.. only:: html

  .. image:: /auto_examples/versioning/images/thumb/sphx_glr_versioned_function_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_versioning_versioned_function.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Function versioning</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:
   :includehidden:


   /auto_examples/data_quality/index.rst
   /auto_examples/detect/index.rst
   /auto_examples/equipment/index.rst
   /auto_examples/filter/index.rst
   /auto_examples/fluid_dynamics/index.rst
   /auto_examples/forecast/index.rst
   /auto_examples/numerical_calculus/index.rst
   /auto_examples/oil_and_gas/index.rst
   /auto_examples/reindex/index.rst
   /auto_examples/resample/index.rst
   /auto_examples/signals/index.rst
   /auto_examples/smooth/index.rst
   /auto_examples/statistics/index.rst
   /auto_examples/sustainability/index.rst
   /auto_examples/ts_utils/index.rst
   /auto_examples/versioning/index.rst



.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
