Skip to content

Bearing Frequencies

Bearing Frequencies reads defines a common interface for reading bearing frequencies data from the data source.

It is used by the AssetDataReader classes to read bearing frequencies data for the asset, and by the Measurement class to read the bearing frequencies data for the single measurement without the asset context.

The interface requires only one method to be implemented: get_bearing_data(manufacturer: str, model: str) where manufacturer and model are the bearing manufacturer and model respectively.

There are two main implementations of that interface: PowertrainBearingFrequenciesDatabase and LocalBearingFrequenciesDatabase. Check [API] bellow for more details.

API

smartanalytics.raw_data.readers.bearing_frequencies.IBearingFrequenciesDatabase

Bases: ABC

This is an interface for a database that provides bearing frequencies.

smartreport.v3.readers.bearing_frequencies.powertrain.PowertrainBearingFrequenciesDatabase

smartanalytics.raw_data.readers.bearing_frequencies.LocalBearingFrequenciesDatabase