![]() |
Rosetta
2021.16
|
#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 | ( | ) |
|
private |
References bw, dctPlan, fftPlan, test.T150_PyMOL_Integration::i, basic::options::OptionKeys::frags::j, numeric::fourier::kiss_fft_split(), numeric::fourier::SO3coeffs::Legendre(), numeric::fourier::SO3coeffs::lm_index(), test.T110_numeric::m, numeric::constants::d::pi, precompute_pml_, 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, test.T200_Scoring::ii, 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 bw, numeric::xyzMatrix< typename >::identity(), test.T200_Scoring::ii, and numeric::constants::d::pi.
Initialize with a given bandwidth, # of radial shells.
References bw, utility::io::oc::cerr, dctPlan, utility::options::OptionKeys::options::exit, 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, test.T150_PyMOL_Integration::i, idctPlan, ifftPlan, numeric::fourier::SO3coeffs::InvLegendre(), numeric::fourier::kiss_fft_split(), test.T110_numeric::m, 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(), ObjexxFCL::FArray3D< typename >::dimension(), test.T150_PyMOL_Integration::i, basic::options::OptionKeys::frags::j, numeric::fourier::kiss_fft(), p1, numeric::constants::d::pi, precompute_wig_trans_, 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, test.T150_PyMOL_Integration::i, basic::options::OptionKeys::frags::j, numeric::fourier::kiss_dct(), test.T110_numeric::m, basic::options::OptionKeys::score::fiber_diffraction::p, numeric::constants::d::pi, ObjexxFCL::pow(), precompute_pml_, precompute_pml_trans_, amino_acids::size, so3_, basic::options::OptionKeys::dump_trajectory::stride, and numeric::fourier::SO3coeffs::transposeRowSize().
Referenced by init().
|
private |
References bw, basic::options::OptionKeys::frags::j, numeric::constants::d::pi, and weights_.
Referenced by init().
|
private |
References bw, numeric::fourier::SO3coeffs::genWigner_ds(), test.T150_PyMOL_Integration::i, 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< typename >::dimension(), test.T150_PyMOL_Integration::i, init(), inverseS2(), nRsteps, ObjexxFCL::FArray3D< typename >::u2(), and ObjexxFCL::FArray3D< typename >::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< typename >::dimension(), forwardS2(), test.T150_PyMOL_Integration::i, init(), nRsteps, ObjexxFCL::FArray3D< typename >::u2(), and ObjexxFCL::FArray3D< typename >::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< typename >::dimension(), test.T150_PyMOL_Integration::i, init(), inverseSo3(), nRsteps, so3CombineCoef(), numeric::square(), ObjexxFCL::FArray3D< typename >::u2(), and ObjexxFCL::FArray3D< typename >::u3().
|
private |
| void numeric::fourier::SHT::sph_standardize | ( | ObjexxFCL::FArray3D< double > & | sigCoefR, |
| ObjexxFCL::FArray3D< double > & | sigCoefI | ||
| ) |
Standardize coefficients 'sigCoefR' and 'sigCoefI'.
References test.T150_PyMOL_Integration::i, basic::options::OptionKeys::frags::j, numeric::constants::d::pi, basic::options::OptionKeys::in::file::s, basic::options::OptionKeys::stepwise::s2, numeric::square(), ObjexxFCL::FArray3D< typename >::u2(), ObjexxFCL::FArray3D< typename >::u3(), and revert_app::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().
1.8.7