MSR_SAMPRATE - Online Linux Manual PageSection : 3
Updated : 2006/02/27
Source : Libmseed API

NAMEmsr_samprate - Determine sample rate from an MSRecord structure

SYNOPSIS#include <libmseed.h> double msr_samprate ( MSRecord *msr"); double msr_nomsamprate ( MSRecord *msr");

DESCRIPTIONmsr_samprate will calculate a double precision sample rate in samples 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 calculated from the sample rate factor and multiplier in the fixed section data header. NOTE: The sample rate for a MSRecord structure is available directly at MSRecord.samplerate. libmseed based programs should use that sample rate whenever possible (msr_unpack uses msr_samprate to set MSRecord.samplerate). msr_nomsamprate will calculate a double precision sample rate in samples per second using the sample rate factor and multiplier in the fixed section data header.

RETURN VALUESmsr_samprate returns a double precision sample rate on success and -1.0 on error. msr_nomsamprate returns a double precision sample rate on success and -1.0 on error.

SEE ALSOms_intro(3) and msr_unpack(3).

AUTHORChad Trabant IRIS Data Management Center
0
Johanes Gumabo
Data Size   :   4,671 byte
man-msr_samprate.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 204,012
Visitor ID   :     :  
Visitor IP   :   13.59.82.60   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.