From 9728b5cc980750790b56ff20a22ee0fdbd266a32 Mon Sep 17 00:00:00 2001 From: Laika Date: Sat, 3 Jul 2021 11:36:52 -0400 Subject: [PATCH] renamed gamma sensor --- satsim/{sensor_module.py => gamma.py} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename satsim/{sensor_module.py => gamma.py} (86%) diff --git a/satsim/sensor_module.py b/satsim/gamma.py similarity index 86% rename from satsim/sensor_module.py rename to satsim/gamma.py index 5c97e37..d13a401 100644 --- a/satsim/sensor_module.py +++ b/satsim/gamma.py @@ -2,14 +2,12 @@ from module import module from random import randint class gamma_sensor(module): def __init__(self): - super().__init__("gamma spectrometer") - self.fields["name"] = "gammaSensor" + super().__init__("gammaSensor") self.fields["detections"] = 0 self.fields["detections_str"] = [] self.fields["threshold"] = 90 self.fields["flush"] = 0 self.writable = ["threshold","flush"] - print("id is:", self.id) def mod_get(self, field="none"): if field not in self.fields: