The value R is multiplied by some lambda twice. It is first passed to bessellsv2 as R = self.rzero * self.aq.lababs[i, j] first, then in find_d1d2() it is multiplied by lab[0], where lab[0] is the first entry in aq.lab2[i, j, :] with dimensions (naq, nint, npint).