📄 msr_samprate.3
字号:
.TH MSR_SAMPRATE 3 2006/02/27 "Libmseed API".SH DESCRIPTIONDetermine sample rate from an MSRecord structure.SH SYNOPSIS.nf.B #include <libmseed.h>.BI "double \fBmsr_samprate\fP ( MSRecord *" msr " );.BI "double \fBmsr_nomsamprate\fP ( MSRecord *" msr " );.fi.SH DESCRIPTION\fBmsr_samprate\fP will calculate a double precision sample rate insamples per second using the header values in the specified MSRecord.If a Blockette 100 is included, the "Actual sample rate" (field 3)will be returned, otherwise a nominal sample rate will be calculatedfrom the sample rate factor and multiplier in the fixed section dataheader.NOTE: The sample rate for a MSRecord structure is available directlyat MSRecord.samplerate. libmseed based programs should use thatsample rate whenever possible (\fBmsr_unpack\fP uses\fBmsr_samprate\fP to set MSRecord.samplerate).\fBmsr_nomsamprate\fP will calculate a double precision sample rate insamples per second using the sample rate factor and multiplier in thefixed section data header..SH RETURN VALUES\fBmsr_samprate\fP returns a double precision sample rate on successand -1.0 on error.\fBmsr_nomsamprate\fP returns a double precision sample rate onsuccess and -1.0 on error..SH SEE ALSO\fBms_intro(3)\fP and \fBmsr_unpack(3)\fP..SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -