obspy.taup.tau_model.TauModel.serialize¶
- TauModel.serialize(filename)[source]¶
Serialize model to numpy npz binary file.
Summary of contents that have to be handled during serialization:
TauModel ======== cmbBranch <type 'int'> cmbDepth <type 'float'> debug <type 'bool'> iocbBranch <type 'int'> iocbDepth <type 'float'> mohoBranch <type 'int'> mohoDepth <type 'float'> noDisconDepths <type 'list'> (of float!?) radiusOfEarth <type 'float'> ray_params <type 'numpy.ndarray'> (1D, float) sMod <class 'obspy.taup.slowness_model.SlownessModel'> sourceBranch <type 'int'> source_depth <type 'float'> spherical <type 'bool'> tauBranches <type 'numpy.ndarray'> (2D, type TauBranch) TauBranch ========= DEBUG <type 'bool'> botDepth <type 'float'> dist <type 'numpy.ndarray'> isPWave <type 'bool'> maxRayParam <type 'float'> minRayParam <type 'float'> minTurnRayParam <type 'float'> tau <type 'numpy.ndarray'> time <type 'numpy.ndarray'> topDepth <type 'float'> SlownessModel ============= DEBUG <type 'bool'> DEFAULT_SLOWNESS_TOLERANCE <type 'float'> PLayers <type 'numpy.ndarray'> PWAVE <type 'bool'> SLayers <type 'numpy.ndarray'> SWAVE <type 'bool'> allowInnerCoreS <type 'bool'> criticalDepths <type 'numpy.ndarray'> fluidLayerDepths <type 'list'> (of DepthRange) highSlownessLayerDepthsP <type 'list'> (of DepthRange) highSlownessLayerDepthsS <type 'list'> (of DepthRange) maxDeltaP <type 'float'> maxDepthInterval <type 'float'> maxInterpError <type 'float'> maxRangeInterval <type 'float'> minDeltaP <type 'float'> radiusOfEarth <type 'float'> slowness_tolerance <type 'float'> vMod <class 'obspy.taup.velocity_model.VelocityModel'> VelocityModel ============= cmbDepth <type 'float'> default_cmb <type 'float'> default_iocb <type 'float'> default_moho <type 'int'> iocbDepth <type 'float'> isSpherical <type 'bool'> layers <type 'numpy.ndarray'> maxRadius <type 'float'> minRadius <type 'int'> modelName <type 'unicode'> mohoDepth <type 'float'> radiusOfEarth <type 'float'>