ct_sample_per_cycle: Accessor functions

Description Usage Arguments Details Value Examples

View source: R/accessor.R

Description

This is a convenience function for those cases where the comtrade file has exactly one sampling frequency.

Usage

1
2
3
4
5
6
7

Arguments

ct

comtrade S3 object constructed using comtrade()

Details

This function uses some simple heuristics to estimate the sampling frequency, assuming that it will be close to the line-frequency multiplied by some positive-integer power of two.

Value

An integer, estimate of number of samples per cycle.

A numeric, estimate of nominal sampling-rate (Hz.).

A numeric, electrical frequency (Hz.)

A numeric, electrical frequency (Hz.)

Examples

1
2
3
4

ijlyttle/ieeecomtrade documentation built on Aug. 23, 2017, 11:27 a.m.