dsavransky / EXOSIMS

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

Line fails to reshape if sInds is a single indicie #261

Open deanthedream opened 3 years ago

deanthedream commented 3 years ago

https://github.com/dsavransky/EXOSIMS/blob/d602ae5ec089be51de31eacd9b99ee30f795ac20/EXOSIMS/Prototypes/Observatory.py#L453

In response to something Vanessa Bailey and Sergi are asking for, they want a method which can produce the keepout map for a single star and would like to be able to use EXOSIMS to do so.

deanthedream commented 3 years ago

It appears TL.starprop is intended to return a statis star r_targ if there is only 1 star ind, 1 time, or the nTimes==nStars... @dsavransky verify this is the desired functionality.

I would prefer TL.starprop([1],manyTimes) to return a (len(manyTimes) x 1 x 3) array instead of (1 x 1 x 3)

dsavransky commented 1 year ago

This is folded into #313