dsavransky / EXOSIMS

Simulator for exoplanet direct imaging space missions
BSD 3-Clause "New" or "Revised" License
25 stars 35 forks source link

Common system plane with systemOmega and calc_dMag_per_intTime bug fix #360

Closed CoreySpohn closed 1 year ago

CoreySpohn commented 1 year ago

Describe your changes

Turned the commonSystemInclination system into a commonSystemPlane system, where the TargetList generates both a systemInclination and systemOmega then offsets the planets based on commonSystemPlaneParams. Changed the TL attribute "I" to "systemInclination" to avoid confusion with the SimulatedUniverse "I" attribute for the planet inclinations. Small performance improvement by moving the "converged" Boolean in Nemati's calc_dMag_per_intTime function out of the lower bound loop to avoid always running the minimization twice.

Type of change

Checklist before requesting a review