This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Name: Project Table:Plane of Best Fit - PJH Lab | |
#Command: pythonrun calc_pbf.run | |
__doc__ = """ | |
Performs plane of best fit analysis. | |
Calculates the average distance of all atoms in each molecule to the plane that | |
fits each structure. Plane fitting is performed by single value decomposition | |
(SVD) using the Numpy package. | |
The script can also be run from the command line. | |
""" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
import torch.nn as nn | |
from torch.nn import Softplus | |
from torch.utils.data import Dataset, DataLoader | |
import dgl | |
import dgl.function as fn | |
from dgl.batched_graph import sum_nodes | |
from dgl.data.chem.utils import mol_to_complete_graph | |
import numpy as np | |
from collections import defaultdict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from openmmtools.constants import kB | |
from simtk import unit | |
import numpy as np | |
from tqdm import tqdm | |
from IPython.core.display import display, HTML | |
from IPython.display import SVG | |
from rdkit.Chem.Draw import IPythonConsole | |
import mdtraj as md | |
#from utils import * | |
import nglview |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer