source
source copied to clipboard
The main source repository for the Raysect project.
Hi, I would like to propose this PR to introduce new class `TetraMesh` which is defined reffering to `raysect.primitive.mesh.MeshData`. When constructing a kD tree for tetrahedral meshes, `MeshKDTree3D` class in...
The `quiet` argument passed to `Observer1D` and `Observer2D` at initialisation is not passed to the `_ObserverBase` initialiser. `Observer1D`: https://github.com/raysect/source/blob/d8b7903abd65e1d651fc280dad7f3e20454224a3/raysect/optical/observer/base/observer.pyx#L732-L746 `Observer2D`: https://github.com/raysect/source/blob/d8b7903abd65e1d651fc280dad7f3e20454224a3/raysect/optical/observer/base/observer.pyx#L911-L925
There is a check in `ray.extinction_min_depth.setter` that prevents setting it to 1: https://github.com/raysect/source/blob/3c1f2f2f1cce9c2a2d5ca2952a70af3287d53dbf/raysect/optical/ray.pyx#L276-L279 Because of this, `ray.max_depth` cannot be set to 1 either: https://github.com/raysect/source/blob/3c1f2f2f1cce9c2a2d5ca2952a70af3287d53dbf/raysect/optical/ray.pyx#L291-L294 However, setting both values to 1...
This is a draft pull request for fast emitters and integrators that work with regular grids, It was originally proposed for Cherab ([issue #204](https://github.com/cherab/core/issues/204)) but, as @CnlPepper suggested, these emitters...
To inherit the imaging observers class defined in pyx files, I created equally name pxd files.
Raysect's major version is currently sitting on V0.x due to the core API and architecture remaining relatively stable. The current architecture has worked well, however we have identified some areas...
To reduce the verbosity when using ArgXD functions, we could consider extending the autowrap capability to include variable strings e.g. Exp2D('y') is internally is converted to Exp2D(Arg2D('y')). This would should...
Cython 3.0a6 has changed the way binary operators such as `__add__` are implemented: https://cython.readthedocs.io/en/latest/src/changes.html#alpha-6-2020-07-31. They now follow Python semantics rather than the C API semantics. This has caused issues with...
Matplotlib 3.4 has deprecated the canvas `set_window_title` method: https://matplotlib.org/stable/api/api_changes.html#backend-deprecations. This raises the following warning when rendering 2D observers: ``` MatplotlibDeprecationWarning: The set_window_title function was deprecated in Matplotlib 3.4 and will...
To augment the Cherab plasma object with the impurity data from ERO 2.0 runs, I need a discrete interpolator for regular cylindrical meshes. Although this interpolator is primarily needed for...