You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a code which searches for light curves of many objects, currently I am testing with 30, but would like to run this on a much larger sample. My code would be faster if it didn't have to wrap those search_lightcurve calls in a for loop. Is it possible to vectorize this API call?
Example
importlightkurveaslk# Build a list of skycoords from target ra and decra_list= [0.5, 23.9, 49.2]
dec_list= [88.2, 1.5, 37.9]
coords_list= [
SkyCoord(ra, dec, frame='icrs', unit='deg')
forra, decinzip(ra_list, dec_list)
]
# it would be nice if this was the casesearch_result=lk.search_lightcurve(coords_list, radius=1)
Expected behavior
This would return the light curves for all objects
Environment
platform (e.g. Linux, OSX, Windows):
lightkurve version (e.g. 1.0b6):
installation method (e.g. pip, conda, source):
The text was updated successfully, but these errors were encountered:
Hi there! 👋 Thank you for opening your first Lightkurve issue! 🙏 One of our maintainers will get back to you as soon as possible. 👩🚀 You can expect a response within 7 days. 📅 If you haven’t heard anything by then, feel free to ping this thread. 🛎️ We love that you are using Lightkurve and appreciate your feedback. 👍
Problem description
I am running a code which searches for light curves of many objects, currently I am testing with 30, but would like to run this on a much larger sample. My code would be faster if it didn't have to wrap those search_lightcurve calls in a for loop. Is it possible to vectorize this API call?
Example
Expected behavior
This would return the light curves for all objects
Environment
The text was updated successfully, but these errors were encountered: