A toolkit for defect computations in Landau-Ginzburg models