Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobachetti committed Jan 12, 2024
1 parent f4551a7 commit cea9706
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions stingray/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,10 +788,8 @@ def get_intensity_evolution(self, energy_range, segment_size=None, use_pi=False)
Returns
-------
color : array-like
Array of colors, computed in each segment as the ratio of the
counts in the second energy range to the counts in the first energy
range.
intensity : array-like
Array of intensities (in counts/s), computed in each segment.
"""
if energy_range is None or np.shape(energy_range) != (2,):
raise ValueError("Energy ranges must be specified as a 2-element list")

Check warning on line 795 in stingray/events.py

View check run for this annotation

Codecov / codecov/patch

stingray/events.py#L794-L795

Added lines #L794 - L795 were not covered by tests
Expand Down

0 comments on commit cea9706

Please sign in to comment.