dsavransky / EXOSIMS

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

Rounding dMag array in observation_detection in the case of FA #368

Open 96armen opened 5 months ago

96armen commented 5 months ago

Describe the bug A bug in the SurveySimulation Prototype for the case of an FA in observation_detection. When logging, the dMag array is attempted to be rounded using the 'round' method.

Expected behavior Each item in the dMag array should be rounded to first decimal place.

EXOSIMS version:

Additional context Problem can be solved by simply changing 'round' to 'np.round'