XENON1T / pax

The XENON1T raw data processor [deprecated]
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

Add position to plot interactive and others #677

Closed zhut19 closed 6 years ago

zhut19 commented 6 years ago

Adding the position of S2 peaks as well as the main S2 position in the interactive plot Here for s1 peak, orange X mark the main s2 position, while for other s2 peaks orange X still makrs the main s2 position but a red X mark the position of the peak you are looking at.

s1_000000_074776 s2_000000_074776

A few other minor changes is done in this pr as well 1) Add rise time to peak information 2) Remove marking 'unknown' peaks 3) Comment out some configs 4) Show neural net position

zhut19 commented 6 years ago

@pdeperio The lines removed from waveform plot like 'veto', 'busy' lines are actually in XENON1T.ini config, so one don't need to look into code but simply uncomment those in the config to draw them again.

For 'unknown' peaks, they are still marked in the plot but no longer have text 'unknown' next to them

I did hard coded in the Plotting to remove printing out the suspicious channels, as far as I know, they don't really help us understand the peak. And sometimes run out of space to print and cover some of the peak parameters.

pdeperio commented 6 years ago

Manually copied to pax_v6.8.0 and pax_v6.4.2 environments on Midway:


/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pax-6.8.0-py3.4.egg/pax/plugins/plotting/Plotting.py

/project/lgrandi/anaconda3/envs/pax_v6.4.2/lib/python3.4/site-packages/pax-6.4.2-py3.4.egg/pax/plugins/plotting/Plotting.py```