taup.phase
Module Contents
Classes
API
- class taup.phase.PhaseQuery
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.
- calcText(taupServer)
Sends all params to the server, returns the result as a text version of text.
- 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_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_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_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
- create_params()
Create dict of params suitible for passing to requests query call.