taup.velplot
Module Contents
Classes
API
- class taup.velplot.VelplotQuery
Initialization
- calcJson(taupServer)
Sends all params to the server, returns the result parsed from JSON.
- calcGmt(taupServer)
Sends all params to the server, returns the result as a text version of gmt.
- 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.
- calcSvg(taupServer)
Sends all params to the server, returns the result as a text version of svg.
- calcText(taupServer)
Sends all params to the server, returns the result as a text version of text.
- calcNameddiscon(taupServer)
Sends all params to the server, returns the result as a text version of nameddiscon.
- get_legend()
returns current value of legend as a Boolean
- legend(val)
Sets the legend parameter, of type Boolean
create a legend
Known as
--legendin command line.- Parameters:
val – value to set legend to
- get_mapwidth()
returns current value of mapwidth as a Float
- mapwidth(val)
Sets the mapwidth parameter, of type Float
plot width in units from –mapwidthunit.
Known as
--mapwidthin command line.- Parameters:
val – value to set mapwidth to
- get_mapwidthunit()
returns current value of mapwidthunit as a String
- mapwidthunit(val)
Sets the mapwidthunit parameter, of type String
plot width unit, i for inch, c for cm or p for px.
Known as
--mapwidthunitin command line.- Parameters:
val – value to set mapwidthunit to
- get_mod()
returns current value of model as a List
- mod(val)
Sets the model parameter, of type List of String If a single String is passed in, it is automatically wrapped in a list. So params.mod( value ) and params.mod( [ value ] ) are equivalent.
use velocity model “modelname” for calculations, format is guessed.
Known as
--modin command line. Also known as--modelin command line.- Parameters:
val – value to set model to
- andMod(val)
Append a value to the model parameter, of type String
use velocity model “modelname” for calculations, format is guessed.
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 List
- model(val)
Sets the model parameter, of type List of String If a single String is passed in, it is automatically wrapped in a list. So params.model( value ) and params.model( [ value ] ) are equivalent.
use velocity model “modelname” for calculations, format is guessed.
Known as
--modelin command line.- Parameters:
val – value to set model to
- andModel(val)
Append a value to the model parameter, of type String
use velocity model “modelname” for calculations, format is guessed.
Known as
--modelin command line.- Parameters:
val – value to set model to
- get_x()
returns current value of xaxis as a edu.sc.seis.TauP.ModelAxisType
- x(val)
- Sets the xaxis parameter, a choice of one of:
depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus
X axis data type, one of depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus Default is velocity.
Known as
-xin command line. Also known as--xaxisin command line.- Parameters:
val – value to set xaxis to
- get_xaxis()
returns current value of xaxis as a edu.sc.seis.TauP.ModelAxisType
- xaxis(val)
- Sets the xaxis parameter, a choice of one of:
depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus
X axis data type, one of depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus Default is velocity.
Known as
--xaxisin command line.- Parameters:
val – value to set xaxis to
- get_xminmax()
returns current value of xminmax as a [D
- xminmax(val)
Sets the xminmax parameter, of type [D
min and max x axis for plotting
Known as
--xminmaxin command line.- Parameters:
val – value to set xminmax to
- get_y()
returns current value of yaxis as a edu.sc.seis.TauP.ModelAxisType
- y(val)
- Sets the yaxis parameter, a choice of one of:
depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus
Y axis data type, one of depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus Default is depth.
Known as
-yin command line. Also known as--yaxisin command line.- Parameters:
val – value to set yaxis to
- get_yaxis()
returns current value of yaxis as a edu.sc.seis.TauP.ModelAxisType
- yaxis(val)
- Sets the yaxis parameter, a choice of one of:
depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus
Y axis data type, one of depth, radius, velocity, Vp, Vs, slownessdeg, slownessdeg_p, slownessdeg_s, slownessrad, slownessrad_p, slownessrad_s, density, velocity_density, Qp, Qs, Q, vpvs, vpdensity, vsdensity, poisson, shearmodulus, lambda, bulkmodulus, youngsmodulus Default is depth.
Known as
--yaxisin command line.- Parameters:
val – value to set yaxis to
- get_yminmax()
returns current value of yminmax as a [D
- yminmax(val)
Sets the yminmax parameter, of type [D
min and max y axis for plotting
Known as
--yminmaxin command line.- Parameters:
val – value to set yminmax to
- create_params()
Create dict of params suitible for passing to requests query call.