Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-09 | cleanup tests | Anthony LaTorre | |
2021-05-09 | fix test_io.py from previous commit | Anthony LaTorre | |
2021-05-09 | update tests to work for python versions <2.7 | Anthony LaTorre | |
2021-05-09 | Speed up detector test. Still fails, though. | Stan Seibert | |
2021-05-09 | Fix test_daq to use newer DAQ API. | Stan Seibert | |
2021-05-09 | Skip ray intersection test until the reference data file can be updated. | Stan Seibert | |
2021-05-09 | Reduce number of photons generated for reemission test to speed up testing ↵ | Stan Seibert | |
on lower performing GPUs. | |||
2021-05-09 | Convert test script to one big unit test. Needs further refactoring. | Stan Seibert | |
2021-05-09 | Fix bvh test. No longer a leaf attribute in node object. | Stan Seibert | |
2021-05-09 | rotate() does not need to create a matrix. update test. remove superflous ↵ | Anthony LaTorre | |
function in last commit. | |||
2021-05-09 | make bulk reemission isotropic | Andy Mastbaum | |
2021-05-09 | more unit test fixes | Andy Mastbaum | |
update remaining unit tests to build BVHs with ``loader.create_geometry_from_obj`` instead of the (removed) ``build`` method. | |||
2021-05-09 | update unit test bvh building | Andy Mastbaum | |
2021-05-09 | add simple bulk reemission | Andy Mastbaum | |
The ``Material`` struct now includes two new arrays: ``reemission_prob`` and ``reemission_cdf``. The former is sampled only when a photon is absorbed, and should be normalized accordingly. The latter defines the distribution from which the reemitted photon wavelength is drawn. This process changes the photon wavelength in place, and is not capable of producing multiple secondaries. It also does not enforce energy conservation; the reemission spectrum is not itself wavelength-dependent. | |||
2021-05-09 | Redo node format to include number of children, rather than just leaf bit. | Stan Seibert | |
2021-05-09 | Fix unit test | Stan Seibert | |
2021-05-09 | Simple BVH construction passing the "smoke test" | Stan Seibert | |
2021-05-09 | Simple BVH generator using new infrastructure | Stan Seibert | |
2021-05-09 | Convert bvh module into a package directory. | Stan Seibert | |
2021-05-09 | BVH and BVHLayer classes with unittests. | Stan Seibert | |
These classes will be the data types used by the new BVH generation code. | |||
2021-05-09 | Basic BVH cache. Further implementation requires creation of BVH class. | Stan Seibert | |
2021-05-09 | Cache class for managing the geometry cache on disk. | Stan Seibert | |
The storage format is changing relative to the old format, so all geometry files will be saved in the ~/.chroma/geo directory. For now, the format is just a simple pickle. We know this is not optimal for space or speed, but the Geometry class will be changing soon, and we can optimize further after that. This Cache class will also soon manage the separate BVH cache. | |||
2021-05-09 | Fix the units in test_generator_photon.TestG4ParallelGenerator.test_off_center | Stan Seibert | |
2021-05-09 | Replace all uses of numpy.count_nonzero() with chroma.tools.count_nonzero to ↵ | Stan Seibert | |
remove requirement to use numpy >= 1.6 | |||
2021-05-09 | Write t0 for primary vertex to ROOT file and fix unit test to catch this. | Stan Seibert | |
2011-10-07 | Create a Detector class to hold information about the PMTs in a | Stan Seibert | |
geometry, like the mapping from solid IDs to channels, and the time and charge distributions. Detector is a subclass of Geometry, so that a Detector can be used wherever a Geometry is used. Only code (like the DAQ stuff) that needs to know how PMT solids map to channels should look for a Detector object. There is a corresponding GPUDetector class as well, with its own device side struct to hold PMT channel information. The GPU code now can sample an arbitrary time and charge PDF, but on the host side, the only interface exposed right now creates a Gaussian distribution. | |||
2011-10-05 | Epic port of Chroma from units of meters/seconds/MeV to | Stan Seibert | |
millimeters/nanoseconds/MeV in order to match GEANT4, and also avoid huge discrepancies in magnitude caused by values like 10e-9 sec. Along the way, cleaned up a few things: * Switch the PI and SPEED_OF_LIGHT constants from double to single precision. This avoid some unnecessary double precision calculations in the GPU code. * Fixed a silly problem in the definition of the spherical spiral. Now the demo detector looks totally awesome. Also wrapped it in a black surface. Demo detector now has 10055 PMTs. * Updated the test_ray_intersection data file to reflect the new units. * Fix a missing import in chroma.gpu.tools | |||
2011-10-05 | Add tlatorre/histogram as a subrepository so that we can use it in the ↵ | Stan Seibert | |
Rayleigh scattering unit test | |||
2011-09-29 | Fix unittest to use new location of vacuum material. | Stan Seibert | |
2011-09-29 | New demo detector for Chroma that is not dependent on any internal ↵ | Stan Seibert | |
experiment information. | |||
2011-09-17 | Module for fitting and evaluating multi-dimensional parabolas | Stan Seibert | |
2011-09-16 | Rename chroma.fileio to chroma.io | Stan Seibert | |
2011-09-16 | Rewrite test_sample_cdf to use a unittest.TestCase class so that the GPU ↵ | Stan Seibert | |
context can be setup and torn down correctly around the test. | |||
2011-09-16 | Modify test_ray_intersection to use __file__ to file location of test standard | Stan Seibert | |
2011-09-16 | Add a srcdir attribute to the chroma.cuda module. This consolidates the ↵ | Stan Seibert | |
calculation of the path to the CUDA source code in one place. | |||
2011-09-16 | Move CUDA source inside chroma package, rename tests directory to test | Stan Seibert | |