StingraySoftware / stingray

Anything can happen in the next half hour (including spectral timing made easy)!
https://stingray.science/stingray
MIT License
172 stars 141 forks source link

Lightcurve tutorial notebook fails #843

Closed taldcroft closed 3 weeks ago

taldcroft commented 3 weeks ago

Description of the Bug

In cell 58 of Lightcurve tutorial.ipynb, I get an exception.

Steps/Code to Replicate the Bug

Run notebook on Mac ARM, Python 3.12 with the latest of all required and optional dependencies.

Expected Results

The notebook should run to completion.

Actual Results

In cell 58 of Lightcurve tutorial.ipynb, I get this exception:

[line 2](vscode-notebook-cell:?execution_count=58&line=2)ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.