Alberto Hernandez

Results 6 comments of Alberto Hernandez

Same problem, gm.append only accepts file paths. Neither buffers not streams work ``` javascript gm(stream).append(stream) ``` When the image is written to disk only the original image stream is there

Running the same `minimal_example_of_lookup_tables.py` calculation but interpolating the "Negative electrode OCP [V]" or "Electrolyte conductivity [S.m-1]" parameters gives similar results, with the concentration or stoichiometry being NaNs. I was the...

I'm not entirely sure if this is expected, but the NaNs seem to be coming from the `y` StateVector, which always has that value when evaluated on an `Interpolant`. This...

I assume that at some point in this conversion the `pybamm.Interpolant` should be evaluated with non-NaN values in all children (see line 316 in `interpolant.py`) so that the resulting interpolated...

Thank you for explaining, that makes sense - the conversion for interpolants seems to happen in [convert_to_casadi.py L143](https://github.com/pybamm-team/PyBaMM/blob/develop/src/pybamm/expression_tree/operations/convert_to_casadi.py#L143). I suspect that this issue can be closed now, but just for...

Thank you again for your help, the values for linear interpolation seem to match. When I use the `cubic` method instead, however, the resulting diffusivity doesn't match what I expect...