You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+38-30Lines changed: 38 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,38 +21,46 @@ Now, we have made a major upgrade to StarPerf, extending its usability and enric
21
21
22
22
Compared with StarPerf 1.0, StarPerf 2.0 is fully implemented in Python and no longer depends on any third-party orbit analysis or computation tools. You only need to ensure that **Python 3.10** or above is installed on your system.
23
23
24
-
You can install all required dependencies at once using the following commands:
24
+
# Installation
25
+
26
+
We recommend using [uv](https://github.com/astral-sh/uv), a fast Python package and project manager, to manage dependencies and virtual environments for this project.
27
+
28
+
**(1) Install uv:**
29
+
30
+
MacOS/Linux:
25
31
26
32
```bash
27
-
cd StarPerf_Simulator
28
-
pip install -r requirements.txt
33
+
# MacOS/Linux
34
+
curl -LsSf https://astral.sh/uv/install.sh | sh
35
+
# Alternative for MacOS
36
+
brew install uv
29
37
```
30
38
31
-
This will automatically install all necessary libraries to ensure the system runs properly. Specifically, we used the following packages to support the simulation:
For more installation options, please refer to [official uv documentation](https://docs.astral.sh/uv/getting-started/installation/).
46
+
47
+
**(2) Installing Dependencies:**
48
+
49
+
Once you have cloned the repository, you can install all required dependencies using the following `uv` command:
50
+
51
+
```bash
52
+
cd StarPerf_Simulator/
53
+
uv sync
54
+
```
55
+
56
+
This will automatically create a virtual environment and install all necessary libraries.
57
+
58
+
# StarPerf Overview and Processing Flow
51
59
52
60
You can directly run our simulation example using the following command:
53
61
54
62
```bash
55
-
python3 StarPerf.py
63
+
uv run python StarPerf.py
56
64
```
57
65
58
66
Of course, you can also write your own simulation scripts. For specific guidelines and important notes, please refer to [interface\_convention](./docs/interface_convention.pdf).
@@ -76,23 +84,23 @@ http-server -p 8081
76
84
77
85
5. Open the constellation visualization webpage by entering `http://127.0.0.1:8081/<filename>` in your browser. Here, `<filename>` refers to the name of the webpage file generated by our visualization code under `/StarPerf_Simulator/visualization/CesiumApp`.
78
86
79
-
# Contributors are more than welcome
87
+
# Contributors Are More Than Welcome
80
88
81
-
Wanna to join the construction of "NewSpace" constellations and networks? Awesome! This project follows the [Github contribution work flow.](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/github-flow) Submissions can fork and use a Github pull request to get merged into this code base.
89
+
Wanna join the construction of "NewSpace" constellations and networks? Awesome! This project follows the [Github contribution work flow.](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/github-flow) Submissions can fork and use a Github pull request to get merged into this code base.
82
90
83
91
Ways to help are listed as follows.
84
92
85
-
### Bug reports
93
+
### Bug Reports
86
94
87
95
If you come across a bug in using StarPerf, you are more than welcome to file a bug report to our mail box.
88
96
89
-
### Contribute more constellation designs
97
+
### Contribute More Constellation Designs
90
98
91
99
As emerging mega-constellations are still evolving rapidly and constellations such as Starlink and OneWeb are still under heavy development, we welcome all who are interested in this research topic to contribute their innovative designs, documents, insights, comments and suggestions.
92
100
93
-
### Write test cases
101
+
### Write Test Cases
94
102
95
-
Currently this project has not be ''thoroughly''' tested. You are more than welcome to build any test cases for this project.
103
+
Currently this project has not been "thoroughly" tested. You are more than welcome to build any test cases for this project.
0 commit comments