Documentation ¶
Index ¶
- Constants
- type SelDef
- type Selection
- func (sel *Selection) Atoms() []*atom.Atom
- func (sel *Selection) CenterCoG()
- func (sel *Selection) CoG() []float64
- func (sel *Selection) CurrentFrame() int
- func (sel *Selection) CurrentMatrix() *mat64.Dense
- func (sel *Selection) Info() string
- func (sel *Selection) MinMaxDim() ([]float64, []float64, []float64)
- func (sel *Selection) NAtoms() int
- func (sel *Selection) NFrames() int
- func (sel *Selection) SetCurrentFrame(frame int)
- func (sel *Selection) UpdateUsingMatrix(mat *mat64.Dense)
Constants ¶
View Source
const ( All selKeyword = 1 << iota Protein Nucleic Lipid Water Ion Calpha Backbone )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SelDef ¶
type Selection ¶
type Selection struct {
// contains filtered or unexported fields
}
func (*Selection) CenterCoG ¶
func (sel *Selection) CenterCoG()
CenterCoG centers the coordinate for the current frame at the origin.
func (*Selection) CurrentFrame ¶
CurrentFrame returns the currently set frame number.
func (*Selection) CurrentMatrix ¶
CurrentMatrix creates a new N x 3 matrix of cooridnates for the current frame
func (*Selection) SetCurrentFrame ¶
SetCurrentFrame sets the current frame number.
func (*Selection) UpdateUsingMatrix ¶
UpdateUsingMatrix uses the provided matrix to update the coordinates of the current frame
Click to show internal directories.
Click to hide internal directories.