Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::scoring::electron_density::ElectronDensity Class Reference

#include <ElectronDensity.hh>

Inheritance diagram for core::scoring::electron_density::ElectronDensity:
Inheritance graph
[legend]
Collaboration diagram for core::scoring::electron_density::ElectronDensity:
Collaboration graph
[legend]

Public Member Functions

virtual ~ElectronDensity ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
 ElectronDensity ()
 constructor More...
 
 ElectronDensity (utility::vector1< core::pose::PoseOP > poses, core::Real reso, core::Real apix)
 calulated density from a vector of poses More...
 
template<class T >
 ElectronDensity (ObjexxFCL::FArray3D< T > const &map, core::Real apix=1.0, numeric::xyzVector< core::Real > new_origin=numeric::xyzVector< core::Real >(0, 0, 0), bool fftshift=false)
 constructor from an FArray3D (debugging only) More...
 
void init ()
 
bool readMRCandResize (std::string mapfile, core::Real reso=5.0, core::Real gridSpacing=0.0)
 Load an MRC (="new-CCP4") density map. More...
 
bool readMRCandResize (std::istream &mapin, std::string mapfile, core::Real reso=5.0, core::Real gridSpacing=0.0)
 Load an MRC (="new-CCP4") density map. More...
 
bool writeMRC (std::string mapfilestem)
 (debugging) Write MRC mapfile More...
 
bool writeMAT (std::string mapfilestem)
 (debugging) Write MATLAB v5 mapfile More...
 
numeric::xyzMatrix< core::RealrotAlign2DPose (core::pose::Pose const &pose, std::string axis)
 Align a pose about a 2D rotation axis. More...
 
core::Real matchCentroidPose (core::pose::Pose const &pose, core::conformation::symmetry::SymmetryInfoCOP symmInfo=NULL, bool cacheCCs=false)
 Quickly matches a centroid pose into a low-resolution density map by placing a single Gaussian at each CA. More...
 
core::Real matchPose (core::pose::Pose const &pose, core::conformation::symmetry::SymmetryInfoCOP symmInfo=NULL, bool cacheCCs=false)
 Quickly matches a centroid pose into a low-resolution density map by placing a single Gaussian at each atom. More...
 
core::Real matchPoseToPatterson (core::pose::Pose const &pose, bool cacheCCs=false)
 Match a pose to a patterson map. More...
 
core::Real rematchResToPatterson (core::conformation::Residue const &rsd) const
 Rematch the pose to a patterson map, using previous rho_calc with only rsd changed. More...
 
void updateCachedDensity (core::conformation::Residue const &rsd)
 Update cached rho_calc by changing residue 'rsd'. More...
 
core::Real matchRes (int resid, core::conformation::Residue const &rsd, core::pose::Pose const &pose, core::conformation::symmetry::SymmetryInfoCOP symmInfo=NULL, bool cacheCCs=false)
 Match a residue's conformation to the density map. Backbone atoms from adjacent residues are also used for scoring. Returns the correlation coefficient between map and pose Internally stores per-res CCs, per-atom dCC/dxs. More...
 
core::Real matchResFast (int resid, core::conformation::Residue const &rsd, core::pose::Pose const &pose, core::conformation::symmetry::SymmetryInfoCOP symmInfo=NULL)
 Match a residue's conformation to the density map. Same as matchRes, but using a fast approximation to the match function. More...
 
void compute_symm_rotations (core::pose::Pose const &pose, core::conformation::symmetry::SymmetryInfoCOP symmInfo=NULL)
 Computes the symmatric rotation matrices. More...
 
void dCCdx_res (int atmid, int resid, numeric::xyzVector< core::Real > const &X, core::conformation::Residue const &rsd, core::pose::Pose const &pose, numeric::xyzVector< core::Real > &gradX)
 Return the gradient of CC w.r.t. atom X's movement Uses information stored from the previous call to matchRes with this resid. More...
 
void dCCdx_fastRes (int atmid, int resid, numeric::xyzVector< core::Real > const &X, core::conformation::Residue const &rsd, core::pose::Pose const &pose, numeric::xyzVector< core::Real > &gradX)
 Return the gradient of "fast CC" w.r.t. atom X's movement Uses information stored from the previous call to matchRes with this resid. More...
 
void dCCdx_cen (int resid, numeric::xyzVector< core::Real > const &X, core::pose::Pose const &pose, numeric::xyzVector< core::Real > &gradX)
 Return the gradient of CC w.r.t. res X's CA's movement Centroid-mode analogue of dCCdx. More...
 
void dCCdx_aacen (int atmid, int resid, numeric::xyzVector< core::Real > const &X, core::pose::Pose const &pose, numeric::xyzVector< core::Real > &gradX)
 Return the gradient of whole-structure-CC w.r.t. atom X's movement non-sliding-window analogue of dCCdx. More...
 
void dCCdx_pat (int atmid, int resid, numeric::xyzVector< core::Real > const &X, core::pose::Pose const &pose, numeric::xyzVector< core::Real > &gradX)
 Return the gradient of patterson-CC w.r.t. atom X's movement. More...
 
void clear_dCCdx_res_cache (core::pose::Pose const &pose)
 Resets the counters used for derivative computation in sliding-window/fast scoring. More...
 
numeric::xyzVector< core::RealgetTransform ()
 Get the transformation from indices to Cartesian coords using 'real' origin. More...
 
void set_nres (int nres)
 set # of residues More...
 
void showCachedScores (utility::vector1< int > const &reses)
 Print cached CCs. More...
 
core::Real getCachedScore (core::Size resid)
 
void setUseDensityInMinimizer (bool newVal)
 
bool getUseDensityInMinimizer () const
 
void setUseExactDerivatives (bool newVal)
 
bool getUseExactDerivatives () const
 
void setWindow (core::Size window_in)
 
core::Size getWindow ()
 
void setScoreWindowContext (bool newVal)
 
bool getScoreWindowContext () const
 
bool isMapLoaded () const
 
core::Real getNumDerivH () const
 
core::Real getMean () const
 
core::Real getMin () const
 
core::Real getMax () const
 
core::Real getStdev () const
 
core::Real getResolution () const
 
numeric::xyzVector< core::RealgetCoM () const
 
numeric::xyzVector< core::RealgetOrigin () const
 
numeric::xyzVector< core::RealgetEffOrigin () const
 
utility::vector1
< core::kinematics::RT
getsymmOps () const
 
void maskResidues (int scoring_mask)
 
void maskResidues (utility::vector1< int > const &scoring_mask)
 
void clearMask ()
 
ObjexxFCL::FArray3D< float >
const & 
data () const
 
void cart2idx (numeric::xyzVector< core::Real > const &cartX, numeric::xyzVector< core::Real > &idxX) const
 
template<class Q >
void idx2cart (numeric::xyzVector< Q > const &idxX, numeric::xyzVector< core::Real > &cartX) const
 
template<class Q >
void idxoffset2cart (numeric::xyzVector< Q > const &idxX, numeric::xyzVector< core::Real > &cartX) const
 
void cart2frac (numeric::xyzVector< core::Real > const &cartX, numeric::xyzVector< core::Real > &fracX) const
 
void frac2cart (numeric::xyzVector< core::Real > const &fracX, numeric::xyzVector< core::Real > &cartX) const
 
numeric::xyzVector< core::Realdelt_cart (numeric::xyzVector< core::Real > const &cartX1, numeric::xyzVector< core::Real > const &cartX2)
 
numeric::xyzVector< core::Realget_cart_unitCell (numeric::xyzVector< core::Real > const &cartX)
 
numeric::xyzVector< core::Realget_nearest_UC (numeric::xyzVector< core::Real > const &cartX_in, numeric::xyzVector< core::Real > const &cartX_ref)
 
numeric::xyzVector< core::Realdens_grad (numeric::xyzVector< core::Real > const &idxX) const
 
void resize (core::Real approxGridSpacing)
 resize the map via FFT More...
 
void get_symmMap (int vrtid, utility::vector1< int > &X_map, numeric::xyzMatrix< core::Real > &R)
 
void get_R (int subunit, numeric::xyzMatrix< core::Real > &R)
 

Private Member Functions

void computeGradients ()
 
void computeStats ()
 
int suggestRadius ()
 
void initializeSymmOps (utility::vector1< std::string > const &symList)
 
void computeCrystParams ()
 
void expandToUnitCell ()
 
void setup_patterson_first_time (core::pose::Pose const &pose)
 Precomputes a bunch of stuff for patterson map scoring. More...
 
void setup_fastscoring_first_time (core::pose::Pose const &pose)
 setup oversampled maps for fast density scoring More...
 
utility::vector1
< ObjexxFCL::FArray3D
< std::complex< double > > * > 
getFdrhoc (OneGaussianScattering S)
 
double S2 (int h, int k, int l)
 

Private Attributes

bool isLoaded
 
ObjexxFCL::FArray3D< float > density
 
ObjexxFCL::FArray3D
< std::complex< double > > 
Fdensity
 
std::map< core::Size, boolscoring_mask_
 
core::Real reso
 
core::Real ATOM_MASK
 
core::Real CA_MASK
 
core::Real force_apix_
 
core::Size WINDOW_
 
bool score_window_context_
 
bool remap_symm_
 
bool DensScoreInMinimizer
 
bool ExactDerivatives
 
core::Real NUM_DERIV_H
 
core::Real NUM_DERIV_H_CEN
 
core::Real PattersonB
 
core::Real PattersonMinR
 
core::Real PattersonMaxR
 
ObjexxFCL::FArray3D< float > PattersonEpsilon
 
ObjexxFCL::FArray3D< double > p_o
 
double po_bar
 
ObjexxFCL::FArray3D< double > fastdens_score
 
ObjexxFCL::FArray3D< double > fastdens_dscoredx
 
ObjexxFCL::FArray3D< double > fastdens_dscoredy
 
ObjexxFCL::FArray3D< double > fastdens_dscoredz
 
numeric::xyzVector< intfastgrid
 
numeric::xyzVector< core::Realfastorigin
 
ObjexxFCL::FArray3D< double > rho_calc
 TONS OF CACHED STUFF. More...
 
core::Real rho_calc_sum
 
ObjexxFCL::FArray3D
< std::complex< double > > 
Frho_calc
 
utility::vector1< core::Sizebucket_counts
 
ObjexxFCL::FArray3D< core::Sizebucket_id
 
core::Real lowres_cut
 
core::Real hires_cut
 
ObjexxFCL::FArray3D< double > F_s2
 
ObjexxFCL::FArray3D< double > Pcalc
 
utility::vector1< core::RealF2
 
utility::vector1
< ObjexxFCL::FArray3D
< core::Size > > 
symm_ptrs
 
std::map< int,
ObjexxFCL::FArray3D
< std::complex< double > > > 
Fdrhoc_dx
 
std::map< int,
ObjexxFCL::FArray3D
< std::complex< double > > > 
Fdrhoc_dy
 
std::map< int,
ObjexxFCL::FArray3D
< std::complex< double > > > 
Fdrhoc_dz
 
utility::vector1
< utility::vector1
< numeric::xyzVector
< core::Real > > > 
rho_calc_atms
 
utility::vector1
< utility::vector1
< OneGaussianScattering > > 
rho_calc_as
 
core::Real p_sumC
 
core::Real p_sumC2
 
core::Real p_sumO
 
core::Real p_sumO2
 
core::Real p_sumCO
 
core::Real p_vol
 
numeric::xyzVector< core::Reald_min
 
numeric::xyzVector< core::Reald_max
 
numeric::xyzVector< core::Realp_extent
 
numeric::xyzVector< core::Realp_origin
 
numeric::xyzVector< core::Sizep_grid
 
numeric::xyzVector< core::Realp_CoM
 
core::Real max_del_grid
 
numeric::xyzVector< intgrid
 
numeric::xyzVector< core::Realorigin
 
numeric::xyzVector< core::Realefforigin
 
utility::vector1< core::RealCCs
 
core::Real CC_cen
 
core::Real CC_aacen
 
core::Real CC_pat
 
utility::vector1
< numeric::xyzVector
< core::Real > > 
dCCdxs_cen
 
utility::vector1
< utility::vector1
< numeric::xyzVector
< core::Real > > > 
dCCdxs_aacen
 
utility::vector1
< utility::vector1
< numeric::xyzVector
< core::Real > > > 
dCCdxs_res
 
utility::vector1
< utility::vector1
< numeric::xyzVector
< core::Real > > > 
dCCdxs_pat
 
std::map< int, std::pair
< utility::vector1< int >
, numeric::xyzMatrix
< core::Real > > > 
symmap
 SYMMETRY (Rosetta's symmetry, not necessarily crystal symmetry) More...
 
ObjexxFCL::FArray3D< double > coeff_grad_x
 VISUALIZATION-SPECIFIC. More...
 
ObjexxFCL::FArray3D< double > coeff_grad_y
 
ObjexxFCL::FArray3D< double > coeff_grad_z
 
numeric::xyzMatrix< core::Realf2c
 CRYSTAL INFO. More...
 
numeric::xyzMatrix< core::Realc2f
 
numeric::xyzVector< float > cellDimensions
 
numeric::xyzVector< float > cellAngles
 
numeric::xyzVector< float > RcellDimensions
 
numeric::xyzVector< float > cosRcellAngles
 
core::Real V
 
core::Real RV
 
utility::vector1
< core::kinematics::RT
symmOps
 
utility::vector1
< numeric::xyzMatrix
< core::Real > > 
symmRotOps
 
numeric::xyzVector< core::SizeMINMULT
 
numeric::xyzVector< core::RealcenterOfMass
 
core::Real dens_mean
 
core::Real dens_min
 
core::Real dens_max
 
core::Real dens_stdev
 

Constructor & Destructor Documentation

core::scoring::electron_density::ElectronDensity::~ElectronDensity ( )
virtual

Automatically generated virtual destructor for class deriving directly from ReferenceCount.

Auto-generated virtual destructor

core::scoring::electron_density::ElectronDensity::ElectronDensity ( )

constructor

null constructor

References core::init().

core::scoring::electron_density::ElectronDensity::ElectronDensity ( utility::vector1< core::pose::PoseOP poses,
core::Real  reso,
core::Real  apix 
)
template<class T >
core::scoring::electron_density::ElectronDensity::ElectronDensity ( ObjexxFCL::FArray3D< T > const &  map,
core::Real  apix = 1.0,
numeric::xyzVector< core::Real new_origin = numeric::xyzVectorcore::Real >(0,0,0),
bool  fftshift = false 
)
inline

constructor from an FArray3D (debugging only)

References cellAngles, cellDimensions, density, efforigin, grid, init(), isLoaded, origin, and core::scoring::electron_density::pos_mod().

Member Function Documentation

void core::scoring::electron_density::ElectronDensity::cart2frac ( numeric::xyzVector< core::Real > const &  cartX,
numeric::xyzVector< core::Real > &  fracX 
) const
inline

References c2f.

void core::scoring::electron_density::ElectronDensity::cart2idx ( numeric::xyzVector< core::Real > const &  cartX,
numeric::xyzVector< core::Real > &  idxX 
) const
inline

References c2f, efforigin, and grid.

void core::scoring::electron_density::ElectronDensity::clear_dCCdx_res_cache ( core::pose::Pose const &  pose)
void core::scoring::electron_density::ElectronDensity::clearMask ( )
inline
void core::scoring::electron_density::ElectronDensity::compute_symm_rotations ( core::pose::Pose const &  pose,
core::conformation::symmetry::SymmetryInfoCOP  symmInfo = NULL 
)
void core::scoring::electron_density::ElectronDensity::computeCrystParams ( )
private
void core::scoring::electron_density::ElectronDensity::computeGradients ( )
private
void core::scoring::electron_density::ElectronDensity::computeStats ( )
private
ObjexxFCL::FArray3D< float > const& core::scoring::electron_density::ElectronDensity::data ( ) const
inline

References density.

void core::scoring::electron_density::ElectronDensity::dCCdx_aacen ( int  atmid,
int  resid,
numeric::xyzVector< core::Real > const &  X,
core::pose::Pose const &  pose,
numeric::xyzVector< core::Real > &  gradX 
)
void core::scoring::electron_density::ElectronDensity::dCCdx_cen ( int  resid,
numeric::xyzVector< core::Real > const &  X,
core::pose::Pose const &  pose,
numeric::xyzVector< core::Real > &  gradX 
)
void core::scoring::electron_density::ElectronDensity::dCCdx_fastRes ( int  atmid,
int  resid,
numeric::xyzVector< core::Real > const &  X,
core::conformation::Residue const &  rsd,
core::pose::Pose const &  pose,
numeric::xyzVector< core::Real > &  gradX 
)
void core::scoring::electron_density::ElectronDensity::dCCdx_pat ( int  atmid,
int  resid,
numeric::xyzVector< core::Real > const &  X,
core::pose::Pose const &  pose,
numeric::xyzVector< core::Real > &  gradX 
)
void core::scoring::electron_density::ElectronDensity::dCCdx_res ( int  atmid,
int  resid,
numeric::xyzVector< core::Real > const &  X,
core::conformation::Residue const &  rsd,
core::pose::Pose const &  pose,
numeric::xyzVector< core::Real > &  gradX 
)
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::delt_cart ( numeric::xyzVector< core::Real > const &  cartX1,
numeric::xyzVector< core::Real > const &  cartX2 
)
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::dens_grad ( numeric::xyzVector< core::Real > const &  idxX) const
void core::scoring::electron_density::ElectronDensity::expandToUnitCell ( )
private
void core::scoring::electron_density::ElectronDensity::frac2cart ( numeric::xyzVector< core::Real > const &  fracX,
numeric::xyzVector< core::Real > &  cartX 
) const
inline

References f2c.

numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::get_cart_unitCell ( numeric::xyzVector< core::Real > const &  cartX)
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::get_nearest_UC ( numeric::xyzVector< core::Real > const &  cartX_in,
numeric::xyzVector< core::Real > const &  cartX_ref 
)
void core::scoring::electron_density::ElectronDensity::get_R ( int  subunit,
numeric::xyzMatrix< core::Real > &  R 
)
inline
void core::scoring::electron_density::ElectronDensity::get_symmMap ( int  vrtid,
utility::vector1< int > &  X_map,
numeric::xyzMatrix< core::Real > &  R 
)
inline
core::Real core::scoring::electron_density::ElectronDensity::getCachedScore ( core::Size  resid)
inline
numeric::xyzVector<core::Real> core::scoring::electron_density::ElectronDensity::getCoM ( ) const
inline
numeric::xyzVector<core::Real> core::scoring::electron_density::ElectronDensity::getEffOrigin ( ) const
inline

References efforigin.

utility::vector1< ObjexxFCL::FArray3D< std::complex< double > > * > core::scoring::electron_density::ElectronDensity::getFdrhoc ( OneGaussianScattering  S)
private
core::Real core::scoring::electron_density::ElectronDensity::getMax ( ) const
inline

References dens_max.

core::Real core::scoring::electron_density::ElectronDensity::getMean ( ) const
inline

References dens_mean.

core::Real core::scoring::electron_density::ElectronDensity::getMin ( ) const
inline

References dens_min.

core::Real core::scoring::electron_density::ElectronDensity::getNumDerivH ( ) const
inline

References NUM_DERIV_H.

numeric::xyzVector<core::Real> core::scoring::electron_density::ElectronDensity::getOrigin ( ) const
inline

References origin.

core::Real core::scoring::electron_density::ElectronDensity::getResolution ( ) const
inline

References reso.

bool core::scoring::electron_density::ElectronDensity::getScoreWindowContext ( ) const
inline

References score_window_context_.

core::Real core::scoring::electron_density::ElectronDensity::getStdev ( ) const
inline

References dens_stdev.

utility::vector1< core::kinematics::RT > core::scoring::electron_density::ElectronDensity::getsymmOps ( ) const
inline

References symmOps.

numeric::xyzVector<core::Real> core::scoring::electron_density::ElectronDensity::getTransform ( )
inline

Get the transformation from indices to Cartesian coords using 'real' origin.

References grid, idx2cart(), and origin.

bool core::scoring::electron_density::ElectronDensity::getUseDensityInMinimizer ( ) const
inline
bool core::scoring::electron_density::ElectronDensity::getUseExactDerivatives ( ) const
inline

References ExactDerivatives.

core::Size core::scoring::electron_density::ElectronDensity::getWindow ( )
inline

References WINDOW_.

template<class Q >
void core::scoring::electron_density::ElectronDensity::idx2cart ( numeric::xyzVector< Q > const &  idxX,
numeric::xyzVector< core::Real > &  cartX 
) const
inline
template<class Q >
void core::scoring::electron_density::ElectronDensity::idxoffset2cart ( numeric::xyzVector< Q > const &  idxX,
numeric::xyzVector< core::Real > &  cartX 
) const
inline

References f2c, and grid.

void core::scoring::electron_density::ElectronDensity::init ( void  )

Referenced by ElectronDensity().

void core::scoring::electron_density::ElectronDensity::initializeSymmOps ( utility::vector1< std::string > const &  symList)
private

also sets MINMULT(XYZ) eventually replace with cctbx

References rot(), core::scoring::electron_density::TR(), and trans().

bool core::scoring::electron_density::ElectronDensity::isMapLoaded ( ) const
inline
void core::scoring::electron_density::ElectronDensity::maskResidues ( int  scoring_mask)
inline
void core::scoring::electron_density::ElectronDensity::maskResidues ( utility::vector1< int > const &  scoring_mask)
inline

References scoring_mask_.

core::Real core::scoring::electron_density::ElectronDensity::matchCentroidPose ( core::pose::Pose const &  pose,
core::conformation::symmetry::SymmetryInfoCOP  symmInfo = NULL,
bool  cacheCCs = false 
)
core::Real core::scoring::electron_density::ElectronDensity::matchPose ( core::pose::Pose const &  pose,
core::conformation::symmetry::SymmetryInfoCOP  symmInfo = NULL,
bool  cacheCCs = false 
)
core::Real core::scoring::electron_density::ElectronDensity::matchPoseToPatterson ( core::pose::Pose const &  pose,
bool  cacheCCs = false 
)
core::Real core::scoring::electron_density::ElectronDensity::matchRes ( int  resid,
core::conformation::Residue const &  rsd,
core::pose::Pose const &  pose,
core::conformation::symmetry::SymmetryInfoCOP  symmInfo = NULL,
bool  cacheCCs = false 
)

Match a residue's conformation to the density map. Backbone atoms from adjacent residues are also used for scoring. Returns the correlation coefficient between map and pose Internally stores per-res CCs, per-atom dCC/dxs.

Match a residue to the density map, returning correlation coefficient between map and residue. Caches information about scoring, to be used in derivative computation

References core::conformation::Residue::atom(), core::conformation::Residue::atom_type_index(), core::conformation::Residue::atom_type_set(), protocols::forge::build::SegmentInsertConnectionScheme::C, core::scoring::electron_density::OneGaussianScattering::C(), core::graph::Node::const_edge_list_end(), core::pack::interaction_graph::debug, core::pose::Pose::energies(), core::scoring::Energies::energy_graph(), core::pose::Pose::fold_tree(), core::scoring::electron_density::get_A(), core::graph::Edge::get_first_node_ind(), core::graph::Edge::get_node(), core::graph::Edge::get_second_node_ind(), core::kinematics::FoldTree::is_cutpoint(), core::scoring::electron_density::is_missing_density(), core::scoring::electron_density::OneGaussianScattering::k(), core::scoring::electron_density::MAX_FLT, core::conformation::Residue::nheavyatoms(), core::pose::Pose::residue(), core::pose::Pose::total_residue(), core::scoring::electron_density::TR(), writeMRC(), and core::conformation::Atom::xyz().

Referenced by protocols::hybridization::CartesianSampler::compute_fragment_bias(), dCCdx_fastRes(), dCCdx_res(), core::scoring::electron_density::ElecDensEnergy::residue_pair_energy(), and core::scoring::electron_density::ElecDensEnergy::setup_for_derivatives().

core::Real core::scoring::electron_density::ElectronDensity::matchResFast ( int  resid,
core::conformation::Residue const &  rsd,
core::pose::Pose const &  pose,
core::conformation::symmetry::SymmetryInfoCOP  symmInfo = NULL 
)

Match a residue's conformation to the density map. Same as matchRes, but using a fast approximation to the match function.

Match a residue to the density map. Use the fast version of the scoring function.

References core::conformation::Residue::atom(), core::scoring::electron_density::interp_spline(), core::conformation::Residue::nheavyatoms(), core::scoring::electron_density::TR(), and core::conformation::Atom::xyz().

Referenced by dCCdx_fastRes(), and core::scoring::electron_density::FastDensEnergy::residue_pair_energy().

bool core::scoring::electron_density::ElectronDensity::readMRCandResize ( std::string  mapfile,
core::Real  reso = 5.0,
core::Real  gridSpacing = 0.0 
)

Load an MRC (="new-CCP4") density map.

Referenced by core::scoring::electron_density::getDensityMap_legacy().

bool core::scoring::electron_density::ElectronDensity::readMRCandResize ( std::istream &  mapin,
std::string  mapfile,
core::Real  reso = 5.0,
core::Real  gridSpacing = 0.0 
)
core::Real core::scoring::electron_density::ElectronDensity::rematchResToPatterson ( core::conformation::Residue const &  rsd) const
void core::scoring::electron_density::ElectronDensity::resize ( core::Real  approxGridSpacing)
numeric::xyzMatrix< core::Real > core::scoring::electron_density::ElectronDensity::rotAlign2DPose ( core::pose::Pose const &  pose,
std::string  axis 
)
double core::scoring::electron_density::ElectronDensity::S2 ( int  h,
int  k,
int  l 
)
inlineprivate

References cosRcellAngles, and RcellDimensions.

void core::scoring::electron_density::ElectronDensity::set_nres ( int  nres)
inline
void core::scoring::electron_density::ElectronDensity::setScoreWindowContext ( bool  newVal)
inline
void core::scoring::electron_density::ElectronDensity::setup_fastscoring_first_time ( core::pose::Pose const &  pose)
private
void core::scoring::electron_density::ElectronDensity::setup_patterson_first_time ( core::pose::Pose const &  pose)
private
void core::scoring::electron_density::ElectronDensity::setUseDensityInMinimizer ( bool  newVal)
inline
void core::scoring::electron_density::ElectronDensity::setUseExactDerivatives ( bool  newVal)
inline

References ExactDerivatives.

void core::scoring::electron_density::ElectronDensity::setWindow ( core::Size  window_in)
inline
void core::scoring::electron_density::ElectronDensity::showCachedScores ( utility::vector1< int > const &  reses)

Print cached CCs.

References core::scoring::electron_density::TR().

int core::scoring::electron_density::ElectronDensity::suggestRadius ( )
private
void core::scoring::electron_density::ElectronDensity::updateCachedDensity ( core::conformation::Residue const &  rsd)
bool core::scoring::electron_density::ElectronDensity::writeMAT ( std::string  mapfilestem)

(debugging) Write MATLAB v5 mapfile

bool core::scoring::electron_density::ElectronDensity::writeMRC ( std::string  mapfilestem)

Member Data Documentation

core::Real core::scoring::electron_density::ElectronDensity::ATOM_MASK
private
utility::vector1<core::Size> core::scoring::electron_density::ElectronDensity::bucket_counts
private
ObjexxFCL::FArray3D< core::Size > core::scoring::electron_density::ElectronDensity::bucket_id
private
numeric::xyzMatrix<core::Real> core::scoring::electron_density::ElectronDensity::c2f
private

Referenced by cart2frac(), and cart2idx().

core::Real core::scoring::electron_density::ElectronDensity::CA_MASK
private
core::Real core::scoring::electron_density::ElectronDensity::CC_aacen
private
core::Real core::scoring::electron_density::ElectronDensity::CC_cen
private
core::Real core::scoring::electron_density::ElectronDensity::CC_pat
private
utility::vector1<core::Real> core::scoring::electron_density::ElectronDensity::CCs
private

Referenced by getCachedScore(), and set_nres().

numeric::xyzVector<float> core::scoring::electron_density::ElectronDensity::cellAngles
private

Referenced by ElectronDensity().

numeric::xyzVector<float> core::scoring::electron_density::ElectronDensity::cellDimensions
private

Referenced by ElectronDensity().

numeric::xyzVector<core::Real> core::scoring::electron_density::ElectronDensity::centerOfMass
private

Referenced by getCoM().

ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::coeff_grad_x
mutableprivate

VISUALIZATION-SPECIFIC.

ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::coeff_grad_y
mutableprivate
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::coeff_grad_z
mutableprivate
numeric::xyzVector<float> core::scoring::electron_density::ElectronDensity::cosRcellAngles
private

Referenced by S2().

numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::d_max
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::d_min
private
utility::vector1< utility::vector1< numeric::xyzVector< core::Real > > > core::scoring::electron_density::ElectronDensity::dCCdxs_aacen
private

Referenced by set_nres().

utility::vector1< numeric::xyzVector< core::Real > > core::scoring::electron_density::ElectronDensity::dCCdxs_cen
private

Referenced by set_nres().

utility::vector1< utility::vector1< numeric::xyzVector< core::Real > > > core::scoring::electron_density::ElectronDensity::dCCdxs_pat
private

Referenced by set_nres().

utility::vector1< utility::vector1< numeric::xyzVector< core::Real > > > core::scoring::electron_density::ElectronDensity::dCCdxs_res
private

Referenced by set_nres().

core::Real core::scoring::electron_density::ElectronDensity::dens_max
private

Referenced by getMax().

core::Real core::scoring::electron_density::ElectronDensity::dens_mean
private

Referenced by getMean().

core::Real core::scoring::electron_density::ElectronDensity::dens_min
private

Referenced by getMin().

core::Real core::scoring::electron_density::ElectronDensity::dens_stdev
private

Referenced by getStdev().

ObjexxFCL::FArray3D< float > core::scoring::electron_density::ElectronDensity::density
private

Referenced by data(), and ElectronDensity().

bool core::scoring::electron_density::ElectronDensity::DensScoreInMinimizer
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::efforigin
private
bool core::scoring::electron_density::ElectronDensity::ExactDerivatives
private
utility::vector1<core::Real> core::scoring::electron_density::ElectronDensity::F2
private
numeric::xyzMatrix<core::Real> core::scoring::electron_density::ElectronDensity::f2c
private

CRYSTAL INFO.

Referenced by frac2cart(), idx2cart(), and idxoffset2cart().

ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::F_s2
private
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::fastdens_dscoredx
private
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::fastdens_dscoredy
private
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::fastdens_dscoredz
private
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::fastdens_score
private
numeric::xyzVector< int > core::scoring::electron_density::ElectronDensity::fastgrid
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::fastorigin
private
ObjexxFCL::FArray3D< std::complex<double> > core::scoring::electron_density::ElectronDensity::Fdensity
private
std::map< int , ObjexxFCL::FArray3D< std::complex<double> > > core::scoring::electron_density::ElectronDensity::Fdrhoc_dx
private
std::map< int , ObjexxFCL::FArray3D< std::complex<double> > > core::scoring::electron_density::ElectronDensity::Fdrhoc_dy
private
std::map< int , ObjexxFCL::FArray3D< std::complex<double> > > core::scoring::electron_density::ElectronDensity::Fdrhoc_dz
private
core::Real core::scoring::electron_density::ElectronDensity::force_apix_
private
ObjexxFCL::FArray3D< std::complex<double> > core::scoring::electron_density::ElectronDensity::Frho_calc
private
numeric::xyzVector< int > core::scoring::electron_density::ElectronDensity::grid
private
core::Real core::scoring::electron_density::ElectronDensity::hires_cut
private
bool core::scoring::electron_density::ElectronDensity::isLoaded
private

Referenced by ElectronDensity(), and isMapLoaded().

core::Real core::scoring::electron_density::ElectronDensity::lowres_cut
private
core::Real core::scoring::electron_density::ElectronDensity::max_del_grid
private
numeric::xyzVector<core::Size> core::scoring::electron_density::ElectronDensity::MINMULT
private
core::Real core::scoring::electron_density::ElectronDensity::NUM_DERIV_H
private

Referenced by getNumDerivH().

core::Real core::scoring::electron_density::ElectronDensity::NUM_DERIV_H_CEN
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::origin
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::p_CoM
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::p_extent
private
numeric::xyzVector< core::Size > core::scoring::electron_density::ElectronDensity::p_grid
private
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::p_o
private
numeric::xyzVector< core::Real > core::scoring::electron_density::ElectronDensity::p_origin
private
core::Real core::scoring::electron_density::ElectronDensity::p_sumC
private
core::Real core::scoring::electron_density::ElectronDensity::p_sumC2
private
core::Real core::scoring::electron_density::ElectronDensity::p_sumCO
private
core::Real core::scoring::electron_density::ElectronDensity::p_sumO
private
core::Real core::scoring::electron_density::ElectronDensity::p_sumO2
private
core::Real core::scoring::electron_density::ElectronDensity::p_vol
private
core::Real core::scoring::electron_density::ElectronDensity::PattersonB
private
ObjexxFCL::FArray3D< float > core::scoring::electron_density::ElectronDensity::PattersonEpsilon
private
core::Real core::scoring::electron_density::ElectronDensity::PattersonMaxR
private
core::Real core::scoring::electron_density::ElectronDensity::PattersonMinR
private
ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::Pcalc
private
double core::scoring::electron_density::ElectronDensity::po_bar
private
numeric::xyzVector<float> core::scoring::electron_density::ElectronDensity::RcellDimensions
private

Referenced by S2().

bool core::scoring::electron_density::ElectronDensity::remap_symm_
private
core::Real core::scoring::electron_density::ElectronDensity::reso
private

Referenced by getResolution().

ObjexxFCL::FArray3D< double > core::scoring::electron_density::ElectronDensity::rho_calc
private

TONS OF CACHED STUFF.

utility::vector1< utility::vector1< OneGaussianScattering > > core::scoring::electron_density::ElectronDensity::rho_calc_as
private
utility::vector1< utility::vector1< numeric::xyzVector< core::Real > > > core::scoring::electron_density::ElectronDensity::rho_calc_atms
private
core::Real core::scoring::electron_density::ElectronDensity::rho_calc_sum
private
core::Real core::scoring::electron_density::ElectronDensity::RV
private
bool core::scoring::electron_density::ElectronDensity::score_window_context_
private
std::map< core::Size, bool > core::scoring::electron_density::ElectronDensity::scoring_mask_
private

Referenced by clearMask(), and maskResidues().

utility::vector1< ObjexxFCL::FArray3D< core::Size > > core::scoring::electron_density::ElectronDensity::symm_ptrs
private
std::map< int , std::pair< utility::vector1<int> , numeric::xyzMatrix<core::Real> > > core::scoring::electron_density::ElectronDensity::symmap
private

SYMMETRY (Rosetta's symmetry, not necessarily crystal symmetry)

Referenced by get_R(), get_symmMap(), and set_nres().

utility::vector1< core::kinematics::RT > core::scoring::electron_density::ElectronDensity::symmOps
private

Referenced by getsymmOps().

utility::vector1< numeric::xyzMatrix<core::Real> > core::scoring::electron_density::ElectronDensity::symmRotOps
private
core::Real core::scoring::electron_density::ElectronDensity::V
private
core::Size core::scoring::electron_density::ElectronDensity::WINDOW_
private

Referenced by getWindow(), and setWindow().


The documentation for this class was generated from the following files: