Possibility to use a workspace to pass a vector of positions (or any other parameter) to str_fit
Requested by F. Natali on 9/5/2019. She is trying to repeat a 2D fit while keeping the peak positions previously found fixed, but as only 1 value can be given in the interface for a given parameter, she cannot do it. For this particular case, this can be solved using a 2D X array and shifting the energy of each spectrum in such a way that the peak is always centred at 0. But it would be nice if one could pass a vector of parameters (one per spectrum) instead of a single value.