Christopher Mayes
Christopher Mayes
How can we implement special functions, such as `erf`? ```Julia using TaylorSeries, SpecialFunctions t = Taylor1(Float64, 5) erf(t) ``` returns: `MethodError: no method matching erf(::Taylor1{Float64})`
This translates the `read_serial.py` and `write_serial.py` into Jupyter notebooks. These notebooks are fully evaluated, so they can serve as documentation as well as working tutorial examples.
**Describe the bug** From the `examples/2_read_serial.py`, `E_x.shape` is returned as a list. The equivalent `np.array` API returns a tuple here. **To Reproduce** Run the `examples/2_read_serial.py` example Python: ```python import openpmd_api...
The base standard has: - `date` - type: *(string)* - description: date of creation in format "YYYY-MM-DD HH:mm:ss tz" - example: `2015-12-02 17:48:42 +0100` But there is a good standard...
The constants are not being passed to evaluate with `AsynchronousXopt`. Example: `test.py` ```python #from xopt import Xopt # Works from xopt import AsynchronousXopt as Xopt def evaluate_function(inputs, kwarg1, kwarg2): print(f"{inputs=}")...
A ParticleGroup with about 14 M particles can crash when resampling to 100k `P.resample(100_000)` crashes
In `scipy/neldermead.ipynb`: ```python X.random_evaluate() AssertionError Traceback (most recent call last) Cell In[5], line 1 ----> 1 X.random_evaluate() File [~/Code/GitHub/Xopt/xopt/base.py:440](http://localhost:8890/~/Code/GitHub/Xopt/xopt/base.py#line=439), in Xopt.random_evaluate(self, n_samples, seed, custom_bounds) 414 """ 415 Convenience method to...
```python #from xopt import Xopt # Works from xopt import AsynchronousXopt as Xopt # Error YAML = """ generator: name: random evaluator: function: xopt.resources.test_functions.tnk.evaluate_TNK vocs: variables: x1: [0, 3.14159] x2:...
This adds an `ellipse` option to `ParticleGroup.plot`, which will plot an ellipse representing the 2x2 sigma matrix of the two keys given in the plot:
Previously phase space data for a species was written directly in `particlesPath`. The standard dictates that these should be organized into names: https://github.com/openPMD/openPMD-standard/blob/upcoming-2.0.0/STANDARD.md#particle-records. - `ParticleGroup.write` will now name this group...