Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zheng Gaoshan
co-devTest
Commits
a7ebaf9b
Commit
a7ebaf9b
authored
Aug 14, 2025
by
qiongying
Browse files
tst2
parent
6bbf3771
Changes
2
Hide whitespace changes
Inline
Side-by-side
__pycache__/codesp.cpython-311.pyc
View file @
a7ebaf9b
No preview for this file type
run.py
View file @
a7ebaf9b
...
...
@@ -23,7 +23,7 @@ def main():
print
(
f
"文件
{
source_file
}
不存在,无需删除。"
)
#模拟恒星轨迹,且将结果保存为可视化图片star_trajectory.png
simulate_star_trajectory
(
semi_major_axis
=
1.0
,
eccentricity
=
0.1
,
period
=
365.25
,
start_date
=
'2023/1/1'
,
end_date
=
'2024/1/1'
,
step_days
=
10
)
#
simulate_star_trajectory(semi_major_axis=1.0, eccentricity=0.1, period=365.25, start_date='2023/1/1', end_date='2024/1/1', step_days=10)
#将生成的star_trajectory.png图片拷贝到output路径下查看
# 确保源路径存在
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment