Skip to content

equinor/camille

Repository files navigation

Camille

equinor Codacy Badge Codacy Badge MutMut Badge PyPI version

A dataframe processing toolbox.

Installation

pip install camille

Usage

import camille
import datetime
import pytz

bazefetcher_source = camille.source.Bazefetcher('<bazefetcher_root_dir>')
bazefetcher_out = camille.output.Bazefetcher('<bazefetcher_root_dir>')

begin = datetime.datetime(2017, 11, 1, tzinfo=pytz.utc )
end = datetime.datetime(2017, 11, 3, tzinfo=pytz.utc )

data = bazefetcher_source('<tag>', begin, end)

processed = camille.process.low_pass(data, sampling_rate=10, cutoff_freq=2)

bazefetcher_out('<tag>', start, end)