<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sddm/utils/plot, branch master</title>
<subtitle>Code for the self-destructing dark matter search in SNO</subtitle>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/'/>
<entry>
<title>update utils/ folder to make a python package called sddm</title>
<updated>2020-05-11T15:30:39+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2020-05-11T15:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=15fc972c89a4366a06755daeedaac52f91762ecd'/>
<id>15fc972c89a4366a06755daeedaac52f91762ecd</id>
<content type='text'>
This commit adds an sddm python package to the utils/ folder. This allows me to
consolidate code used across all the various scripts. This package is now
installed by default to /home/tlatorre/local/lib/python2.7/site-packages so you
should add the following to your .bashrc file:

    export PYTHONPATH=$HOME/local/lib/python2.7/site-packages/:$PYTHONPATH

before using the scripts installed to ~/local/bin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds an sddm python package to the utils/ folder. This allows me to
consolidate code used across all the various scripts. This package is now
installed by default to /home/tlatorre/local/lib/python2.7/site-packages so you
should add the following to your .bashrc file:

    export PYTHONPATH=$HOME/local/lib/python2.7/site-packages/:$PYTHONPATH

before using the scripts installed to ~/local/bin.
</pre>
</div>
</content>
</entry>
<entry>
<title>update plot script to be able to handle files with multi-particle fits</title>
<updated>2020-04-13T20:50:01+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2020-04-13T20:50:01+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=33e9b624ef7eed425dd8c240dbba458791d9cdd7'/>
<id>33e9b624ef7eed425dd8c240dbba458791d9cdd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update plot script now that we have multiple fits per particle combo</title>
<updated>2020-04-13T18:30:38+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2020-04-13T18:30:38+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=27020846248d820d78ac2add2cb1098ea83de65d'/>
<id>27020846248d820d78ac2add2cb1098ea83de65d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a couple of bugs in plot-energy</title>
<updated>2019-07-12T15:28:31+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2019-07-12T15:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=3c3720143201915729759478c7e7e36c71ac3bbd'/>
<id>3c3720143201915729759478c7e7e36c71ac3bbd</id>
<content type='text'>
This commit fixes two small bugs in the plotting scripts. First, after the HDF5
commit I wasn't correctly computing the particle ID string which I had been
using before which was needed in order to plot things correctly. Second, I
realized that the dataframe groupby function first() actually selects the first
non-null column from each group! What I really wanted was the first row from
each group, so all instances of .first() were updated to .nth(0).

See https://stackoverflow.com/questions/20067636/pandas-dataframe-get-first-row-of-each-group.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes two small bugs in the plotting scripts. First, after the HDF5
commit I wasn't correctly computing the particle ID string which I had been
using before which was needed in order to plot things correctly. Second, I
realized that the dataframe groupby function first() actually selects the first
non-null column from each group! What I really wanted was the first row from
each group, so all instances of .first() were updated to .nth(0).

See https://stackoverflow.com/questions/20067636/pandas-dataframe-get-first-row-of-each-group.
</pre>
</div>
</content>
</entry>
<entry>
<title>switch from YAML output to HDF5 to speed things up</title>
<updated>2019-07-11T14:42:23+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2019-07-11T14:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=21491ca1ca2afd6951e9b5b1e74b1c919c602b36'/>
<id>21491ca1ca2afd6951e9b5b1e74b1c919c602b36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add a data cleaning cut to tag incoming muons</title>
<updated>2019-06-13T16:08:04+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2019-06-13T16:08:04+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=f8c99fdd302b6d2190ae619681fb1cea5f74f391'/>
<id>f8c99fdd302b6d2190ae619681fb1cea5f74f391</id>
<content type='text'>
This commit adds a data cleaning cut to tag incoming muons by looking for early
OWL hits. It also significantly updates the flasher cut to catch more flashers.
In particular, the flasher cut now does the following:

- loops over *all* paddle cards with at least 4 hits instead of just the paddle
  cards with the most hits
- uses QLX to look for charge outliers in the paddle card
- fixes a few bugs (for example, uninitialized values in the charge array)
- adds a check to to see if the given slot is early with respect to all PMTs
  within 4 meters to catch the case where the flashing channel is missing from
  the event
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds a data cleaning cut to tag incoming muons by looking for early
OWL hits. It also significantly updates the flasher cut to catch more flashers.
In particular, the flasher cut now does the following:

- loops over *all* paddle cards with at least 4 hits instead of just the paddle
  cards with the most hits
- uses QLX to look for charge outliers in the paddle card
- fixes a few bugs (for example, uninitialized values in the charge array)
- adds a check to to see if the given slot is early with respect to all PMTs
  within 4 meters to catch the case where the flashing channel is missing from
  the event
</pre>
</div>
</content>
</entry>
<entry>
<title>update plotting scripts to handle case when there is no fit</title>
<updated>2019-03-26T15:39:47+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2019-03-26T15:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=219a9023ff789aa735b9a95c78e942e256a0424a'/>
<id>219a9023ff789aa735b9a95c78e942e256a0424a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add GPLv3 license</title>
<updated>2019-03-16T18:22:06+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2019-03-16T18:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=77f0c00c2f9b446807ca14f323f301263bf01b45'/>
<id>77f0c00c2f9b446807ca14f323f301263bf01b45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update zebra library to be able to use links</title>
<updated>2019-01-15T07:08:54+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2019-01-15T07:08:54+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=9c910abe7a0359018677a874822d8742d0e616b9'/>
<id>9c910abe7a0359018677a874822d8742d0e616b9</id>
<content type='text'>
This commit updates the zebra library files zebra.{c,h} so that it's now
possible to traverse the data structure using links! This was originally
motivated by wanting to figure out which MC particles were generated from the
MCGN bank (from which it's only possible to access the tracks and vertices
using structural links).

I've also added a new test to test-zebra which checks the consistency of all of
the next/up/orig, structural, and reference links in a zebra file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit updates the zebra library files zebra.{c,h} so that it's now
possible to traverse the data structure using links! This was originally
motivated by wanting to figure out which MC particles were generated from the
MCGN bank (from which it's only possible to access the tracks and vertices
using structural links).

I've also added a new test to test-zebra which checks the consistency of all of
the next/up/orig, structural, and reference links in a zebra file.
</pre>
</div>
</content>
</entry>
<entry>
<title>update plot</title>
<updated>2018-12-03T16:31:37+00:00</updated>
<author>
<name>tlatorre</name>
<email>tlatorre@uchicago.edu</email>
</author>
<published>2018-12-03T16:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.tlatorre.com/cgit/sddm/commit/?id=203c9b8b8963da0135675515fffed2bd0913f81b'/>
<id>203c9b8b8963da0135675515fffed2bd0913f81b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
