def get_crystallographic_map(self, *args, **kwargs): """Obtain a crystallographic map specifying the best matching phase and orientation at each probe position with corresponding metrics. Returns ------- cryst_map : CrystallographicMap Crystallographic mapping results containing the best matching phase and orientation at each navigation position with associated metrics. The Signal at each navigation position is an array of, [phase, np.array((z,x,z)), dict(metrics)] which defines the phase, orientation as Euler angles in the zxz convention and metrics associated with the matching. Metrics for template matching results are 'correlation' 'orientation_reliability' 'phase_reliability' """ # TODO: Add alternative methods beyond highest correlation score. crystal_map = self.map(crystal_from_template_matching, inplace=False, *args, **kwargs) cryst_map = CrystallographicMap(crystal_map) cryst_map = transfer_navigation_axes(cryst_map, self) cryst_map.method = 'template_matching' return cryst_map
def get_crystallographic_map(self, *args, **kwargs): """Obtain a crystallographic map specifying the best matching phase and orientation at each probe position with corresponding correlation and reliabilty scores. Returns ------- cryst_map : CrystallographicMap Contains the best matching phase and orientation along with corresponding correlation and reliability scores at all navigation positions. """ # TODO: Add alternative methods beyond highest correlation score at each # navigation position. # TODO Only keep a subset of the data for the map crystal_map = self.map(crystal_from_matching_results, inplace=False, *args, **kwargs) cryst_map = CrystallographicMap(crystal_map) cryst_map = carry_through_navigation_calibration(cryst_map, self) return cryst_map
def get_crystallographic_map(self, *args, **kwargs): """Obtain a crystallographic map specifying the best matching phase and orientation at each probe position with corresponding correlation and reliabilty scores. """ #TODO: Add alternative methods beyond highest correlation score at each #navigation position. #TODO Only keep a subset of the data for the map cryst_map = self.map(crystal_from_matching_results, inplace=False, *args, **kwargs) return CrystallographicMap(cryst_map)