Is your feature request related to a problem? Please describe.
At present, the kphio argument to pyrealm.pmodel.pmodel.PModel is expected to be a float value. If this is supplied, it is converted into a numpy scalar array, with the value then being used for all calculations. However, users might want to be able to supply per-observation estimates of kphio rather than a single global initial value.
Describe the solution you'd like
Update kphio to accept scalar or array inputs and then check that array kphio values broadcast correctly across other array inputs.
Is your feature request related to a problem? Please describe.
At present, the
kphio
argument topyrealm.pmodel.pmodel.PModel
is expected to be a float value. If this is supplied, it is converted into anumpy
scalar array, with the value then being used for all calculations. However, users might want to be able to supply per-observation estimates ofkphio
rather than a single global initial value.Describe the solution you'd like Update
kphio
to accept scalar or array inputs and then check that arraykphio
values broadcast correctly across other array inputs.