Exosims

Latest version: v3.3.1

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

2.0.0

This release explicitly breaks backwards compatibility with v1.4, and is *incompatible* with astropy v4.0 (requirements and setup both specify `astropy<4.0`). A subsequent minor release will add astropy 4.0 compatibility. This release is largely similar to the recent SDET Final Report release, but does contain algorithmic differences (although is fully compatible in terms of all interfaces).

Many thanks to Dean Keithly, Gabriel Soto, Walker Dula, Mike Turmon, and Rhonda Morgan for their numerous contributions.

Major Changes
-----------------
EXOSIMS is now python 3 compatible and pip installable! EXOSIMS will be added to the python package index upon the next release (as soon as astropy 4.0 compatibility is fixed). We will maintain python 2 compatibility for the next few releases, but will drop python 2.7 support when required modules (astropy, scipy, etc.) become incompatible with their last-released python 2 supporting versions. There will be a final, stable python 2.7-compatible release prior to end of support.

Compiled documentation is now being hosted on readthedocs.io and is not packaged with the source code (only documentation sources are packaged).

Prototypes
-------------
All prototypes have been updated with bug fixes and algorithmic updates. In particular, the OpticalSystem and TargetList prototype now supports many more inputs, including tracking of close companions for target stars. The SurveySimulation prototype has had multiple additional sections or `run_sim` abstracted into their own methods to allow for easier overloading.

PlanetPopulation
------------------
Bug fixes throughout the existing planet populations. Multiple new planet populations have been added including:
* AlbedoByRadius - allows for albedo to be drawn as a function of planet radii
* DulzPlavchan - Modification of the SAG13 extrapolation incorporating dynamical stability constraints, based on work by Shannon Dulz and Peter Plavchan (in prep).

StarCatalog
--------------
EXOCAT has been updated and allow for combination of the existing data with updated WDS entries for close companions.

SurveySimulation
---------------------
Added multiple SDET-specific schedulers. All SLSQP-based schedulers, which were previously separate classes, have been combined into a single module.

TargetList
-------------
New GaiaCatTargetList allows for Gaia-based catalogs.

util
-------
New plotting and analysis utilities, including keepout map plotting and yield histogram plotting.

SDETfinal
The code in this release was used for all of the EXOSIMS simulations in the final report of the Exoplanet Exploration Office's Standards Definitions and Evaluation Team. It is intended to produce a snapshot of EXOSIMS as used in all of the SDET analyses to ensure future reproducibility of results.

A description of the team and their task is available at https://exoplanets.nasa.gov/system/internal_resources/details/original/562_ExSDET_Charter.pdf

The final report and associated results are available at https://exoplanets.nasa.gov/exep/studies/sdet/

This release contains a rollup of pending updates to be included in the upcoming v2.0, along with unique features used specifically in the final report analyses (as such, this release is distinct from the 2.0 release and is not guaranteed to produce the same exact results).

Additional plotting and execution utilities developed at JPL and used in the generation of the final report results are available at https://github.com/turmon/Exosims-Sandbox

This release includes major contributions from Walker Dula, Mike Turmon, and Rhonda Morgan.

1.35a

Rollup of the last few months of bugfixes (in particular targeted at improved reproducibility when setting the random seed, and ensuring proper use of scaleOrbits) as well as new, non-ICD changing features (mostly new input parameters).

Specific updates:
- Fixing scaleOrbits support in BrownCompleteness.
- Adding support for albedo calculated from planet radius in GarrettCompleteness and removing unused pgrand method.
- Removing random seed generation from MissionSim (offloaded to SurveySimulation) and adding alias from MissionSim.seed to SurveySimulation.seed.
- Adding pixelScale as an input parameter in the instrument dictionary in the OpticalSystem prototype.
- Adding support for albedo calcualted from planet radius in PlanetPopulation prototype (pfromRp boolean).
- Adding Min input to SimulatedUniverse prototype and KeplerLike and SAG13 implementations (allows for setting all initial mean anomalies to given value).
- Adding error checking to SimulatedUniverse and TargetList prototypes to ensure KnownRV family of modules is properly used.
- Update to algorithm used in set_planet_phase in SimulatedUniverse prototype.
- Adding scaleWAdMag input (boolean) to SurveySimulation to toggle overwriting WAint and dMagint based on stellar properties.
- Moving order of random seed generation in SurveySimulation to ensure DRM repeatability.
- Adding dt_max input (float) to SurveySimulation to allow for variable time windows when selecting which targets are 'currently' scheduled for revisit.
- Adding new methods scheduleRevisit and revisitFilter to SurveySimulation to make overloading revisit logic easier.
- Cleanup of reset_sim method in SurveySimulation to ensure reproduceability.
- Adding sane handling of equal xmin, xmax in InverseTransformSampler.
- Removing use of np.flip in waypoint utility
- Adding AlbedoByRadius and JupiterTwin planet populations.
- Adding Walker Dula's det_only, char_only and tiered schedulers.
- Adding builddocs.bat, porting builddocs.sh to Windows systems.

Release Fix April 9, 2018: A bug was fixed in this release that prevented simulations from running properly after reset.

1.34

The primary purpose of this release is to fix the Observatory reset bug encountered when running starshade DRMs in parallel.

New functionality: the ability to specify a different planetpopulation and planetphysicalmodel (along with associated parameters) for completeness calculations.

New functionality: waypoint calculations courtesy of Walker Dula.

1.33

Yet another bugfix release, specifically targeting the calculation of completeness and its gradient as functions of integration time.

Completeness
------------------
``comp_per_intTime`` and ``dcomp_dt`` have been updated to take optional ``C_b`` and ``C_sp`` arguments when using the same background count values for many iterations of these calculations. Both routines now expect all inputs to be either arrays of length N or scalars (in which case they are padded out to N. Both return arrays of length N. ``dcomp_dt`` always returns astropy quantities with units 1/time.

OpticalSystem
-------------------
``calc_dMag_per_intTime`` and ``ddMag_dt`` no also take the same optional ``C_b`` and ``C_sp`` inputs, and expect all array inputs to be of equal length.

New Functionality
-------------------
MissionSim now has a checkScript method, provided by Walker Dula, to automate the sanity-checking of JSON scripts.

New SurveySimulation SLSQPScheduler optimizes integration times to maximize completeness.
NB: This implementation requires the or-tools package, which may be installed from PyPI (pip install ortools).

1.32

Specifically fixing bugs 80 and 82.

1.31

Minor update of 1.3 targeting fixing specific bugs with one new feature addition.

Completeness
----------------
All completeness values are now explicitly limited to the [0,1] range. This removes small negative values previously returned due to numerical interpolation error.

PlanetPopulation
------------------
When constraintOrbits is set to True all implementations of planetPopulation (and the prototype) strictly honor both the arange and erange.

TargetList
------------
New functionality: a fillPhotometry keyword is now available (settable at the top level of the JSON script). If True, missing photometric values in the star catalog will be filled based on the spectral type, as available. Defaults to False to maintain backwards compatibility.

ZodiacalLight
----------------
The prototype implementation of the exozodi calculation now properly uses 90 degrees - the exosystem inclination as the argument to the fbeta function.

KeplerLikeUniverse
----------------------
Now honors the scaleOrbit flag.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.