Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-sims
csst_mci_sim
Commits
132ee572
Commit
132ee572
authored
1 year ago
by
Yan Zhaojun
Browse files
Options
Download
Email Patches
Plain Diff
update
parent
40d93d8b
develop
master
No related merge requests found
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
csst_mci_sim/support/seddata/stellar_temp.fits
+0
-0
csst_mci_sim/support/seddata/stellar_temp.fits
csst_mci_sim/support/shao.py
+4
-4
csst_mci_sim/support/shao.py
with
4 additions
and
4 deletions
+4
-4
csst_mci_sim/support/seddata/stellar_temp.fits
0 → 100755
+
0
-
0
View file @
132ee572
File added
This diff is collapsed.
Click to expand it.
csst_mci_sim/support/shao.py
+
4
-
4
View file @
132ee572
...
@@ -86,11 +86,11 @@ def onOrbitObsPosition(input_ra_list, input_dec_list, input_pmra_list, input_pmd
...
@@ -86,11 +86,11 @@ def onOrbitObsPosition(input_ra_list, input_dec_list, input_pmra_list, input_pmd
raise
TypeError
(
"Parameter 16 second range error [0 ~ 60)!"
,
input_second
)
raise
TypeError
(
"Parameter 16 second range error [0 ~ 60)!"
,
input_second
)
#Inital dynamic lib
#Inital dynamic lib
#
import os
import
os
#
currfile=os.getcwd()
currfile
=
os
.
getcwd
()
#
print(currfile)
print
(
currfile
)
shao
=
cdll
.
LoadLibrary
(
'./mci_so/libshao.so'
)
shao
=
cdll
.
LoadLibrary
(
'.
.
/mci_so/libshao.so'
)
shao
.
onOrbitObs
.
restype
=
c_int
shao
.
onOrbitObs
.
restype
=
c_int
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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
Menu
Explore
Projects
Groups
Snippets