fnnls# niriss_tools.grism.fnnls(A, x, max_iterations=1000, tolerance=1e-06)[source]# A wrapper around a numpy implementation of the FNNLS algorithm. Parameters: AArrayLikeThe coefficient array. xArrayLikeThe RHS vector. max_iterationsint | None, optionalHow many iterations to run, by default 1000. tolerancefloat, optionalThe tolerance to use for the stopping condition, by default 1e-6. Returns: ArrayLikeThe solution vector.