HudsonPlots

require.mx('mxjs/seismic/hudson_plots.js');

This library provides functions to assist with hudson plots in mXrap

StatusName
Object calculateHudsonParametersFromSigmas ( Array sigmas )

Calculates key parameters from Hudson et al. 1989 from the given stresses array.

Object calculateHudsonPlotPositionForKAndT ( Number k, Number T )

Calculates the u, v values (Hudson plot positions) for the given values of the parameters k and T.

Object calculateHudsonPlotPositionForKAndTau ( Number k, Number tau )

Calculates the u, v values (Hudson plot positions) for the given values of the parameters k and tau.

Number calculateHudsonTauFromKAndT ( Number k, Number T )

Calculate the value of tau from the value of k and T according to Hudson et al. 1989 (28).


Library Functions

parameters = Lib.calculateHudsonParametersFromSigmas ( sigmas )

Calculates key parameters from Hudson et al. 1989 from the given stresses array.

Parameters:
  • Array sigmas - the stresses, as an array of three numbers in any order.
Returns: Object parameters - an object containing the properties k, T, mu, and tau, for the respective parameters.
position = Lib.calculateHudsonPlotPositionForKAndT ( k, T )

Calculates the u, v values (Hudson plot positions) for the given values of the parameters k and T.

Parameters: Returns: Object position - an object with two properties: u and v.
position = Lib.calculateHudsonPlotPositionForKAndTau ( k, tau )

Calculates the u, v values (Hudson plot positions) for the given values of the parameters k and tau.

Parameters: Returns: Object position - an object with two properties: u and v.
tau = Lib.calculateHudsonTauFromKAndT ( k, T )

Calculate the value of tau from the value of k and T according to Hudson et al. 1989 (28).

Parameters: Returns: Number tau