suncal icon indicating copy to clipboard operation
suncal copied to clipboard

Add name argument to Model class to allow naming the output when using sympy expression

Open heikowestermann opened this issue 1 year ago • 1 comments

Hey,

It would be great to have a name attribute for Model so that we can name the output ourselves and don't need to use the automatic naming. In case of a str expression the internal sympify will parse the name, but when using a sympy-type instead, the name cannot be set. Currently the output will be named automatically f_1, f_2, etc.

I would be willing to provide a pull request if you allow external contributors.

heikowestermann avatar Sep 15 '24 14:09 heikowestermann

Good idea. I'd be happy to take a pull request if you're able to put it together.

cdelker avatar Oct 04 '24 18:10 cdelker