Commit a1b523c6 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

test

parent c3313757
Pipeline #4043 failed with stage
in 0 seconds
......@@ -1715,21 +1715,22 @@ class MCIsimulator():
############ load star data catlog #####################
##starcat='selection_20230517_concat.csv'
starcat='star_catlog.csv'
starcat='selection_20230517_concat.fits'
##starcat='GaiaSource_675688-675713.csv'
self.log.info('Stat catlog file name is %s' % (starcat))
#df0=pandas.read_csv(self.information['dir_path']+'MCI_inputData/star_input/'+starcat)
df0=pandas.read_csv(self.information['dir_path']+'MCI_inputData/star_input/'+starcat)
da=fits.open(starcat)
df2=da[1].data
####
#df2.index = range(len(df2))
## limit the filed of view to 600*600 arcsec^2 square zone;
df2=df0
df3=df2[ (abs(df2['ra_gaia']-df2['ra_gaia'].mean())<400/3600.0) & (abs(df2['dec_gaia']-df2['dec_gaia'].mean())<400/3600.0) ]
df3.index = range(len(df3))
......
numpy~=1.23.3
scipy~=1.9.2
setuptools~=65.5.1
pandas~=1.2.3
pandas~=1.5.3
julian~=0.14
astropy~=5.1
tqdm~=4.59.0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment