From ed5deacb9bfcb5be2ad0f90174fca6785c4e7852 Mon Sep 17 00:00:00 2001 From: Matteo Bachetti Date: Mon, 11 Mar 2024 11:38:13 +0100 Subject: [PATCH] Add logging message --- stingray/io.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stingray/io.py b/stingray/io.py index 9c04e4852..8ad449d5b 100644 --- a/stingray/io.py +++ b/stingray/io.py @@ -765,6 +765,12 @@ def load_events_and_gtis( else: try: returns.energy_list = rough_calibration(cal_pi, mission) + logger.info( + f"A default calibration was applied to the {mission} data. " + "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" + ) except ValueError: returns.energy_list = None returns.instr = instr.lower()