summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-08-25add library for projecting rays in different ways.Anthony LaTorre
2011-08-25add cuda sorting/searching algorithms in src/sorting.hAnthony LaTorre
2011-08-25A new PDF evaluation method that does not require storage proportionalStan Seibert
to [number of bins] * [number of PMTs]. Instead we accumulate information as the Monte Carlo runs in order to evaluate the PDFs only at the points required for the likelihood calculation. This new interface has been propagated all the way up from the GPU class through the Simulation class to the Likelihood class. We have preserved the full binned histogram implementation in case we need it in the future.
2011-08-23Add a RootReader class that also functions as an iterator, also createStan Seibert
a simple unit test for event reading and writing. There were several minor I/O bugs that are now fixed! Always test your code, kids!
2011-08-23Fix Likelihood to use self.sim instead of the global sim, so now itStan Seibert
imports properly. Also correct a units bug in the default time range for the PDFs. We work in units of seconds, not nanoseconds!
2011-08-22Oops, uncomment other benchmark testsStan Seibert
2011-08-22Use PDF created on GPU in likelihood calculation. This is 11x faster than ↵Stan Seibert
before.
2011-08-22Benchmark and unit test for PDF creationStan Seibert