From 0781a9573a6177c676ceba796275cd7233ffb4f2 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Bayle <j2b.bayle@gmail.com>
Date: Thu, 26 Oct 2023 17:55:13 +0200
Subject: [PATCH] Warn when using static locking beatnote freqs

---
 lisainstrument/instrument.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisainstrument/instrument.py b/lisainstrument/instrument.py
index 39fa3ca..b63aae1 100755
--- a/lisainstrument/instrument.py
+++ b/lisainstrument/instrument.py
@@ -540,7 +540,11 @@ class Instrument:
             fplan: `fplan` parameter, c.f. `__init__()`
         """
         if fplan == 'static':
-            logger.info("Using default set of locking beatnote frequencies")
+            logger.warning(
+                "Using default set of locking beatnote frequencies; this "
+                "might cause interferometric beatnote frequencies to fall "
+                "outside the requirement range of 5..25 MHz"
+            )
             self.fplan_file = None
             self.fplan = ForEachMOSA({
                 '12': 8E6, '23': 9E6, '31': 10E6,
-- 
GitLab