pydistsim.utils.localization.helpers.get_rms

get_rms(truePos, estimated, align=False, scale=False, norm=False)[source]

Returns root mean square error of estimated positions.

Set align if estimated positions need to be transformed (rotated and translated) before calculating rms error of localization. Set scale=True if they needs to be scaled also.

If norm is True then rms is divided with norm of the true formation translated to centroid.