@property<EOL><INDENT>def paramsarray(self):<DEDENT>
<EOL>if self._paramsarray is not None:<EOL><INDENT>return self._paramsarray.copy()<EOL><DEDENT>nparams = len(self._index_to_param)<EOL>self._paramsarray = scipy.ndarray(shape=(nparams,), dtype='<STR_LIT:float>')<EOL>for (i, param) in self._index_to_param.items():<EOL><INDENT>if isinstance(param, str):<EOL><INDENT>self._paramsarray[i] = getattr(self.model, param)<EOL><DEDENT>elif isinstance(param, tuple):<EOL><INDENT>self._paramsarray[i] = getattr(self.model, param[<NUM_LIT:0>])[param[<NUM_LIT:1>]]<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT><DEDENT>return self._paramsarray.copy()<EOL>
All free model parameters as 1-dimensional `numpy.ndarray`.

        You are allowed to update model parameters by direct
        assignment of this property.