summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-09Disable time contribution to likelihood for weighting tests.Stan Seibert
2021-05-09More documentation of event data structure.Stan Seibert
2021-05-09Docstring for chroma.event.PhotonsStan Seibert
2021-05-09Fix ncorrect argument order to arctan2Stan Seibert
2021-05-09Argh! Someone used spherical polar coordinates in the pi0 generator with ↵Stan Seibert
the mathematics convention for the angle names. Flipping theta and phi back to their correct meaning.
2021-05-09Add dependency on libatlas so that numpy will compileStan Seibert
2021-05-09Nope, Chroma really does require Numpy 1.6 or later. Putting dependency ↵Stan Seibert
back and including in installation guide the workaround to get numpy to install.
2021-05-09Fix the units in test_generator_photon.TestG4ParallelGenerator.test_off_centerStan Seibert
2021-05-09Cast channel ID array to uint32, as that is technically what the C++ code is ↵Stan Seibert
expecting.
2021-05-09Do not use the zmq.Context.instance() method to obtain a ZeroMQ context when ↵Stan Seibert
you will be forking processes at multiple locations. This killed one of the unit tests.
2021-05-09Fix documentation bug regarding location of GEANT4 dataStan Seibert
2021-05-09Cast numpy sum to Python int to make PyROOT happy.Stan Seibert
2021-05-09I give up. We have to install pyublas by hand to be able to compile any ↵Stan Seibert
extensions using it in Chroma.
2021-05-09Require nose and sphinx for testing and documentationStan Seibert
2021-05-09Replace all uses of numpy.count_nonzero() with chroma.tools.count_nonzero to ↵Stan Seibert
remove requirement to use numpy >= 1.6
2021-05-09Require pyublas at setup-time for compiling. Adjust numpy requirement for ↵Stan Seibert
count_nonzero().
2021-05-09More fixes to installation guide.Stan Seibert
2021-05-09Update ROOT version number and make the numbers consistent. (Hat tip to ↵Stan Seibert
mastbaum for noticing the discrepancy.)
2021-05-09Add a summing mode to the event view.Stan Seibert
Press "s" and average time, charge and hit probability are computed for all of the events in the input file. Then you can cycle through the different values using the "." key, just as you can for single events. You can flip between sum and regular modes, and the sum calculation is only done the first time.
2021-05-09Make chroma.io.root.RootReader follow the Python iterator protocol.Stan Seibert
Now you can do: reader = RootReader('file.root') for ev in reader: # Do stuff
2021-05-09Make the period key cycle between charge, time and hit/no-hit color display ↵Stan Seibert
in event viewer
2021-05-09Fix silly bug in RootReader.jump_to()Stan Seibert
2021-05-09Copy implementation of check_output into our setup.py so it runs on Python 2.6.Stan Seibert
2021-05-09Add optional argument to pi0 gun to pick direction of one gamma in rest frame.Stan Seibert
2021-05-09Allow chroma to be imported on systems without pygame. Good for clusters.Stan Seibert
2021-05-09Major overhaul to the way that DAQ and PDF information is accumulatedStan Seibert
to speed up likelihood evaluation. When generating a likelihood, the DAQ can be run many times in parallel by the GPU, creating a large block of channel hit information in memory. The PDF accumulator processes that entire block in two passes: * First update the channel hit count, and the count of channel hits falling into the bin around the channel hit time being evaluated. Add any channel hits that should also be included in the n-th nearest neighbor calculation to a channel-specific work queue. * Process all the work queues for each channel and update the list of nearest neighbors. This is hugely faster than what we were doing before. Kernel estimation (or some kind of orthogonal function expansion of the PDF) should be better ultimately, but for now the nearest neighbor approach to PDF estimation seems to be working the best.
2021-05-09Add a select function to GPUPhotons to extract a reduced list of photons ↵Stan Seibert
that all have a particular interaction process code set. Handy for selection just the detected photons from a large list of photons.
2021-05-09Use global per-thread ZeroMQ context rather than make a new one.Stan Seibert
2021-05-09Minor fixes to doing time & charge PDFs via kernel estimation. ThingsStan Seibert
still look off, but this is an improvement.
2021-05-09OK, we really do need to call the garbage collector this frequently.Stan Seibert
2021-05-09Use constant particle gun in chroma-sim so it can generate pi0 events.Stan Seibert
2021-05-09constant_particle_gun now can generate pi0 decaysStan Seibert
2021-05-09Factor calculation of channel hit probabilities and PDF densities to ↵Stan Seibert
separate function for easier debugging of channel-level likelihood behavior.
2021-05-09Reduce the bin count requirement from 200 to 50.Stan Seibert
2021-05-09Clean up hit probability calculation and stop skipping the first entry.Stan Seibert
2021-05-09Fix returning from PDF accumulator too soon.Stan Seibert
2021-05-09Minor tweaks to install instructonsStan Seibert
2021-05-09Add authors and Chroma PDF to index pageStan Seibert
2021-05-09Period key in event viewer flips between charge and time displayStan Seibert
2021-05-09Fix units when drawing photon verticesStan Seibert
2021-05-09Stop returning the PDF probabilities and put the hit/not hit back into the ↵Stan Seibert
likelihood
2021-05-09Add a few more commonly used symbols to: from chroma import *Stan Seibert
2021-05-09Update index page in documentation to also work as website.Stan Seibert
2021-05-09Tell people to grab Chroma from the Bitbucket repository.Stan Seibert
2021-05-09Update version number to 0.1, switch to sphinxdoc style (lighter shades!) ↵Stan Seibert
and stop the warning about _static
2021-05-09Write t0 for primary vertex to ROOT file and fix unit test to catch this.Stan Seibert
2021-05-09Mercurial subrepositories don't seem to work enough like SVN externalsStan Seibert
to automatically pull in Tony's histogram classes when someone clones the repository. Now the histogram code has been copied and committed as part of chroma. Maybe someday we can drop this when histogram is an installable python package.
2021-05-09Initial import of Chroma from private to public repository.Stan Seibert
Apologies for the lack of history, but Chroma's prehistory included some very large files and possibly proprietary engineering data. Rather than clutter up the public repository (and panic people), we are starting fresh. All development happens here from now on.
2011-10-11Stop returning the pdf probabilities and put the hit/not hit back intoStan Seibert
the likelihood.
2011-10-11Add a few more commonly used symbols to: from chroma import *Stan Seibert