import { Seismogram } from "./seismogram.mjs"; /** * const for degrees to radians, pi/180 */ export declare const DtoR: number; /** * Result of rotation for 2 seismograms. */ export declare class RotatedSeismograms { radial: Seismogram; transverse: Seismogram; azimuthRadial: number; azimuthTransverse: number; rotation: number; constructor(radial: Seismogram, azimuthRadial: number, transverse: Seismogram, azimuthTransverse: number, rotation: number); } /** * Rotates the given seismograms from their given azimuths so the output radial * is along the new azimuth and the output transverse is perpendicular to it. * * @param seisA first seismogram * @param azimuthA azimuth of first seismogram * @param seisB second seismogram * @param azimuthB azimuth of second seismogram * @param azimuth output radial azimuth to rotate to * @returns radial and transverse seismograms */ export declare function rotate(seisA: Seismogram, azimuthA: number, seisB: Seismogram, azimuthB: number, azimuth: number): RotatedSeismograms; /** * creates a new Seismogram where the value at each sample is the * vector magnitude of the 3 corresponding data points from each seismogram. * Each of the 3 seismograms are assumed to be mutually perpendicular so * that each set of samples gives a vector in 3-dimensional space. In particular * all three seismograms must have the same number of samples and sample rate. * It is assumed, but not checked, that they will be the three components of * motion at a station (ie matching network, station and location codes) * and have the same start time. * * @param seisA first seismogram * @param seisB second seismogram * @param seisC third seismogram * @param orientCode optional orientation code for resulting seismogram, defaults to M * @returns Seismogram of vector magnitudes */ export declare function vectorMagnitude(seisA: Seismogram, seisB: Seismogram, seisC: Seismogram, orientCode?: string | null): Seismogram; //# sourceMappingURL=vector.d.mts.map