diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-11-17 07:58:41 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-11-17 07:58:41 -0600 |
commit | 9ddb79bb708b0581462ccacb360df5cd77b2d150 (patch) | |
tree | d1ebefa52d8290d19ae7e403364d85229f4ac5b4 /utils/dm-search | |
parent | 2edfaebf9ed99b489b7cbbd1ea6063a6940be854 (diff) | |
download | sddm-9ddb79bb708b0581462ccacb360df5cd77b2d150.tar.gz sddm-9ddb79bb708b0581462ccacb360df5cd77b2d150.tar.bz2 sddm-9ddb79bb708b0581462ccacb360df5cd77b2d150.zip |
small fixes
Diffstat (limited to 'utils/dm-search')
-rwxr-xr-x | utils/dm-search | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/dm-search b/utils/dm-search index 6c78d4e..872004b 100755 --- a/utils/dm-search +++ b/utils/dm-search @@ -721,11 +721,11 @@ if __name__ == '__main__': fig = plt.figure() for color, dm_particle_id in zip(('C0','C1'),(2020,2222)): - plt.plot(DM_MASSES[dm_particle_id],np.array(limits[dm_particle_id])/fiducial_volume/livetime,color=color,label='$' + ''.join([particle_id[int(''.join(x))] for x in grouper(str(dm_particle_id),2)]) + '$') + plt.plot(DM_MASSES[dm_particle_id],np.array(limits[dm_particle_id])*100**3*3600*24*365/fiducial_volume/livetime,color=color,label='$' + ''.join([particle_id[int(''.join(x))] for x in grouper(str(dm_particle_id),2)]) + '$') plt.gca().set_xscale("log") despine(fig,trim=True) plt.xlabel("Energy (MeV)") - plt.ylabel("Event Rate Limit (events/$\mathrm{cm}^3$/s)") + plt.ylabel("Event Rate Limit (events/$\mathrm{m}^3$/year)") plt.legend() plt.tight_layout() |