generated from erosita/uds
IKI
This commit is contained in:
@@ -58,14 +58,14 @@ maxiters=10
|
||||
|
||||
with open(ignored_rev_file, 'rb') as fp:
|
||||
ignored_rev = pickle.load(fp)
|
||||
print(ignored_rev)
|
||||
#print(ignored_rev)
|
||||
print("{} orbits ignored".format(len(ignored_rev)))
|
||||
|
||||
ign=ignored_rev.tolist()
|
||||
|
||||
|
||||
glon, step = np.linspace(-lon_max, lon_max, num=lon_nbin, endpoint=False,retstep=True)
|
||||
print(glon,step)
|
||||
#print(glon,step)
|
||||
|
||||
|
||||
#
|
||||
@@ -99,6 +99,8 @@ lat_arr=[]
|
||||
for i in range(lon_nbin):
|
||||
dkey="{:04d}".format(i)
|
||||
|
||||
#if(i != 5):
|
||||
# continue
|
||||
|
||||
df0 = df.query('LON > {} & LON <= {} & LAT > {} & LAT < {} & REV != @ign'.format(glon[i],glon[i]+step,-lat_max,lat_max))
|
||||
|
||||
@@ -124,7 +126,7 @@ for i in range(lon_nbin):
|
||||
lon_arr.append(row['LON'])
|
||||
lat_arr.append(row['LAT'])
|
||||
|
||||
|
||||
#sys.exit()
|
||||
|
||||
|
||||
if not os.path.exists(profdir):
|
||||
|
Reference in New Issue
Block a user