Class BaselineCalculation
Baseline calculation helper class.
Inheritance
Namespace: Stac.Extensions.Sat
Assembly: DotNetStac.dll
Syntax
public class BaselineCalculation : object
Methods
| Improve this Doc View SourceAx(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Ax(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
Ay(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Ay(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
Az(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Az(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
CalculateBaseline(DateTime[], SatOrbitStateVector[], SatOrbitStateVector[], IPosition)
Calculates the baseline.
Declaration
public static BaselineVector CalculateBaseline(DateTime[] time, SatOrbitStateVector[] master, SatOrbitStateVector[] slave, IPosition groundPoint)
Parameters
Type | Name | Description |
---|---|---|
DateTime[] | time | Time. |
SatOrbitStateVector[] | master | Master. |
SatOrbitStateVector[] | slave | Slave. |
IPosition | groundPoint | Ground point. |
Returns
Type | Description |
---|---|
BaselineVector | The baseline. |
PolyInterpol(DateTime, SatOrbitStateVector[])
Interpolates the orbit state vectors.
Declaration
public static IInterpolation[] PolyInterpol(DateTime time0, SatOrbitStateVector[] orbitStateVectors)
Parameters
Type | Name | Description |
---|---|---|
DateTime | time0 | Time of the orbit state vector to interpolate |
SatOrbitStateVector[] | orbitStateVectors | The orbit state vectors. |
Returns
Type | Description |
---|---|
IInterpolation[] | Interpolated orbit state vectors. |
Sx(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Sx(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
Sy(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Sy(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
SynchronizeVector(Double, IPosition, IInterpolation[], out Boolean, out Double, Int32, Double)
Synchronizes the vector.
Declaration
public static double SynchronizeVector(double t0, IPosition groundPoint, IInterpolation[] slave, out bool converged, out double maxError, int maxIterations = 100, double tolerance = 1E-08)
Parameters
Type | Name | Description |
---|---|---|
System.Double | t0 | T0. |
IPosition | groundPoint | Ground point. |
IInterpolation[] | slave | Slave. |
System.Boolean | converged | Converged. |
System.Double | maxError | Max error. |
System.Int32 | maxIterations | Max iterations. |
System.Double | tolerance | Tolerance. |
Returns
Type | Description |
---|---|
System.Double | The vector. |
SynchronizeVector2(Double, IPosition, IInterpolation[], out Boolean, out Double, Int32, Double)
Synchronizes the vector2.
Declaration
public static double SynchronizeVector2(double t0, IPosition groundPoint, IInterpolation[] interpol, out bool converged, out double maxError, int maxIterations = 100, double tolerance = 1E-08)
Parameters
Type | Name | Description |
---|---|---|
System.Double | t0 | T0. |
IPosition | groundPoint | Ground point. |
IInterpolation[] | interpol | Interpol. |
System.Boolean | converged | Converged. |
System.Double | maxError | Max error. |
System.Int32 | maxIterations | Max iterations. |
System.Double | tolerance | Tolerance. |
Returns
Type | Description |
---|---|
System.Double | The vector2. |
Sz(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Sz(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
VectorProduct3D(Double[], Double[])
Calculates 3D vector product
Declaration
public static double[] VectorProduct3D(double[] vectorA, double[] vectorB)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | vectorA | Vector A. |
System.Double[] | vectorB | Vector B. |
Returns
Type | Description |
---|---|
System.Double[] | 3D vector product. |
Vx(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Vx(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
Vy(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Vy(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |
Vz(Double, IInterpolation[])
Calculates the orbit value.
Declaration
public static double Vz(double time, IInterpolation[] orbitStates)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | Time. |
IInterpolation[] | orbitStates | Orbit states. |
Returns
Type | Description |
---|---|
System.Double | The orbit value. |