deepfold.losses.geometryΒΆ

Functions

backbone_loss(backbone_rigid_tensor, ...[, ...])

compute_distogram(positions, mask[, ...])

compute_fape(pred_frames, target_frames, ...)

Computes FAPE loss.

compute_renamed_ground_truth(batch, ...[, eps])

distogram_loss(logits, pseudo_beta, ...[, ...])

fape_loss(outputs, batch, ...[, eps])

get_optimal_transform(src_atoms, tgt_atoms)

Calculate the optimal superimposition.

kabsch_rmsd(true_atom_pos, pred_atom_pos[, ...])

sidechain_loss(sidechain_frames, ...[, ...])

superimpose(src_atoms, tgt_atoms, mask)

Superimposes coordinates onto a tgt_atoms by minimizing RMSD using SVD.

supervised_chi_loss(angles_sin_cos, ...[, eps])

Torsion Angle Loss.