-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from rahil-makadia/dev
computing radius from SBDB info; orbital element updates
- Loading branch information
Showing
26 changed files
with
870 additions
and
840 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
- main | ||
- dev | ||
paths: | ||
- '.github/workflows/joss.yml' | ||
- 'joss/**' | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.0.2 | ||
4.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#ifndef OBSERVE_H | ||
#define OBSERVE_H | ||
|
||
#include "force.h" | ||
|
||
/** | ||
* @brief Compute the correction to the apparent state of the body due to the | ||
* gravitational light bending. | ||
*/ | ||
void get_glb_correction(PropSimulation *propSim, const real &tInterpGeom, | ||
std::vector<real> &xInterpApparentBary); | ||
|
||
/** | ||
* @brief Get the relevant measurement (optical/radar) for a given measurement time. | ||
*/ | ||
void get_measurement(PropSimulation *propSim, const size_t &interpIdx, | ||
const real &t, const real &dt, const real tInterpGeom, | ||
const std::vector<real> &xInterpGeom, | ||
const std::vector<real> &xInterpApparent); | ||
|
||
/** | ||
* @brief Get the optical measurement and partials. | ||
*/ | ||
void get_optical_measurement(PropSimulation *propSim, | ||
const std::vector<real> &xInterpApparent, | ||
std::vector<real> &opticalMeasurement, | ||
std::vector<real> &opticalPartials); | ||
|
||
/** | ||
* @brief Get the radar measurement and partials. | ||
*/ | ||
void get_radar_measurement(PropSimulation *propSim, const size_t &interpIdx, | ||
const real &t, const real &dt, | ||
const real tInterpGeom, | ||
const std::vector<real> &xInterpGeom, | ||
std::vector<real> &radarMeasurement, | ||
std::vector<real> &radarPartials); | ||
|
||
/** | ||
* @brief Get the radar delay measurement and partials. | ||
*/ | ||
void get_delay_measurement(PropSimulation *propSim, const size_t &interpIdx, | ||
const real &t, const real &dt, const size_t &i, | ||
const real tInterpGeom, | ||
const std::vector<real> &xInterpGeom, | ||
const real &receiveTimeTDB, real &transmitTimeTDB, | ||
std::vector<real> &xObsBaryRcv, | ||
std::vector<real> &xTrgtBaryBounce, | ||
std::vector<real> &xObsBaryTx, real &delayMeasurement, | ||
std::vector<real> &delayPartials); | ||
|
||
/** | ||
* @brief Get the relativistic delay measurement correction. | ||
*/ | ||
void get_delta_delay_relativistic(PropSimulation *propSim, | ||
const real &tForSpice, | ||
const std::vector<real> &targetState, | ||
real &deltaDelayRelativistic); | ||
|
||
/** | ||
* @brief Get the Doppler measurement and partials. | ||
*/ | ||
void get_doppler_measurement(PropSimulation *propSim, const size_t &i, | ||
const real receiveTimeTDB, | ||
const real transmitTimeTDB, | ||
const std::vector<real> xObsBaryRcv, | ||
const std::vector<real> xTrgtBaryBounce, | ||
const std::vector<real> xObsBaryTx, | ||
const real transmitFreq, real &dopplerMeasurement, | ||
std::vector<real> &dopplerPartials); | ||
|
||
/** | ||
* @brief Interpolate the integrator state for one evaluation time. | ||
*/ | ||
void evaluate_one_interpolation( | ||
const PropSimulation *propSim, const real &t, const real &dt, | ||
const real &tInterp, | ||
std::vector<real> &xInterp); // defined in interpolate.cpp | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.