diff --git a/animation/geostationary.toml b/animation/geostationary.toml index c035dec..7782aa7 100644 --- a/animation/geostationary.toml +++ b/animation/geostationary.toml @@ -40,6 +40,6 @@ arc_of_ascending_nodes = 360.0 eccentricity = 0.0 [[ground_station]] -name = "TU Berlin" +name = "TUBerlin" lat = 52.51499 long = 13.32674 diff --git a/animation/iridium.toml b/animation/iridium.toml index 4e74499..32c7372 100644 --- a/animation/iridium.toml +++ b/animation/iridium.toml @@ -40,6 +40,6 @@ arc_of_ascending_nodes = 180.0 eccentricity = 0.0 [[ground_station]] -name = "TU Berlin" +name = "TUBerlin" lat = 52.51499 long = 13.32674 diff --git a/animation/kuiper.toml b/animation/kuiper.toml index d1a42b8..db1ee7e 100644 --- a/animation/kuiper.toml +++ b/animation/kuiper.toml @@ -56,6 +56,6 @@ arc_of_ascending_nodes = 360.0 eccentricity = 0.0 [[ground_station]] -name = "TU Berlin" +name = "TUBerlin" lat = 52.51499 long = 13.32674 diff --git a/animation/oneweb.toml b/animation/oneweb.toml index 321d85c..240d28e 100644 --- a/animation/oneweb.toml +++ b/animation/oneweb.toml @@ -56,6 +56,6 @@ arc_of_ascending_nodes = 360.0 eccentricity = 0.0 [[ground_station]] -name = "TU Berlin" +name = "TUBerlin" lat = 52.51499 long = 13.32674 diff --git a/animation/starlink.toml b/animation/starlink.toml index c7e1c0f..315f11c 100644 --- a/animation/starlink.toml +++ b/animation/starlink.toml @@ -115,6 +115,6 @@ arc_of_ascending_nodes = 360.0 eccentricity = 0.0 [[ground_station]] -name = "TU Berlin" +name = "TUBerlin" lat = 52.51499 long = 13.32674 diff --git a/celestial/animation.py b/celestial/animation.py index 42eb724..742f1b5 100644 --- a/celestial/animation.py +++ b/celestial/animation.py @@ -26,6 +26,8 @@ import typing import celestial.config +import celestial.types +import celestial.shell EARTH_RADIUS_M = 6371000 # radius of Earth in meters @@ -539,9 +541,9 @@ def makeInactiveSatsActor(self, shell_no: int, shell_total_sats: int) -> None: # initialize all the positions for i in range(len(self.sat_positions[shell_no])): - self.shell_inactive_actors[shell_no].satPointIDs[ - i - ] = self.shell_inactive_actors[shell_no].satVtkPts.InsertNextPoint(0, 0, 0) + self.shell_inactive_actors[shell_no].satPointIDs[i] = ( + self.shell_inactive_actors[shell_no].satVtkPts.InsertNextPoint(0, 0, 0) + ) self.shell_inactive_actors[shell_no].satVtkVerts.InsertNextCell(1) self.shell_inactive_actors[shell_no].satVtkVerts.InsertCellPoint(