Rosetta
|
#include <SHT.hh>
Public Member Functions | |
SHT () | |
Constructor. More... | |
SHT (int B, int nR) | |
Construct with a given bandwidth, # of radial shells. More... | |
~SHT () | |
Destructor. More... | |
void | init (int B, int nR) |
Initialize with a given bandwidth, # of radial shells. More... | |
void | sharm_transform (ObjexxFCL::FArray3D< double > const &sigR, ObjexxFCL::FArray3D< double > &sigCoefR, ObjexxFCL::FArray3D< double > &sigCoefI) |
Take spherical harmonic transform of 'sigR', result in 'sigCoefR' and 'sigCoefI'. More... | |
void | sharm_invTransform (ObjexxFCL::FArray3D< double > &sigR, ObjexxFCL::FArray3D< double > &sigCoefR, ObjexxFCL::FArray3D< double > &sigCoefI) |
Take inverse spherical harmonic transform of 'sigCoefR' and 'sigCoefI', result in 'sigR'. More... | |
void | sph_standardize (ObjexxFCL::FArray3D< double > &sigCoefR, ObjexxFCL::FArray3D< double > &sigCoefI) |
Standardize coefficients 'sigCoefR' and 'sigCoefI'. More... | |
void | so3_correlate (ObjexxFCL::FArray3D< double > &so3_correlation, ObjexxFCL::FArray3D< double > &sigCoefR, ObjexxFCL::FArray3D< double > &sigCoefI, ObjexxFCL::FArray3D< double > &tmpCoefR, ObjexxFCL::FArray3D< double > &tmpCoefI) |
Correlate two signals ('sigCoef' and 'tmpCoef') as a function of rotation of 'tmpCoef', result in 'so3_correlation'. More... | |
void | idx_to_rot (int maxloc, numeric::xyzMatrix< double > &thisRot) |
Convert an index from 'so3_correlation' into a rotation matrix. More... | |
void | idx_to_euler (int maxloc, numeric::xyzVector< double > &eulerAngles) |
Convert an index from 'so3_correlation' into Euler angles alpha, beta, gamma. More... | |
Private Member Functions | |
void | so3CombineCoef (utility::vector0< double > &sigCoefR, utility::vector0< double > &sigCoefI, utility::vector0< double > &tmpCoefR, utility::vector0< double > &tmpCoefI, ObjexxFCL::FArray3D< std::complex< double > > &so3Coef) |
void | inverseSo3 (ObjexxFCL::FArray3D< std::complex< double > > &so3Coef, ObjexxFCL::FArray3D< std::complex< double > > &conv) |
void | forwardS2 (utility::vector0< double > &rdata, utility::vector0< double > &rcoeffs, utility::vector0< double > &icoeffs) |
void | inverseS2 (utility::vector0< double > &rcoeffs, utility::vector0< double > &icoeffs, utility::vector0< double > &rdata) |
void | setup_Pmls () |
void | setup_Wig () |
void | setup_Weights () |
numeric::fourier::SHT::SHT | ( | ) |
numeric::fourier::SHT::SHT | ( | int | B, |
int | nR | ||
) |
numeric::fourier::SHT::~SHT | ( | ) |
|
private |
References bw, dctPlan, fftPlan, create_a3b_hbs::i, create_a3b_hbs::j, numeric::fourier::kiss_fft_split(), numeric::fourier::SO3coeffs::Legendre(), numeric::fourier::SO3coeffs::lm_index(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::m, N, numeric::constants::d::pi, precompute_pml_, spectral_cluster_kmeans_adaptive_kernel_density_bb_dependent_rotlib::scale, so3_, basic::options::OptionKeys::hotspot::target, and weights_.
Referenced by sharm_transform().
void numeric::fourier::SHT::idx_to_euler | ( | int | maxloc, |
numeric::xyzVector< double > & | eulerAngles | ||
) |
Convert an index from 'so3_correlation' into Euler angles alpha, beta, gamma.
References bw, create_a3b_hbs::ii, beta_nonlocal::jj, kk, and numeric::constants::d::pi.
void numeric::fourier::SHT::idx_to_rot | ( | int | maxloc, |
numeric::xyzMatrix< double > & | thisRot | ||
) |
Convert an index from 'so3_correlation' into a rotation matrix.
References a, compute_difference::b, bw, g(), numeric::xyzMatrix< T >::identity(), create_a3b_hbs::ii, beta_nonlocal::jj, kk, and numeric::constants::d::pi.
void numeric::fourier::SHT::init | ( | int | B, |
int | nR | ||
) |
Initialize with a given bandwidth, # of radial shells.
References bw, CREATE_EXCEPTION, dctPlan, fftPlan, idctPlan, ifftPlan, numeric::fourier::SO3coeffs::init(), nRsteps, p1, precompute_pml_, precompute_pml_trans_, precompute_wig_trans_, setup_Pmls(), setup_Weights(), setup_Wig(), and so3_.
Referenced by sharm_invTransform(), sharm_transform(), SHT(), and so3_correlate().
|
private |
References bw, create_a3b_hbs::i, idctPlan, ifftPlan, numeric::fourier::SO3coeffs::InvLegendre(), numeric::fourier::kiss_fft_split(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::m, N, numeric::constants::d::pi, precompute_pml_trans_, basic::options::OptionKeys::out::path::scratch, and so3_.
Referenced by sharm_invTransform().
|
private |
References bw, numeric::fourier::SO3coeffs::coefLoc(), create_a3b_hbs::i, create_a3b_hbs::j, numeric::fourier::kiss_fft(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::n, p1, numeric::constants::d::pi, precompute_wig_trans_, basic::options::OptionKeys::james::real, numeric::fourier::SO3coeffs::sampLoc(), basic::options::OptionKeys::out::path::scratch, so3_, numeric::fourier::transpose_so3(), numeric::fourier::SO3coeffs::wignerSynthesis(), numeric::fourier::SO3coeffs::wignerSynthesisDiffSign(), and numeric::fourier::SO3coeffs::wignerSynthesisSameSign().
Referenced by so3_correlate().
|
private |
References bw, C, create_a3b_hbs::i, create_a3b_hbs::j, create_a3b_hbs::k, numeric::fourier::kiss_dct(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::m, kmeans_adaptive_kernel_density_bb_dependent_rotlib::p, numeric::constants::d::pi, ObjexxFCL::pow(), precompute_pml_, precompute_pml_trans_, dummy-distribution::row, subloop_histogram::size, so3_, basic::options::OptionKeys::dump_trajectory::stride, and numeric::fourier::SO3coeffs::transposeRowSize().
Referenced by init().
|
private |
References bw, create_a3b_hbs::j, create_a3b_hbs::k, numeric::constants::d::pi, spectral_cluster_kmeans_adaptive_kernel_density_bb_dependent_rotlib::scale, and weights_.
Referenced by init().
|
private |
References bw, numeric::fourier::SO3coeffs::genWigner_ds(), create_a3b_hbs::i, N, numeric::constants::d::pi, precompute_wig_trans_, and so3_.
Referenced by init().
void numeric::fourier::SHT::sharm_invTransform | ( | ObjexxFCL::FArray3D< double > & | sigR, |
ObjexxFCL::FArray3D< double > & | sigCoefR, | ||
ObjexxFCL::FArray3D< double > & | sigCoefI | ||
) |
Take inverse spherical harmonic transform of 'sigCoefR' and 'sigCoefI', result in 'sigR'.
References bw, ObjexxFCL::FArray3D< T >::dimension(), create_a3b_hbs::i, init(), inverseS2(), nRsteps, docking::R, ObjexxFCL::FArray3D< T >::u2(), and ObjexxFCL::FArray3D< T >::u3().
void numeric::fourier::SHT::sharm_transform | ( | ObjexxFCL::FArray3D< double > const & | sigR, |
ObjexxFCL::FArray3D< double > & | sigCoefR, | ||
ObjexxFCL::FArray3D< double > & | sigCoefI | ||
) |
Take spherical harmonic transform of 'sigR', result in 'sigCoefR' and 'sigCoefI'.
References bw, ObjexxFCL::FArray3D< T >::dimension(), forwardS2(), create_a3b_hbs::i, init(), nRsteps, docking::R, ObjexxFCL::FArray3D< T >::u2(), and ObjexxFCL::FArray3D< T >::u3().
void numeric::fourier::SHT::so3_correlate | ( | ObjexxFCL::FArray3D< double > & | so3_correlation, |
ObjexxFCL::FArray3D< double > & | sigCoefR, | ||
ObjexxFCL::FArray3D< double > & | sigCoefI, | ||
ObjexxFCL::FArray3D< double > & | tmpCoefR, | ||
ObjexxFCL::FArray3D< double > & | tmpCoefI | ||
) |
Correlate two signals ('sigCoef' and 'tmpCoef') as a function of rotation of 'tmpCoef', result in 'so3_correlation'.
References bw, ObjexxFCL::FArray3D< T >::dimension(), create_a3b_hbs::i, init(), inverseSo3(), nRsteps, docking::R, so3CombineCoef(), numeric::square(), ObjexxFCL::FArray3D< T >::u2(), and ObjexxFCL::FArray3D< T >::u3().
|
private |
References ObjexxFCL::abs(), bw, create_a3b_hbs::i, create_a3b_hbs::k, extract_by_sidechain_sasa_score::l, numeric::fourier::SO3coeffs::lm_index(), max(), numeric::constants::d::pi, and so3_.
Referenced by so3_correlate().
void numeric::fourier::SHT::sph_standardize | ( | ObjexxFCL::FArray3D< double > & | sigCoefR, |
ObjexxFCL::FArray3D< double > & | sigCoefI | ||
) |
Standardize coefficients 'sigCoefR' and 'sigCoefI'.
References create_a3b_hbs::i, create_a3b_hbs::j, numeric::constants::d::pi, docking::R, docking::s, basic::options::OptionKeys::stepwise::s2, numeric::square(), ObjexxFCL::FArray3D< T >::u2(), ObjexxFCL::FArray3D< T >::u3(), and orn_macrocycle::wt.
|
private |
Referenced by forwardS2(), idx_to_euler(), idx_to_rot(), init(), inverseS2(), inverseSo3(), setup_Pmls(), setup_Weights(), setup_Wig(), sharm_invTransform(), sharm_transform(), SHT(), so3_correlate(), and so3CombineCoef().
|
private |
Referenced by forwardS2(), init(), SHT(), and ~SHT().
|
private |
Referenced by forwardS2(), init(), SHT(), and ~SHT().
|
private |
Referenced by init(), inverseS2(), SHT(), and ~SHT().
|
private |
Referenced by init(), inverseS2(), SHT(), and ~SHT().
|
private |
Referenced by init(), sharm_invTransform(), sharm_transform(), SHT(), and so3_correlate().
|
private |
Referenced by init(), inverseSo3(), SHT(), and ~SHT().
|
private |
Referenced by forwardS2(), init(), and setup_Pmls().
|
private |
Referenced by init(), inverseS2(), and setup_Pmls().
|
private |
Referenced by init(), inverseSo3(), and setup_Wig().
|
private |
Referenced by forwardS2(), init(), inverseS2(), inverseSo3(), setup_Pmls(), setup_Wig(), and so3CombineCoef().
|
private |
Referenced by forwardS2(), and setup_Weights().