class_docstr: Asymmetric Bundle-based Minimum distance.
  
  This is a cost function that can be used by the
  StreamlineLinearRegistration class.
class_docstr_tok: ["Asymmetric","Bundle-based","Minimum","distance",".","This","is","a","cost","function","that","can","be","used","by","the","StreamlineLinearRegistration","class","."]
docstr: Distance calculated from this Metric.
  
  Parameters
  ----------
  xopt : sequence
      List of affine parameters as an 1D vector
docstr_tok: ["Distance","calculated","from","this","Metric",".","Parameters","--","--","--","--","--","xopt",":","sequence","List","of","affine","parameters","as","an","1D","vector"]
code: def distance(self, xopt):
      """Distance calculated from this Metric.
  
      Parameters
      ----------
      xopt : sequence
          List of affine parameters as an 1D vector
  
      """
      return bundle_min_distance_asymmetric_fast(
          xopt,
          self.static_centered_pts,
          self.moving_centered_pts,
          self.block_size,
      )
  
imports: import logging
  import abc
  from itertools import combinations
  import numpy
  from dipy.core.optimize import Optimizer
  from dipy.align.bundlemin import _bundle_minimum_distance, _bundle_minimum_distance_asymmetric, distance_matrix_mdf
  from dipy.tracking.streamline import transform_streamlines, unlist_streamlines, center_streamlines, set_number_of_points, select_random_set_of_streamlines, length, Streamlines
  from dipy.segment.clustering import qbx_and_merge
  from dipy.core.geometry import compose_transformations, compose_matrix, decompose_matrix
  from time import time
label_desc: Use image node_id 1 for calling the BundleMinDistanceAsymmetricMetric obj's underlying member method code with example usage: obj.distance(xopt) and returns: bundle_min_distance_asymmetric_fast