dsavransky / EXOSIMS

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

TargetList prototype does not convert int to np array in F0 calculation method. #274

Closed jkulik11 closed 1 year ago

jkulik11 commented 3 years ago

Describe the bug TargetList prototype does not convert int to np array in F0 calculation method.

To Reproduce Run Gabe's produce_skmap.py code from his scripts, while in the stationkeep branch. (I'm sure this bug is also in master, but am not sure exactly how to reproduce it there.)

Additional context Copy the first line of starMag() method and make the first line of starF0() to fix. "sInds = np.array(sInds, ndmin=1, copy=False)"

dsavransky commented 1 year ago

Folded into photometry update.