generated from erosita/uds
paper
This commit is contained in:
@@ -65,8 +65,9 @@ ign=ignored_rev.tolist()
|
||||
|
||||
|
||||
glon, step = np.linspace(-lon_max, lon_max, num=lon_nbin, endpoint=False,retstep=True)
|
||||
#print(glon,step)
|
||||
|
||||
print("STEP",step)
|
||||
#sys.exit()
|
||||
|
||||
#
|
||||
# initiate 2d arrays
|
||||
|
@@ -1,4 +1,4 @@
|
||||
./03_grxe_galprof.py E01 51
|
||||
./03_grxe_galprof.py E13 17
|
||||
./03_grxe_galprof.py E01 21
|
||||
./03_grxe_galprof.py E13 21
|
||||
./03_grxe_galprof.py E14 21
|
||||
|
||||
|
@@ -26,7 +26,9 @@ fn="detcnts.E13.ALL.resid.galprof.fits"
|
||||
dat = Table.read(profdir+fn, unit_parse_strict='silent')
|
||||
df3 = dat.to_pandas().sort_values(by=['LON1'])
|
||||
|
||||
#df_cobe = pd.read_csv('../data/cobe_ibis_resp_lon.dat', header=None)
|
||||
df_cobe = pd.read_csv('../data/cobe_ibis_resp_lon.dat', sep=' ', header=None)
|
||||
print(df_cobe)
|
||||
|
||||
|
||||
fig, (ax1, ax2, ax3) = plt.subplots(3, sharex=True, figsize=(9, 7), dpi=100)
|
||||
#fig.suptitle('Vertically stacked subplots')
|
||||
@@ -65,6 +67,7 @@ ax2.yaxis.set_minor_locator(ticker.MultipleLocator(0.2))
|
||||
ax3.yaxis.set_minor_locator(ticker.MultipleLocator(0.2))
|
||||
|
||||
lon=(df1['LON1']+df1['LON2'])/2
|
||||
ax1.plot(df_cobe[0],df_cobe[2]/3, color='red', linewidth=4)
|
||||
ax1.errorbar(lon, df1['GRXE_SIM_FLUX']/scale,
|
||||
yerr=df1['GRXE_SIM_ERROR']/scale,
|
||||
xerr=(df1['LON2']-df1['LON1'])/2,
|
||||
|
Reference in New Issue
Block a user