From 176759dc65ec95a1be1af5389d49a6baa727112e Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Bayle <j2b.bayle@gmail.com>
Date: Thu, 25 Aug 2022 09:05:04 +0200
Subject: [PATCH] Fix a bug when generating laser noise

---
 lisainstrument/instrument.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisainstrument/instrument.py b/lisainstrument/instrument.py
index 9f3368e..50751ab 100755
--- a/lisainstrument/instrument.py
+++ b/lisainstrument/instrument.py
@@ -1514,10 +1514,10 @@ class Instrument:
         """
         logger.info("Generating laser noise for laser %s", mosa)
         self.laser_noises[mosa] = noises.laser(
-            self.physics_fs,
-            self.physics_size,
-            self.laser_asds[mosa],
-            self.laser_shape)
+            fs=self.physics_fs,
+            size=self.physics_size,
+            asd=self.laser_asds[mosa],
+            shape=self.laser_shape)
 
         logger.debug("Computing carrier offsets for primary local beam %s", mosa)
         self.local_carrier_offsets[mosa] = self.offset_freqs[mosa]
-- 
GitLab