taup.table
Module Contents
Classes
API
- class taup.table.TableQuery
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.
- calcLocsat(taupServer)
Sends all params to the server, returns the result as a text version of locsat.
- get_text()
returns current value of generic as a Boolean
- text(val)
Sets the generic parameter, of type Boolean
outputs as Text
Known as
--textin command line. Also known as--genericin command line.- Parameters:
val – value to set generic to
- get_generic()
returns current value of generic as a Boolean
- generic(val)
Sets the generic parameter, of type Boolean
outputs as Text
Known as
--genericin command line.- Parameters:
val – value to set generic to
- get_header()
returns current value of header as a String
- header(val)
Sets the header parameter, of type String
reads depth and distance spacing data from a LOCSAT style file.
Known as
--headerin command line.- Parameters:
val – value to set header 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_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
- create_params()
Create dict of params suitible for passing to requests query call.