Created
April 1, 2016 07:14
-
-
Save ErikHogenbirk/25d4f8808ce5fb70b51fcadca99f4a2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
matplotlib.rc('font', size=16) | |
plt.rcParams['figure.figsize'] = (12.0, 10.0) # resize plots | |
import hax | |
import os | |
hax.init(experiment='XENON1T', | |
mongo_password=os.environ['MONGO_PASSWORD'], # this is set in my bashrc. Available on request :) | |
runs_url = 'mongodb://pax:{password}@xenon1t-daq.lngs.infn.it:27017/run', # need to set this for running on xecluster | |
raw_data_access_mode='local', | |
raw_data_local_path='/xetemp/xenon1t/', # Path to raw data for plotting | |
main_data_paths=['/archive_lngs/common/'] # Path to processed data | |
) | |
hax.raw_data.inspect_events(81,1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment