Radio-Spectrum / SHARC

Simulator for use in sharing and compatibility studies of wireless communication systems
Other
1 stars 16 forks source link

Added the option to set satellite height in footprint class. #18

Closed alvimpaulo closed 1 month ago

alvimpaulo commented 3 months ago

Adds the possibility to add satellite height to the Footprint class. Changes the function calc_beta and associated code as recommended by the issue 16.
However, I personally believe that there are more places to change to be able fully configure the simulator to use varying satellite heights. I think that every instance of either0.151 or 6.6235 is related to code that expects the satellite to be geostationary and should be changed.

I wasn't able to find tests to run, so I have no idea if this would pass or not. If the file Footprint.py is run as main it should show graphs of coverage and area for satellites of 20 and 500 kilometers, to be sure that the calculation is right.

alvimpaulo commented 3 months ago

@brunohcfaria Now the code is the same as we discussed on our meeting.