annotations.RMS package¶
Submodules¶
annotations.RMS.irms module¶
- filename
sppas.src.annotations.RMS.irms.py
- author
Brigitte Bigi
- contact
- summary
Estimator of RMS values on intervals.
- class annotations.RMS.irms.IntervalsRMS(channel=None)[source]¶
Bases:
object
Estimate RMS on intervals of a channel.
- __init__(channel=None)[source]¶
Create a sppasIntervalsRMS instance.
- Parameters
channel – (sppasChannel) the input channel
annotations.RMS.sppasrms module¶
- filename
sppas.src.annotations.RMS.sppasrms.py
- author
Brigitte Bigi
- contact
- summary
SPPAS integration of RMS automatic annotation
- class annotations.RMS.sppasrms.sppasRMS(log=None)[source]¶
Bases:
annotations.baseannot.sppasBaseAnnotation
SPPAS integration of the automatic RMS estimator on intervals.
Estimate the root-mean-square of segments, i.e. sqrt(sum(S_i^2)/n). This is a measure of the power in an audio signal.
- __init__(log=None)[source]¶
Create a new sppasRMS instance.
- Parameters
log – (sppasLog) Human-readable logs.
- static get_input_extensions()[source]¶
Extensions that the annotation expects for its input filename.
- get_inputs(input_files)[source]¶
Return the channel and the tier with ipus.
- Parameters
input_files – (list)
- Raise
NoTierInputError
- Returns
(sppasChannel, sppasTier)
Module contents¶
- filename
sppas.src.annotations.RMS.__init__.py
- author
Brigitte Bigi
- contact
- summary
Root-Mean-Square estimation.
- class annotations.RMS.IntervalsRMS(channel=None)[source]¶
Bases:
object
Estimate RMS on intervals of a channel.
- __init__(channel=None)[source]¶
Create a sppasIntervalsRMS instance.
- Parameters
channel – (sppasChannel) the input channel
- class annotations.RMS.sppasRMS(log=None)[source]¶
Bases:
annotations.baseannot.sppasBaseAnnotation
SPPAS integration of the automatic RMS estimator on intervals.
Estimate the root-mean-square of segments, i.e. sqrt(sum(S_i^2)/n). This is a measure of the power in an audio signal.
- __init__(log=None)[source]¶
Create a new sppasRMS instance.
- Parameters
log – (sppasLog) Human-readable logs.
- static get_input_extensions()[source]¶
Extensions that the annotation expects for its input filename.
- get_inputs(input_files)[source]¶
Return the channel and the tier with ipus.
- Parameters
input_files – (list)
- Raise
NoTierInputError
- Returns
(sppasChannel, sppasTier)