dpr.register
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
bundle - 2D array of M bundles with each metrics of size N as a column |
|
|
|
|
|
|
|
|
|
|
|
- dpr.register.align_bundles(bundles, percent=15, padding=0.0, order=1, eps=1e-05, mode='full_template', remove_outliers=True, remove_baseline=True, whiten=True, normalize=False, return_shifts_matrix=False, rematch_outliers=True)¶
- dpr.register.resample_bundles_to_same(bundles, num_points=None)¶
- dpr.register.apply_shift(bundles, shifts, order=1, padding=np.nan)¶
- dpr.register.flip_fibers(bundles, coordinates, padding=np.nan, template=None)¶
bundle - 2D array of M bundles with each metrics of size N as a column coordinates - list of points of size whatever x 3 template - Use this streamline to set the coordinate system.
If not set, we use the first one from coordinates.
- dpr.register.truncate(bundles, mode='shortest', trimval=np.nan, axis=0)¶
- dpr.register.filter_pairs(allpairs, mode)¶
- dpr.register.get_shift_from_fft(x, y, normalize=False)¶
- dpr.register.get_ffts(bundles, whiten=True, remove_baseline=True)¶
- dpr.register.crosscorr(ffta, fftb, normalize=False)¶
- dpr.register.extrapolate(x, y, return_value=False)¶