xrt
Package xrt (XRayTracer) is a python software library for ray tracing and wave propagation in x-ray regime. It is primarily meant for modeling synchrotron sources, beamlines and beamline elements. (by kklmn)
opt_einsum
⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization. (by dgasmith)
xrt | opt_einsum | |
---|---|---|
1 | 1 | |
77 | 801 | |
- | - | |
8.9 | 2.7 | |
3 months ago | 5 days ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xrt
Posts with mentions or reviews of xrt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-28.
-
Does Python's GIL make it impossible to have efficient parallel computation?
I am working on simulations in the x-ray range, so fundamentals like propagators are the same, but approximations of optical elements and interactions are different. The x-rays are emitted by a synchrotron radiation source, i.e. an electron storage ring. The statistical properties of the wavefronts are determined by the phase space of the electrons in the storage ring, which is usually modeled by a 5D Gaussian distribution (space + momentum + energy). People are interested in the coherence properties of the emitted ensemble of wavefronts, so the simulation consists are drawing random parameters from the 5D Gaussian, calculating the wavefront emitted and propagating it to the points of interest. There, the wavefronts are collected and their coherence properties are evaluated. I use the coherence module of XRT for that: https://github.com/kklmn/xrt/blob/master/xrt/backends/raycing/coherence.py
opt_einsum
Posts with mentions or reviews of opt_einsum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-11.
-
[D] What are your favorite tools to visualize/explain tensor operations?
opt_einsum: for speed
What are some alternatives?
When comparing xrt and opt_einsum you can also consider the following projects:
prysm - physical optics: integrated modeling, phase retrieval, segmented systems, polynomials and fitting, sequential raytracing...
einops - Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)
cupy - NumPy & SciPy for GPU
pyinstrument - 🚴 Call stack profiler for Python. Shows you why your code is slow!
caer - High-performance Vision library in Python. Scale your research, not boilerplate.
Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration
dlpack - common in-memory tensor structure