Package fieldpy :: Package stream_gauging :: Module logged_data :: Class Conductivity
[hide private]
[frames] | no frames]

Class Conductivity

source code


Class which holds conductivity experiment data, well actually the recorded data is a voltage ratio.

Instance Methods [hide private]
 
__init__(self, filenames, reference_resistor=10000.0)
Class which holds conductivity experiment data, well actually the recorded data is a voltage ratio.
source code
 
apply_all_filters(self, jump_one_dir=0.01) source code
 
make_condctivity(self) source code

Inherited from core.experiment_classes.CampbellCr1000: make_data, make_time

Inherited from core.experiment_classes.LoggedData: check

Inherited from core.extra_classes.TimeSeries: check_constant_sampling_interval, check_monotonically_inc_time, cut_time_series, filter_and_resample, get_ind, get_ind_as_slice, get_index_after, get_index_before, get_index_nearest, integrate, plot_date, plot_ts, time_filter_gauss

Inherited from core.extra_classes.Data: filter_by_freq, filter_low_pass, mask_if_true, mask_jumps, mask_jumps_one_dir, mask_value, pickle

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from core.extra_classes.Data: data, md

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filenames, reference_resistor=10000.0)
(Constructor)

source code 

Class which holds conductivity experiment data, well actually the recorded data is a voltage ratio. Fills self.data with

  • time
  • V_ratio: the ratio of excitation to measured voltage: this is what the datalogger records.
  • ec: is the V_ratio converted into a conductance (not conductivity! for this the sensor would have to be calibrated with a standard solution)
Parameters:
  • filenames (list of strings) - a list of TOA5 Campbell Cr1000 files in chronological order with the same data format.
  • reference_resistor (float) - The resistance of the reference resistor used in the experiment in Ohm. Note that for dilution gauging it is not essential to use the correct value for this but it is essential to use the same as in the calibration file. (default=1)
Overrides: object.__init__

Note:

  • Error checking is just marginal.
>>> from fieldpy.core.stream_gauging.stream_gauging import *
>>> dir_ = 'test_files/stream_gauging/'
>>> fielns = ['TOA5_EC_1.dat','TOA5_EC_2.dat']
>>> ec = Conductivity([dir_ + fl for fl in fielns])