Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-09 | add chroma server script | Andy Mastbaum | |
chroma-server starts a ZeroMQ socket server which listens for Photons objects, propagates them in the given Detector, and returns the final Photons. Usage: $ chroma-server DETECTOR [--address ADDRESS] DETECTOR is a detector string, e.g. @chroma_sno.sno or sno ADDRESS is a ZeroMQ socket address, default tcp://*:5024 | |||
2021-05-09 | Fix imports for chroma-cam | Stan Seibert | |
2021-05-09 | BVH optimization to sort child nodes by area. Only has a small effect. | Stan Seibert | |
2021-05-09 | New BVH algorithm: Recursive Grid | Stan Seibert | |
This is an adaptation of the original Chroma BVH construction algorithm. The generation stage is very slow, but can be fixed. | |||
2021-05-09 | Redo node format to include number of children, rather than just leaf bit. | Stan Seibert | |
2021-05-09 | Add a chroma-bvh hist function that displays a ROOT histogram of the | Stan Seibert | |
areas of the BVH nodes in a particular layer of the tree. | |||
2021-05-09 | Use fixed point BVH surface area instead of world coordinates for ↵ | Stan Seibert | |
consistency everywhere. | |||
2021-05-09 | If the node_swap optimization is run with a minus sign after the layer ↵ | Stan Seibert | |
number, it will be done to that layer, and all layers above it. | |||
2021-05-09 | Add more BVH manipulation commands: | Stan Seibert | |
* chroma-bvh create [name] [degree] - Creates a new BVH with the specified branching degree. * chroma-bvh node_swap [name] [layer] - Optimizes a BVH layer with a "greedy, short-sighted" algorithm that swaps around nodes to minimize the surface area of the immediate parent layer. Rebuilds the tree above the modified layer when finished. Also modified the chroma-bvh stat command to print the sum of the logarithms of the areas of each layer. It seems to be a rough predictor of the simulation speed of the BVH. | |||
2021-05-09 | Add list, copy, and remove commands to chroma-bvh | Stan Seibert | |
2021-05-09 | chroma-bvh: command to manipulate BVH trees in cache. Just a stat ↵ | Stan Seibert | |
subcommand for now. | |||
2021-05-09 | Super simple geometry cache management tool: chroma-geo | Stan Seibert | |
2021-05-09 | Add another loader function that is useful for chroma-cam. | Stan Seibert | |
Note that rendering is still broken by the new BVH format. | |||
2021-05-09 | Implement new loader function that turns a string into a Geometry, | Stan Seibert | |
searching through files, named geometries in the cache, and geometry creation functions. The loader function also is responsible for fetching or creating a BVH to go with the geometry. This commit also removes some code that has been replaced by the new system. Other bits will come back in future commits. | |||
2021-05-09 | Print events/second statistic in chroma-sim | Stan Seibert | |
2021-05-09 | Import ROOT module from its true location and add missing import of ↵ | Stan Seibert | |
enable_debug_on_crash | |||
2021-05-09 | Temporarily include the current directory in the module path when loading ↵ | Stan Seibert | |
detector geometries. | |||
2021-05-09 | Use constant particle gun in chroma-sim so it can generate pi0 events. | Stan Seibert | |
2011-10-07 | Make main into a function so we can profile it | Stan Seibert | |
2011-10-03 | Create a chroma.log module that provides the default logger object for | Stan Seibert | |
the package. Rather than use the logging module directly, we wrap it with this to ensure that logger.basicConfig() is called automatically. All chroma code should use this logger for printing status information so that it can be hidden when chroma is part of a bigger application. | |||
2011-10-03 | Call ROOT.SetBatch() in chroma-sim to avoid unnecessary X11 traffic. | Stan Seibert | |
Speeds up loading when you are using SSH forwarding over a slow link. | |||
2011-09-30 | chroma-sim --rootlogon will create a .rootlogon.C file in your current ↵ | Stan Seibert | |
directory so you can read Chroma ROOT files. | |||
2011-09-29 | Command line options to start the Python debugger on crash. | Stan Seibert | |
Not entirely effective for chroma-cam, since this does not catch exceptions thrown in child processes. | |||
2011-09-26 | Fix indentation in chroma-sim and allow detector name to have multiple dots. | Stan Seibert | |
2011-09-20 | Change module import method to allow loading a detector from multi-level ↵ | Stan Seibert | |
module name, like chroma.detectors.cad_sno. | |||
2011-09-16 | File reorganization to move toward standard python package layout | Stan Seibert | |