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
Was trying the example in the readme and library raises a ValueError when using the fetch_and_clean_data method with certain aperture_mask values. The error is pointing to an ambiguous truth value when comparing the aperture_mask parameter with the string 'center'.
Traceback (most recent call last):
File "/TESS_giants/test.py", line 3, in <module>
target.fetch_and_clean_data(sectors=[1,2])
File "/python3.11/site-packages/giants/target.py", line 524, in fetch_and_clean_data
lc = self.from_lightkurve(sectors=sectors, flatten=flatten, aperture_mask=aperture_mask, zero_point_background=zero_point_background, n_pca=n_pca)
File "/python3.11/site-packages/giants/target.py", line 183, in from_lightkurve
elif (aperture_mask == 'center'):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered:
@nksaunders
Was trying the example in the readme and library raises a ValueError when using the fetch_and_clean_data method with certain aperture_mask values. The error is pointing to an ambiguous truth value when comparing the aperture_mask parameter with the string 'center'.
The text was updated successfully, but these errors were encountered: