summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-10Add the ability to propagate the same photons multiple times on theStan Seibert
the GPU, and run the DAQ multiple times on the same photons in a likelihood calculation. Propagating the same photons in a warp speeds up propagation by a factor of 3 (and we could do this even better if we wanted), and this improves the statistics in a likelihood evaluation quite a bit. Running the DAQ multiple times is also an inexpensive way to improve the quality of the PDF estimates.
2011-09-10Implement len() for event.Photons class.Stan Seibert
2011-09-10new alpha rendering scheme.Anthony LaTorre
2011-09-10update benchmark.pyAnthony LaTorre
2011-09-10update documentation and rename create_context -> create_cuda_context.Anthony LaTorre
2011-09-10change color of pmt shell.Anthony LaTorre
2011-09-09toggle 3d color in Camera class updates screen.Anthony LaTorre
2011-09-09update sphinx documentation.Anthony LaTorre
2011-09-09mergeAnthony LaTorre
2011-09-09chroma-cam script now used to view geometries.Anthony LaTorre
2011-09-08Geometry.build() waits until a certain number of triangles are grouped ↵Anthony LaTorre
together before creating leaf nodes in the bounding volume hierarchy.
2011-09-08add a useful create_context() function to gpu.py which will take over the ↵Anthony LaTorre
current GPU class. get full path name for cuda source inclusion in get_cu_module() and get_cu_source() so that it works when called from outside the package directory.
2011-09-08import submodules in package __init__.pyAnthony LaTorre
2011-09-08speedup from_film() projection.Anthony LaTorre
2011-09-08add normalize() function to transform module. ↵Anthony LaTorre
np.apply_along_axis(np.linalg.norm,...) is really slow!
2011-09-08mergeStan Seibert
2011-09-08repeating_iterator needs a number of repsStan Seibert
2011-09-08Prevent progress() from raising an exception if you pass in a sequence with ↵Stan Seibert
less than 10 elements
2011-09-08Make water the default material for the SNO detectorStan Seibert
2011-09-07fix bug in searchsorted() so that it properly searches a descending array.Anthony LaTorre
2011-09-06fix devious assumption in searchsorted that if searching a length one array ↵Anthony LaTorre
it assumed the array was meant to be in descending order; it now assumes ascending order and this assumption is documented.
2011-09-06make min_distance argument to intersect_node() optional.Anthony LaTorre
2011-09-06add default size for view().Anthony LaTorre
2011-09-06geometry on the GPU is now a struct created in the GPUGeometry class. coding ↵Anthony LaTorre
style for cuda code is now compliant with python PEP 7 -- Style Guide for C Code.
2011-09-06add Mesh class to sphinx documentation.Anthony LaTorre
2011-09-03add mesh_from_stl() to sphinx documentation.Anthony LaTorre
2011-09-03Camera class accidentally used some global variables.Anthony LaTorre
2011-09-03reorder members in chroma.make sphinx documentation.Anthony LaTorre
2011-09-03add mesh modeling tools to sphinx documentation.Anthony LaTorre
2011-09-03update documenation in geometry.py.Anthony LaTorre
2011-09-03mergeAnthony LaTorre
2011-09-03add intro to sphinx documentation from the bitbucket wiki and add some ↵Anthony LaTorre
entries to the table of contents.
2011-09-03initial sphinx documentation.Anthony LaTorre
2011-09-03Simulation.simulate() now accepts event.Vertex objects.Anthony LaTorre
2011-09-03mergeStan Seibert
2011-09-03GPU-based sampling from an arbitrary distribition.Stan Seibert
The sample_cdf() device function will draw random numbers from an arbitrary disribution given a cumulative distribution function in the form of a list of x,y points, beginning with y=0 and ending with y=1. For an example of how to convert a ROOT histogram to this form, see the unit test in test_sample_cdf.py
2011-09-02update event structure. break gpu.GPU class into separate smaller ↵Anthony LaTorre
independent classes.
2011-08-29add generator which yields drawn randomly from a histogram interpreted as a pdf.Anthony LaTorre
2011-08-26photon object initializes any arguments not passed when initialized. ↵Anthony LaTorre
camera.EventViewer uses new fileio.root.RootReader class.
2011-08-26add repeat_func() to itertoolset.Anthony LaTorre
2011-08-26cleanup repeating_iterator() docstring.Anthony LaTorre
2011-08-26woops! import from wrong module in last commitAnthony LaTorre
2011-08-26vertex.isotropic() yields values from transform.uniform_sphere()Anthony LaTorre
2011-08-26delete threadtest.py and gputhread.py.Anthony LaTorre
2011-08-26add support for magenta and green 3d glasses.Anthony LaTorre
2011-08-26no more 3d headache! 3d viewing angle changes depending on the distance to ↵Anthony LaTorre
the object in the center of the screen.
2011-08-25mergeAnthony LaTorre
2011-08-25add 3d support to camera views by displaying images as an anaglyph. alpha ↵Anthony LaTorre
coloring is now calculated using the new searching/sorting algorithms.
2011-08-25in miniclean geometry, make outer sphere transparent and change polygon face ↵Anthony LaTorre
color.
2011-08-25reshape float3 array returned by to_float3() in gpu.pyAnthony LaTorre