xinv.neq.reduce#

xinv.neq.reduce.groupreduce(dsneq, groupname, keep=False)#

Reduce by groupname a group of parameters from a normal equation system :param dsneq: Dataset containing the normal equation system to be reduced :type dsneq: xr.Dataset :param groupname: The groupname of the parameters to be reduced :type groupname: str :param keep: If True, the group parameters are kept instead of reduced. The default is False. :type keep: bool, optional

xinv.neq.reduce.ireduce(dsneq, idx, keep=False)#

Reduce Normal equation system using indexing Parameters: ———– dsneq: xarray.Dataset

Dataset containing the normal equation system to be reduced

idx: list or np.ndarray

index of the coordinates to reduce or keep in the system

xinv.neq.reduce.reduce(dsneq, keep=False, **kwargs)#

Reduce Normal equation system using coordinate labelling Parameters: ———– dsneq: xarray.Dataset

Dataset containing the normal equation system to be reduced

**kwargs:

keyword arguments with the dimension name as key and a list of coordinate labels to be reduced from the system coord1 = reducelabels1 , .. coord2 = reducelabels2