sblunt / orbitize

Orbit-fitting for directly imaged objects
https://orbitize.info
Other
74 stars 43 forks source link

fix for 0d orbit masking for xyz basis #375

Open sblunt opened 3 weeks ago

sblunt commented 3 weeks ago

This line in system.py was causing a failure when we pass in a single orbit. Caught by the changing basis tutorial! I applied a very simple fix of checking if ecc is a float, then if so making it an array for the logical comparison