MCPcopy Index your code
hub / github.com/SpaceNetLab/StarryNet / calculate_bound

Method calculate_bound

starrynet/sn_observer.py:136–143  ·  view source on GitHub ↗
(self, inclination_angle, height)

Source from the content-addressed store, hash-verified

134 return cbf # xyz coordinates of all the satellites
135
136 def calculate_bound(self, inclination_angle, height):
137 bound_distance = 6371 * math.cos(
138 (90 + inclination_angle) / 180 * math.pi) + math.sqrt(
139 math.pow(
140 6371 * math.cos(
141 (90 + inclination_angle) / 180 * math.pi), 2) +
142 math.pow(height, 2) + 2 * height * 6371)
143 return bound_distance
144
145 def matrix_to_change(self, duration, orbit_number, sat_number, path,
146 GS_lat_long):

Callers 1

calculate_delayMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected