taup.find
Module Contents
Classes
API
- class taup.find.FindQuery
Initialization
- calcJson(taupServer)
Sends all params to the server, returns the result parsed from JSON.
- calcHtml(taupServer)
Sends all params to the server, returns the result as a text version of html.
- calcCsv(taupServer)
Sends all params to the server, returns the result as a text version of csv.
- calcText(taupServer)
Sends all params to the server, returns the result as a text version of text.
- get_amp()
returns current value of amp as a Boolean
- amp(val)
Sets the amp parameter, of type Boolean
show amplitude factor for each phase
Known as
--ampin command line.- Parameters:
val – value to set amp to
- get_attenuationfreq()
returns current value of attenuationfreq as a Float
- attenuationfreq(val)
Sets the attenuationfreq parameter, of type Float
attenuation frequency for amplitude calculations, default is 1.0
Known as
--attenuationfreqin command line.- Parameters:
val – value to set attenuationfreq to
- get_az()
returns current value of az as a Double
- az(val)
Sets the az parameter, of type Double
azimuth in degrees, for amp calculations
Known as
--azin command line.- Parameters:
val – value to set az to
- get_deg()
returns current value of degree as a List
- deg(val)
Sets the degree parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.deg( value ) and params.deg( [ value ] ) are equivalent.
distance in degrees
Known as
--degin command line. Also known as--degreein command line.- Parameters:
val – value to set degree to
- andDeg(val)
Append a value to the degree parameter, of type Double
distance in degrees
Known as
--degin command line. Also known as--degreein command line.- Parameters:
val – value to set degree to
- get_degree()
returns current value of degree as a List
- degree(val)
Sets the degree parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.degree( value ) and params.degree( [ value ] ) are equivalent.
distance in degrees
Known as
--degreein command line.- Parameters:
val – value to set degree to
- andDegree(val)
Append a value to the degree parameter, of type Double
distance in degrees
Known as
--degreein command line.- Parameters:
val – value to set degree to
- get_deltatime()
returns current value of deltatime as a Double
- deltatime(val)
Sets the deltatime parameter, of type Double
find arrivals within the +- deltatime, –times must have single time
Known as
--deltatimein command line.- Parameters:
val – value to set deltatime to
- get_exclude()
returns current value of exclude as a List
- exclude(val)
Sets the exclude parameter, of type List of String
Exclude boundaries from phase conversion or reflection interactions May be depth (within tol) or named boundary like moho, cmb, iocb
Known as
--excludein command line.- Parameters:
val – value to set exclude to
- andExclude(val)
Append a value to the exclude parameter, of type String
Exclude boundaries from phase conversion or reflection interactions May be depth (within tol) or named boundary like moho, cmb, iocb
Known as
--excludein command line.- Parameters:
val – value to set exclude to
- get_max()
returns current value of max as a Integer
- max(val)
Sets the max parameter, of type Integer
Maximum number of reflections and phase conversion
Known as
--maxin command line.- Parameters:
val – value to set max to
- get_mod()
returns current value of model as a String
- mod(val)
Sets the model parameter, of type String
use velocity model “modelName” for calculations. Default is iasp91. Other builtin models include prem, ak135, ak135fcont, and ak135favg.
Known as
--modin command line. Also known as--modelin command line.- Parameters:
val – value to set model to
- get_model()
returns current value of model as a String
- model(val)
Sets the model parameter, of type String
use velocity model “modelName” for calculations. Default is iasp91. Other builtin models include prem, ak135, ak135fcont, and ak135favg.
Known as
--modelin command line.- Parameters:
val – value to set model to
- get_mw()
returns current value of mw as a Float
- mw(val)
Sets the mw parameter, of type Float
scale amplitude by source moment magnitude, default is 4.0
Known as
--mwin command line.- Parameters:
val – value to set mw to
- get_numattenuationfreq()
returns current value of numattenuationfreq as a Integer
- numattenuationfreq(val)
Sets the numattenuationfreq parameter, of type Integer
number attenuation frequencies for amplitude calculations, default is 64
Known as
--numattenuationfreqin command line.- Parameters:
val – value to set numattenuationfreq to
- get_onlynameddiscon()
returns current value of onlynameddiscon as a Boolean
- onlynameddiscon(val)
Sets the onlynameddiscon parameter, of type Boolean
only interact with named discontinuities like moho, cmb, iocb
Known as
--onlynameddisconin command line.- Parameters:
val – value to set onlynameddiscon to
- get_p()
returns current value of phase as a List
- p(val)
Sets the phase parameter, of type List of String If a single String is passed in, it is automatically wrapped in a list. So params.p( value ) and params.p( [ value ] ) are equivalent.
seismic phase names
Known as
-pin command line. Also known as--phasein command line.- Parameters:
val – value to set phase to
- andP(val)
Append a value to the phase parameter, of type String
seismic phase names
Known as
-pin command line. Also known as--phasein command line.- Parameters:
val – value to set phase to
- get_phase()
returns current value of phase as a List
- phase(val)
Sets the phase parameter, of type List of String If a single String is passed in, it is automatically wrapped in a list. So params.phase( value ) and params.phase( [ value ] ) are equivalent.
seismic phase names
Known as
--phasein command line.- Parameters:
val – value to set phase to
- andPhase(val)
Append a value to the phase parameter, of type String
seismic phase names
Known as
--phasein command line.- Parameters:
val – value to set phase to
- get_ph()
returns current value of phase as a List
- ph(val)
Sets the phase parameter, of type List of String If a single String is passed in, it is automatically wrapped in a list. So params.ph( value ) and params.ph( [ value ] ) are equivalent.
seismic phase names
Known as
--phin command line. Also known as--phasein command line.- Parameters:
val – value to set phase to
- andPh(val)
Append a value to the phase parameter, of type String
seismic phase names
Known as
--phin command line. Also known as--phasein command line.- Parameters:
val – value to set phase to
- get_pwaveonly()
returns current value of pwaveonly as a Boolean
- pwaveonly(val)
Sets the pwaveonly parameter, of type Boolean
only P wave legs, no S
Known as
--pwaveonlyin command line.- Parameters:
val – value to set pwaveonly to
- get_rayparamdeg()
returns current value of rayparamdeg as a [Ljava.lang.Double;
- rayparamdeg(val)
Sets the rayparamdeg parameter, of type [Ljava.lang.Double;
only keep phases that overlap the given ray parameter range in s/deg
Known as
--rayparamdegin command line.- Parameters:
val – value to set rayparamdeg to
- get_rayparamkm()
returns current value of rayparamkm as a [Ljava.lang.Double;
- rayparamkm(val)
Sets the rayparamkm parameter, of type [Ljava.lang.Double;
only keep phases that overlap the given ray parameter range in s/km
Known as
--rayparamkmin command line.- Parameters:
val – value to set rayparamkm to
- get_stadepth()
returns current value of receiverdepth as a List
- stadepth(val)
Sets the receiverdepth parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.stadepth( value ) and params.stadepth( [ value ] ) are equivalent.
the receiver depth in km for stations not at the surface
Known as
--stadepthin command line. Also known as--receiverdepthin command line.- Parameters:
val – value to set receiverdepth to
- andStadepth(val)
Append a value to the receiverdepth parameter, of type Double
the receiver depth in km for stations not at the surface
Known as
--stadepthin command line. Also known as--receiverdepthin command line.- Parameters:
val – value to set receiverdepth to
- get_receiverdepth()
returns current value of receiverdepth as a List
- receiverdepth(val)
Sets the receiverdepth parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.receiverdepth( value ) and params.receiverdepth( [ value ] ) are equivalent.
the receiver depth in km for stations not at the surface
Known as
--receiverdepthin command line.- Parameters:
val – value to set receiverdepth to
- andReceiverdepth(val)
Append a value to the receiverdepth parameter, of type Double
the receiver depth in km for stations not at the surface
Known as
--receiverdepthin command line.- Parameters:
val – value to set receiverdepth to
- get_scat()
returns current value of scatter as a List
- scat(depth, degree)
Sets the scatter parameter, of type List of Double
scattering depth and distance in degrees, which may be negative. Only effects phases with ‘o’ or ‘O’ in the phase name.
Known as
--scatin command line. Also known as--scatterin command line.- Parameters:
val – value to set scatter to
- get_scatter()
returns current value of scatter as a List
- scatter(depth, degree)
Sets the scatter parameter, of type List of Double
scattering depth and distance in degrees, which may be negative. Only effects phases with ‘o’ or ‘O’ in the phase name.
Known as
--scatterin command line.- Parameters:
val – value to set scatter to
- get_showrayparam()
returns current value of showrayparam as a Boolean
- showrayparam(val)
Sets the showrayparam parameter, of type Boolean
show min and max ray parameter for each phase name
Known as
--showrayparamin command line.- Parameters:
val – value to set showrayparam to
- get_h()
returns current value of sourcedepth as a List
- h(val)
Sets the sourcedepth parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.h( value ) and params.h( [ value ] ) are equivalent.
source depth in km
Known as
-hin command line. Also known as--sourcedepthin command line.- Parameters:
val – value to set sourcedepth to
- andH(val)
Append a value to the sourcedepth parameter, of type Double
source depth in km
Known as
-hin command line. Also known as--sourcedepthin command line.- Parameters:
val – value to set sourcedepth to
- get_sourcedepth()
returns current value of sourcedepth as a List
- sourcedepth(val)
Sets the sourcedepth parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.sourcedepth( value ) and params.sourcedepth( [ value ] ) are equivalent.
source depth in km
Known as
--sourcedepthin command line.- Parameters:
val – value to set sourcedepth to
- andSourcedepth(val)
Append a value to the sourcedepth parameter, of type Double
source depth in km
Known as
--sourcedepthin command line.- Parameters:
val – value to set sourcedepth to
- get_evdepth()
returns current value of sourcedepth as a List
- evdepth(val)
Sets the sourcedepth parameter, of type List of Double If a single Double is passed in, it is automatically wrapped in a list. So params.evdepth( value ) and params.evdepth( [ value ] ) are equivalent.
source depth in km
Known as
--evdepthin command line. Also known as--sourcedepthin command line.- Parameters:
val – value to set sourcedepth to
- andEvdepth(val)
Append a value to the sourcedepth parameter, of type Double
source depth in km
Known as
--evdepthin command line. Also known as--sourcedepthin command line.- Parameters:
val – value to set sourcedepth to
- get_strikediprake()
returns current value of strikediprake as a List
- strikediprake(val)
Sets the strikediprake parameter, of type List of Float
fault strike, dip and rake for amplitude calculations. If not given radiation pattern is unity in all directions.
Known as
--strikediprakein command line.- Parameters:
val – value to set strikediprake to
- andStrikediprake(val)
Append a value to the strikediprake parameter, of type Float
fault strike, dip and rake for amplitude calculations. If not given radiation pattern is unity in all directions.
Known as
--strikediprakein command line.- Parameters:
val – value to set strikediprake to
- get_swaveonly()
returns current value of swaveonly as a Boolean
- swaveonly(val)
Sets the swaveonly parameter, of type Boolean
only S wave legs, no P
Known as
--swaveonlyin command line.- Parameters:
val – value to set swaveonly to
- get_time()
returns current value of time as a List
- time(val)
Sets the time parameter, of type List of Double
find arrivals within the given range
Known as
--timein command line.- Parameters:
val – value to set time to
- andTime(val)
Append a value to the time parameter, of type Double
find arrivals within the given range
Known as
--timein command line.- Parameters:
val – value to set time to
- create_params()
Create dict of params suitible for passing to requests query call.