taup.discon
Module Contents
Classes
API
- class taup.discon.DisconQuery
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 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
- create_params()
Create dict of params suitible for passing to requests query call.