Other Functions
Contents
Index
PlateKinematics.ToDegrees
PlateKinematics.ToEVc
PlateKinematics.ToEVs
PlateKinematics.ToEulerAngles
PlateKinematics.ToFRc
PlateKinematics.ToFRs
PlateKinematics.ToRadians
PlateKinematics.ToRotationMatrix
PlateKinematics.cart2sph
PlateKinematics.sph2cart
Other Functions
Coordinate System Transformations
PlateKinematics.ToDegrees
— FunctionToDegrees(radValue::Union{Float64, Array})
Convert angles from radians to degrees.
PlateKinematics.ToRadians
— FunctionToRadians(degValue::Union{Float64, Array})
Convert angles from degrees to radians.
PlateKinematics.cart2sph
— Functioncart2sph(x::Float64, y::Float64, z::Float64)
cart2sph(x::Array{N}, y::Array{N}, z::Array{N}) where {N<:Float64}
Transform Cartesian coordinates into Spherical coordinates. Both input and outputs are expressed in degrees.
PlateKinematics.sph2cart
— Functionsph2cart(lon_deg::Float64, lat_deg::Float64, mag=1::Float64)
sph2cart(lon_deg::Array{N}, lat_deg::Array{N}, mag::Array{N}) where {N<:Float64}
sph2cart(lon_deg::Array{N}, lat_deg::Array{N}) where {N<:Float64}
Transform Spherical coordinate(s) into Cartesian coordinate(s). Both input and outputs are expressed in degrees.
Finite Rotation Transformations
PlateKinematics.ToFRs
— FunctionToFRs(FRc::FiniteRotCart)
ToFRs(FRcArray::Array{T}) where {T<:FiniteRotCart}
ToFRs(EA::EulerAngles)
ToFRs(EA::Array{T}) where {T<:EulerAngles}
Return a Finite Rotation in Spherical coordinates (::FiniteRotSph
), expressed in degrees.
ToFRs(MTX::Array{N, 3}, time=nothing::Union{Nothing, N}) where {N<:Float64}
Convert an array of Rotation Matrices MTX
to an array of Finite Rotations (::FiniteRotSph
), expressed in degrees. The :Time field may be passed with the argument time
.
PlateKinematics.ToFRc
— FunctionToFRc(FRs::FiniteRotSph)
ToFRc(FRsArray::Array{T}) where {T<:FiniteRotSph}
Return a Finite Rotation in Cartesian coordinates (::FiniteRotCart
), expressed in degrees.
PlateKinematics.ToRotationMatrix
— FunctionToRotationMatrix(FRs::FiniteRotSph)
ToRotationMatrix(FRsArray::Array{T}) where {T<:FiniteRotSph}
ToRotationMatrix(EA::Array{T}) where {T<:EulerAngles}
ToRotationMatrix(EAx::Array{N, 1}, EAy::Array{N, 1}, EAz::Array{N, 1}) where {N<:Float64}
Return a Rotation Matrix (3x3 Array) expressed in radians.
PlateKinematics.ToEulerAngles
— FunctionToEulerAngles(FRs::FiniteRotSph)
ToEulerAngles(FRsArray::Array{T}) where {T<:FiniteRotSph}
Return the set of Euler angles (::EulerAngles
) from a Finite Rotation.
Euler Vector Transformations
PlateKinematics.ToEVs
— FunctionToEVs(EVc::EulerVectorCart)
ToEVs(EVcArray::Array{T}) where {T<:EulerVectorSph}
ToEVs(
X::Array{N, 1}, Y::Array{N, 1}, Z::Array{N, 1},
timeRange=nothing::Union{Nothing, Matrix{N}}) where {N<:Float64}
Return an Euler Vector in Spherical coordinates (::EulerVectorSph
), with magnitude expressed in degrees/Myr.
PlateKinematics.ToEVc
— FunctionToEVc(EVs::EulerVectorSph)
ToEVc(EVsArray::Array{T}) where {T<:EulerVectorSph}
Return an Euler Vector in Cartesian coordinates (::EulerVectorCart
), expressed in degrees/Myr.