Man page - msr_nomsamprate(3)
Packages contas this manual
- ms_gswap2(3)
- ms_selection(3)
- ms_gswap8(3)
- ms_strncpclean(3)
- msr_endtime(3)
- ms_hptime2isotimestr(3)
- ms_addselect_comp(3)
- ms_readtracelist_selection(3)
- ms_hptime2seedtimestr(3)
- ms_strncpopen(3)
- ms_readtracelist(3)
- msr_addblockette(3)
- ms_parse_raw(3)
- ms_gswap4(3)
- ms_matchselect(3)
- ms_btime2isotimestr(3)
- ms_gswap4a(3)
- msr_free(3)
- ms_bigendianhost(3)
- ms_addselect(3)
- mst_writemseedgroup(3)
- ms_freeselections(3)
- ms_seedtimestr2hptime(3)
- ms_loginit_l(3)
- mst_addtracetogroup(3)
- ms_gswap8a(3)
- mst_printgaplist(3)
- ms_blktdesc(3)
- ms_samplesize(3)
- ms_md2doy(3)
- msr_pack_header(3)
- msr_writemseed(3)
- ms_readtraces(3)
- ms_readmsr_r(3)
- ms_readtracelist_timewin(3)
- mst_writemseed(3)
- mstl_printsynclist(3)
- ms_hptime2btime(3)
- mstl_addmsr(3)
- msr_duplicate(3)
- mstl_free(3)
- ms_lookup(3)
- msr_pack(3)
- mst_freegroup(3)
- ms_btime3hptime(3)
- mst_printtracelist(3)
- ms_readleapseconds(3)
- mst_packgroup(3)
- ms_btime2mdtimestr(3)
- ms_encodingstr(3)
- ms_time(3)
- ms_detect(3)
- msr_print(3)
- ms_log(3)
- ms_readtraces_timewin(3)
- ms_readtraces_selection(3)
- msr_init(3)
- mstl_convertsamples(3)
- msr_parse_selection(3)
- msr_starttime(3)
- mst_pack(3)
- ms_readselectionsfile(3)
- ms_timestr2hptime(3)
- ms_blktlen(3)
- ms_hptime2mdtimestr(3)
- mst_initgroup(3)
- ms_intro(3)
- ms_recsrcname(3)
- ms_btime2seedtimestr(3)
- mst_free(3)
- ms_gswap(3)
- mst_addmsr(3)
- msr_starttime_uc(3)
- mst_findmatch(3)
- ms_loginit(3)
- msr_parse(3)
- ms_log_l(3)
- ms_errorstr(3)
- msr_samprate(3)
- mst_addspan(3)
- ms_printselections(3)
- ms_genfactmult(3)
- ms_srcname(3)
- msr_normalize_header(3)
- ms_gswap3(3)
- ms_ratapprox(3)
- ms_writemseed(3)
- msr_unpack(3)
- mst_groupheal(3)
- mstl_init(3)
- mstl_printgaplist(3)
- mst_findadjacent(3)
- mst_groupsort(3)
- ms_readleapsecondfile(3)
- ms_gswap2a(3)
- mst_srcname(3)
- mst_convertsamples(3)
- msr_nomsamprate(3)
- msr_free_blktchain(3)
- mstl_printtracelist(3)
- ms_splitsrcname(3)
- ms_doy2md(3)
- ms_time2hptime(3)
- msr_host_latency(3)
- ms_readmsr(3)
- mst_printsynclist(3)
- mst_init(3)
- msr_srcname(3)
- mst_addmsrtogroup(3)
- ms_find_reclen(3)
apt-get install libmseed-doc
Manual
| MSR_SAMPRATE(3) | Library Functions Manual | MSR_SAMPRATE(3) |
NAME
msr_samprate - Determine sample rate from an MSRecord structure
SYNOPSIS
#include <libmseed.h> double msr_samprate ( MSRecord *msr ); double msr_nomsamprate ( MSRecord *msr );
DESCRIPTION
msr_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 VALUES
msr_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 ALSO
ms_intro(3) and msr_unpack(3).
AUTHOR
Chad Trabant IRIS Data Management Center
| 2006/02/27 | Libmseed API |