def plot_fit_hess(self, ax, fit_key, plane_key, imshow=None): plane = self.planes[plane_key] fit_hess = SimHess.from_sfh_solution(self.fits[fit_key], plane) return plot_hess(ax, fit_hess.hess, plane, fit_hess.origin, imshow_args=imshow)
def get_sim_hess(self, key, synth, lockfile): if key not in self._sim_hess_planes: sh = SimHess(synth, self._planes[key], np.ones(len(lockfile.active_groups))) self._sim_hess_planes[key] = sh return self._sim_hess_planes[key]
def make_fit_hess(self, fit_key, plane_key): plane = self.planes[plane_key] return SimHess.from_sfh_solution(self.fits[fit_key], plane)