Skip to content

Commit

Permalink
Update dssp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst authored Jun 13, 2024
1 parent 5438877 commit d3d2cf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/MDAnalysis/analysis/dssp/dssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,15 @@
:inherited-members:
.. attribute:: results.dssp
Contains the time series of the DSSP assignment as a
:class:`numpy.ndarray` array of shape ``(n_frames, n_residues)`` where each row
contains the assigned secondary structure character for each residue (whose
corresponding resid is stored in :attr:`results.resids`). The three characters
are ['H', 'E', '-'] and representi alpha-helix, sheet and loop, respectively.
.. attribute:: results.dssp_ndarray
Contains the one-hot encoding of the time series of the DSSP assignment
as a :class:`numpy.ndarray` Boolean array of shape ``(n_frames, n_residues, 3)``
where for each residue the encoding is stored as ``(3,)`` shape
Expand All @@ -130,6 +132,7 @@
.. attribute:: results.resids
A :class:`numpy.ndarray` of length ``n_residues`` that contains the residue IDs
(resids) for the protein residues that were assigned a secondary structure.
Expand Down

0 comments on commit d3d2cf2

Please sign in to comment.