def _update_dPxy(self):
if '<STR_LIT>' in self.freeparams:<EOL><INDENT>scipy.copyto(self.dPxy['<STR_LIT>'], self.Pxy / self.kappa,<EOL>where=CODON_TRANSITION)<EOL>_fill_diagonals(self.dPxy['<STR_LIT>'], self._diag_indices)<EOL><DEDENT>if '<STR_LIT>' in self.freeparams:<EOL><INDENT>scipy.copyto(self.dPxy['<STR_LIT>'], self.Pxy_no_omega,<EOL>where=CODON_NONSYN)<EOL>_fill_diagonals(self.dPxy['<STR_LIT>'], self._diag_indices)<EOL><DEDENT>
Update `dPxy`.