Filter Scope Functions
|
CAgAttr ChangeCBs(const string& satListString, const string& CBListString, const string& propagatorComponentListString) This function supports the ChangeCentralBodyTool utility. Use it to transition central bodies (CBs) within the filter. The function does the following for each satellite configured in the filter:
The function also checks to ensure that the filter is in restart mode before processing. Parameters
Return ValueThe function returns a CAgAttr object containing the following members:
|
Example JavaScript: Copy
|
|
CAgAttr ChangeMotionModels(const string& satListString, const string& MotionModelListString) This function supports the ChangeMotionModelTool utility. Use it to transition between satellite motion models within the filter. The function will update the Motion Model(s) in the satellite object(s) and transform the selected restart state/covariance to the new reference frame: Inertial for Orbiter and Fixed for Lander. It will also create a new restart file. Parameters
Return ValueThe function returns a CAgAttr object containing the following members:
|
Example VBS: Copy
|
|
bool GenerateGNSSDDObs(string prMeasType, string phaseMeasType, bool orthogonalObs, bool retainExcess, string filename) This is a helper function to the GenerateGNSSDDObs utility. It generates GNSS Double Difference Measurements from the currently assigned tracking data files. These must contain the raw measurements of either type CA pseudo-range or P1 & P2 pseudo-range to generate double-differenced pseudo-range or LA, L1, or L2 phase to generate double-differenced phase. The SatelliteList and TrackerList for the current filter restrict the combinations of double-differenced measurements to be generated. The calling sequence allows for the specification of one double-differenced pseudo-range and one double-differenced phase type to be generated. The generation of dual frequency double-differenced observations cannot be combined with the generation of single frequency double-differenced observations in a single call. You must ensure that the format of the specified output file is able to support doubly differenced measurements. The function will not return an error if the requested format is invalid; it will just create a file of zero size. It will also display the number of measurements written in the message viewer. Parameters
Return Value
|
Example VBS: Copy
|
|
CAgAttr GetRestartTimeStrings(double precision) Use this to get a list of restart times. Parameters
Return Value
|
Example VBS: Copy
Example Result: Copy
|
|
CAgAttr GetSatCBs() This function supports the ChangeCentralBodyTool utility. It reads the selected Filter restart record and returns the names of satellites and their associated central bodies. Return ValueThe function returns a CAgAttr object containing the following members:
|
Example VBS: Copy
|
|
CAgAttr GetSatMotionModels() This function supports the ChangeMotionModelTool utility. It reads the selected Filter restart record and returns the names of satellites and their associated motion models. Return ValueA CAgAttr object containing the following members:
|
Example VBS: Copy
|
|
CAgAttr GetStateContents() Returns a list of states (as a list of strings) that will be the filter state when it runs. It is called by the StateContent tool. Return Value
|
Example VBS: Copy
Example Result: Copy
|
|
bool Go() Use this to run the filter process in either start or restart mode. Return Value
|
Example VBS: Copy
To distinguish between the filter run itself and the ephemeris prediction, you can inspect the following Boolean attributes with detailed status/error information: Copy
|
|
bool OutputPropagatorDefn(string satName, string filename) Use this to write a satellite's propagator definition to a file that the STK application can read for initializing a satellite's integrator settings. The state written to the file is based on the filter results, where the epoch in the file will be at the last filter stop time. Parameters
Return Value
|
Example VBS: Copy
|
|
bool Pause() Use this to pause the filter process. You can step the filter forward with StepForward and restart it with Go or end it with Stop. Return Value
|
Example VBS: Copy
|
|
bool SetEditedResiduals(string inputs, string date, integer nType, double measVal) This is a helper function for the graphical residual editing capability. It enables graphical residual editing to work properly in cases where multiple observations of the same type from the same sensor exist for the same satellite at identical times. This function updates the ResidualEditing Schedule. Parameters
Return Value
|
Example VBS: Copy
|
|
bool StepForward() Use this to move the filter process forward one step. Return Value
|
Example VBS: Copy
|
|
bool Stop() Use this to stop the filter process. Return Value
|
Example VBS: Copy
|
|
bool Transfer() This transfers the filter solution to the estimated objects. It also writes a summary of actions to the message viewer. Return Value
|
Example VBS: Copy
|
|
CAgAttr ViewRestartData(const string& restartTimeString) This function supports the ViewRestartData utility. Call this function to display the state content of the filter restart record associated with the input restart time. Parameters
Return ValueThe function returns a CAgAttr object containing the following members:
|
Example VBS: Copy
|