Account
| BdsApi 4.0.1 This is the Blacknest BDS API. |
Loading...
Searching...
No Matches
BdsLib.cpp File Reference
Namespaces | |
| namespace | Bds |
Macros | |
| #define | DISABLE_DECIMATION_FIX 1 |
Functions | |
| BError | Bds::bdsLibInit (DataAccess &bds) |
| Initialise the bdsLib with settings from the BdsServer. | |
| BError | Bds::bdsLibInit (DataAddAccess &bds) |
| Initialise the bdsLib with settings from the BdsServer. | |
| BError | Bds::bdsLibInit (AdminAccess &bds) |
| Initialise the bdsLib with settings from the BdsServer. | |
| void | Bds::bdsDumpPoleZeros (PoleZero poleZeros) |
| Debug print out a PoleZeros object. | |
| void | Bds::bdsChannelGetTypeAux (BString name, BString &type, BString &aux) |
| Get the channel type and aux fields from a generic channel name. | |
| BString | Bds::bdsChannelGetName (BString type, BString aux) |
| Create a full channel name from a channels type and aux fields. | |
| BError | Bds::bdsDataInfoSetTimeRange (DataInfo &dataInfo) |
| Restricts the time tange of all of the DataInfo's channels to match the DataInfo's startTime/endTime fields. | |
| BError | Bds::bdsDataInfoFromInfo (BDictString info, DataInfo &dataInfo, Bool append) |
| Convert info to DataInfo. | |
| BError | Bds::bdsInfoFromDataInfo (const DataInfo &dataInfo, BDictString &info) |
| Converts a DataInfo object into a BDictString list of named strings. | |
| BError | Bds::bdsDataInfoFlatten (DataInfo &dataInfo) |
| Flattens a DataInfo to 1 segement per channel for use in dataOpen() calls. | |
| BError | Bds::bdsDataInfoMergeFlatten (DataInfo &dataInfo, const DataInfo &dataInfoAdd) |
| Merges a DataInfo into another flattening the segments to 1 for use in dataOpen() calls. | |
| BString | Bds::bdsUnitsConvert (BString units) |
| Tidy up units name to standard SI units format. | |
| BError | Bds::bdsDataInfoFromChannelInfos (const ChannelInfos &channelInfos, DataInfo &dataInfo) |
| Sets up a Datainfo object from ChannelInfos. | |
| static int | Bds::responseSort (Response &a, Response &b) |
| BError | Bds::bdsMetadataImportFix (ChannelInfos &channelInfos, BString &changedMessage, Bool stageRenumber) |
| Fix up ChannelInfos from import. Mainly making sure response stages and their units are correct. | |
| BError | Bds::bdsMetadataExportFix (ChannelInfos &channelInfos, BString &changedMessage, Bool singleResponse, Bool stageRenumber, Bool changeUnits, Bool stageGains, Bool decimation, Bool toDisplacement, Bool toNm) |
| Fix up ChannelInfos for export. Mainly making sure response stages and their units are correct. | |
| BString | Bds::bdsStationAlias (Station station) |
| Returns the station alias if set else its name. | |
| void | Bds::bdsDumpSelection (Selection sel) |
| Debug print out a Selection object. | |
| void | Bds::bdsDumpSelectionInfo (SelectionInfo sel) |
| Debug print out a SelectionInfo object. | |
| void | Bds::bdsDumpDataInfo (DataInfo dataInfo, int includeInfo=0) |
| Debug print out a DataInfo object. | |
| void | Bds::bdsDumpChannelInfos (const ChannelInfos &channelInfos) |
| Debug print out a ChannelInfos object. | |
| void | Bds::bdsDumpData (const DataBlock &dataBlock, int nSamples=0) |
| Debug print out a DataBlock object. | |
| void | Bds::bdsDumpLocation (Location location) |
| Debug printout location. | |
| BString | Bds::bdsDataChannelInfo (const DataChannel &dataChannel) |
| Returns a string representation of a DataChannel object. | |
| BString | Bds::bdsDataChannelRef (const DataChannel &dataChannel) |
| Returns the string reference name of a DataChannel object. | |
| BString | Bds::bdsDataChannelRef (const ChannelInfo &channelInfo) |
| Returns the string reference name of a ChannelInfo object. | |
| BError | Bds::bdsDataChannelOverallResponse (const ChannelInfo &channelInfo, Response &response) |
| Returns the overal response from the list of responses in a ChannelInfo. | |
| BString | Bds::bdsSelectionChannelInfo (const Selection &selection, BUInt channel) |
| Returns a string describing the name and time period of a selection channel. | |
| double | Bds::bdsPoleZeroGain (const PoleZero &poleZero, double frequency) |
| Calculates the overall gain of the given PoleZero transfer function. | |
| void | Bds::bdsPoleZeroGainPhase (const PoleZero &poleZero, double frequency, double &gain, double &phase) |
| Calculates the overall gain and phase of the given PoleZero transfer function. | |
| void | Bds::bdsPoleZeroToFap (const PoleZero &poleZero, BUInt nPoints, double calibrationFrequency, double sampleFrequency, BArray< Fap > &fap) |
| Convert PoleZero to FAP. | |
| static BString | Bds::fileNameTime (BTimeStamp t) |
| BString | Bds::bdsFileNameExpand (BString fileName, ChannelInfo &channelInfo) |
| Default filename from a ChannelInfo. | |
| BString | Bds::bdsFileNameExpand (BString fileName, ChannelInfos &channelInfos) |
| Default filename from a list of ChannelInfo's. | |
| BString | Bds::bdsFileNameExpand (BString fileName, Selection &sel) |
| Default filename from a Selection. | |
| void | Bds::bdsSpecialChannelsSet (const BList< SpecialChannel > specialChannels) |
| Set the special channels list. | |
| BList< SpecialChannel > | Bds::bdsSpecialChannels () |
| Return list of special channels. | |
| Bool | Bds::bdsSpecialChannelIgnore (BString network, BString station, BString channel) |
| Check if channel should be ignored. | |
| char | Bds::seedChannelInstrumentCode (BString dataType) |
| Returns SEED instrument code from dataType. | |
| BString | Bds::seedChannelDataType (BString channel) |
| Returns dataType from channel name based on SEED channel name convention. | |
| BStringList | Bds::bdsDataTypes () |
| Returns all known data types. | |
| BStringList | Bds::bdsUnits () |
| Returns all known SI units. | |
| BString | Bds::bdsUnitCase (BString unit) |
| Converts character case of units. | |
Variables | |
| static BList< SpecialChannel > | Bds::bdsSpecialChannelsList |
| SeedICodeToDataType | Bds::seedICodeToDataTypes [] |
Macro Definition Documentation
◆ DISABLE_DECIMATION_FIX
| #define DISABLE_DECIMATION_FIX 1 |
Generated by
