if yFactor is unspecified we need to check if all the numbers are integers or not.
If some numbers are not integer we need to invent a yFactor: we need to calculate one and round the number. We can decide that we would go from -233 to +233 integer numbers. This actually means that the maximum number of digits in 10 which seems reasonable.
I don't think we can create XYData in case we have decimal numbers and currently if we are creating spectra for NMR we obtain something like:
if
yFactor
is unspecified we need to check if all the numbers are integers or not.If some numbers are not integer we need to invent a yFactor: we need to calculate one and round the number. We can decide that we would go from -233 to +233 integer numbers. This actually means that the maximum number of digits in 10 which seems reasonable.