From 7534b16cbc79bee8817954f8ac4c3d08644bafc9 Mon Sep 17 00:00:00 2001 From: Matteo Bachetti Date: Mon, 11 Mar 2024 13:38:02 +0100 Subject: [PATCH] Specify to look at rough_calibration for details --- stingray/events.py | 1 - stingray/io.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/stingray/events.py b/stingray/events.py index 3693373fd..0ee2b011b 100644 --- a/stingray/events.py +++ b/stingray/events.py @@ -15,7 +15,6 @@ from .filters import get_deadtime_mask from .gti import generate_indices_of_boundaries from .io import load_events_and_gtis, pi_to_energy - from .lightcurve import Lightcurve from .utils import simon, njit from .utils import histogram diff --git a/stingray/io.py b/stingray/io.py index 8ad449d5b..31c5ac39a 100644 --- a/stingray/io.py +++ b/stingray/io.py @@ -767,6 +767,7 @@ def load_events_and_gtis( returns.energy_list = rough_calibration(cal_pi, mission) logger.info( f"A default calibration was applied to the {mission} data. " + "See io.rough_calibration for details. " "Use the `rmf_file` argument in `EventList.read`, or calibrate with " "`EventList.convert_pi_to_energy(rmf_file)`, if you want to apply a specific " "response matrix"