proteindf_tools package¶
- class proteindf_tools.Basis2(basis2_path='')[ソース]¶
ベースクラス:
objectread ProteinDF basis2 file
>>> bs2 = Basis2("data/basis2.sample") >>> print(bs2.get_basis2()) O-CARBON (621/41) by FS 3 2 0 0 0 0 0 0 0 0 0 6 2.808064e+03 2.017830e-03 4.211383e+02 1.543320e-02 9.558662e+01 7.558155e-02 2.673900e+01 2.478282e-01 8.432827e+00 4.793725e-01 2.760582e+00 3.338344e-01 2 5.447004e+00 -7.784077e-02 4.792422e-01 5.689560e-01 1 1.461565e-01 1.000000e+00 4 1.813085e+01 1.585473e-02 4.099883e+00 9.568277e-02 1.185837e+00 3.049119e-01 3.685974e-01 4.935017e-01 1 1.097200e-01 1.000000e+00 A-CARBON (7/2;7/2) by FS 7 2 0 0 0 0 0 0 0 0 0 1 3.467611e+02 1.000000e+00 1 7.966888e+01 1.000000e+00 1 2.201073e+01 1.000000e+00 1 6.473901e+00 1.000000e+00 1 2.508147e+00 1.000000e+00 1 7.781041e-01 1.000000e+00 1 2.288027e-01 1.000000e+00 1 2.508147e+00 1.000000e+00 1 2.288027e-01 1.000000e+00 A-CARBON (7/2;7/2) by FS 7 2 0 0 0 0 0 0 0 0 0 1 1.160000e+02 1.000000e+00 1 2.655629e+01 1.000000e+00 1 7.336909e+00 1.000000e+00 1 2.157967e+00 1.000000e+00 1 8.360489e-01 1.000000e+00 1 2.593680e-01 1.000000e+00 1 7.626760e-02 1.000000e+00 1 8.360489e-01 1.000000e+00 1 7.626760e-02 1.000000e+00
- class proteindf_tools.BasisSet(*args, **kwargs)[ソース]¶
ベースクラス:
list>>> bs = BasisSet('sample', 3) >>> bs.name 'sample' >>> len(bs) 3 >>> bs[0] = ContractedGTO('p', 3) >>> bs[0][0] = PrimitiveGTO(2.80806400E+03, 2.01783000E-03) >>> bs[0][1] = PrimitiveGTO(4.21138300E+02, 1.54332000E-02) >>> bs[0][2] = PrimitiveGTO(9.55866200E+01, 7.55815500E-02)
- property max_shell_type¶
- property max_shell_type_id¶
- property name¶
- sort()[ソース]¶
Sort the list in ascending order and return None.
The sort is in-place (i.e. the list itself is modified) and stable (i.e. the order of two equal elements is maintained).
If a key function is given, apply it once to each list item and sort them, ascending or descending, according to their function values.
The reverse flag can be set to sort in descending order.
- class proteindf_tools.ContractedGTO(*args, **kwargs)[ソース]¶
ベースクラス:
list>>> cgto = ContractedGTO('p', 3) >>> cgto[0] = PrimitiveGTO(2.80806400E+03, 2.01783000E-03) >>> cgto[1] = PrimitiveGTO(4.21138300E+02, 1.54332000E-02) >>> cgto[2] = PrimitiveGTO(9.55866200E+01, 7.55815500E-02) >>> cgto.shell_type 'p' >>> len(cgto) 3
- classmethod get_basis_type(shell_type_id, basis_id)[ソース]¶
軌道種類の文字列を返す shell_type_id=0, basis_id=0: s shell_type_id=1, basis_id=0: px shell_type_id=1, basis_id=1: py shell_type_id=1, basis_id=2: pz shell_type_id=2, basis_id=0: dxy shell_type_id=2, basis_id=1: dyz shell_type_id=2, basis_id=2: dzx shell_type_id=2, basis_id=3: dxx-yy shell_type_id=2, basis_id=4: dzz
- property scale_factor¶
- property shell_type¶
- property shell_type_id¶
- class proteindf_tools.GaussianParam[ソース]¶
ベースクラス:
QmSimGaussianの計算条件を設定する
- property basisset¶
- property charge¶
- property ext_basisset¶
- property jobtype¶
- property title¶
- class proteindf_tools.PdfParam(rhs=None)[ソース]¶
ベースクラス:
PdfParamObject
- class proteindf_tools.PdfSim(*args, **kwargs)[ソース]¶
ベースクラス:
object- sp(pdfparam, *args, **kwargs)[ソース]¶
calc single-point
Keyword arguments: pdfparam --- PdfParam object represented the calculation condition. workdir --- working directory. db_path --- ProteinDF ArchiveDB path (default: pdfresults.db) dry_run --- if True, the calculation is NOT carried out. Default is False.
Returns: tuple of the number of iterations and the total energy.
- class proteindf_tools.PrimitiveGTO(*args, **kwargs)[ソース]¶
ベースクラス:
object>>> pgto = PrimitiveGTO(2.80806400E+03, 2.01783000E-03) >>> math.fabs(pgto.exp - 2.80806400E+03) < 1.0E-15 True >>> math.fabs(pgto.coef - 2.01783000E-03) < 1.0E-15 True
- property coef¶
- property exp¶
Submodules¶
- proteindf_tools.basis2 module
- proteindf_tools.basisset module
BasisSetContractedGTOContractedGTO.expand()ContractedGTO.get_basis_type()ContractedGTO.get_raw_data()ContractedGTO.get_shell_type()ContractedGTO.get_shell_type_id()ContractedGTO.get_supported_shell_types()ContractedGTO.normalize()ContractedGTO.scale_factorContractedGTO.set_by_raw_data()ContractedGTO.shell_typeContractedGTO.shell_type_id
PrimitiveGTO
- proteindf_tools.basisset_parser module
- proteindf_tools.constants module
- proteindf_tools.functions module
- proteindf_tools.gauparam module
- proteindf_tools.matrix module
- proteindf_tools.orbinfo module
- proteindf_tools.pdfarchive_object module
- proteindf_tools.pdfarchive_sqlite3 module
PdfArchive_Sqlite3PdfArchive_Sqlite3.compare_energy()PdfArchive_Sqlite3.compare_grad()PdfArchive_Sqlite3.compare_info()PdfArchive_Sqlite3.compare_pop()PdfArchive_Sqlite3.get_HOMO_level()PdfArchive_Sqlite3.get_basisset()PdfArchive_Sqlite3.get_basisset_name()PdfArchive_Sqlite3.get_energylevel()PdfArchive_Sqlite3.get_gradient()PdfArchive_Sqlite3.get_gradient_rms()PdfArchive_Sqlite3.get_molecule()PdfArchive_Sqlite3.get_occupations()PdfArchive_Sqlite3.get_population()PdfArchive_Sqlite3.get_total_energy()PdfArchive_Sqlite3.iterationsPdfArchive_Sqlite3.methodPdfArchive_Sqlite3.num_of_AOsPdfArchive_Sqlite3.num_of_MOsPdfArchive_Sqlite3.num_of_atomsPdfArchive_Sqlite3.pdf_idPdfArchive_Sqlite3.scf_convergedPdfArchive_Sqlite3.set_energylevel()PdfArchive_Sqlite3.set_lcao()PdfArchive_Sqlite3.set_occupations()PdfArchive_Sqlite3.set_population()
- proteindf_tools.pdfcommon module
- proteindf_tools.pdfgraph module
BarGraphDfDistanceVsElementGraphDfDosGraphDfEnergyLevelHistoryGraphHDfEnergyLevelHistoryGraphVDfEnergyLevelTraceGraphDfGraphDfGvalsGraphDfLineChartDfMatrixGraphDfPopulationGraphDfTotalEnergyHistGraphDfVectorGraphEnergyLevelChartGraphGraphConvergenceCheckGraphEnergyLevelHistoryGraphEnergyLevelSingleGraphTotalEnergyHistoryLineChartMidpointLogNormMidpointNormalize
- proteindf_tools.pdfmath module
- proteindf_tools.pdfparam module
- proteindf_tools.pdfparam_hdf5 module
PdfParam_H5PdfParam_H5.filepathPdfParam_H5.get_HOMO_level()PdfParam_H5.get_TEs()PdfParam_H5.get_c_matrix()PdfParam_H5.get_density_matrix()PdfParam_H5.get_energy_level()PdfParam_H5.get_f_matrix()PdfParam_H5.get_h2_matrix()PdfParam_H5.get_h_matrix()PdfParam_H5.get_occ_vector()PdfParam_H5.get_pop_mulliken_atom()PdfParam_H5.get_s_matrix()PdfParam_H5.load_model()PdfParam_H5.open()PdfParam_H5.save_TEs()PdfParam_H5.save_basic()PdfParam_H5.save_c_matrix()PdfParam_H5.save_debug()PdfParam_H5.save_density_matrix()PdfParam_H5.save_energy_level()PdfParam_H5.save_f_matrix()PdfParam_H5.save_full()PdfParam_H5.save_h2_matrix()PdfParam_H5.save_h_matrix()PdfParam_H5.save_model()PdfParam_H5.save_occ()PdfParam_H5.save_s_matrix()PdfParam_H5.save_standard()
- proteindf_tools.pdfparam_object module
PdfParamObjectPdfParamObject.CDAM_tauPdfParamObject.CD_epsilonPdfParamObject.TEsPdfParamObject.commentPdfParamObject.compare_energy()PdfParamObject.compare_grad()PdfParamObject.compare_info()PdfParamObject.compare_pop()PdfParamObject.convergence_thresholdPdfParamObject.convergence_threshold_energyPdfParamObject.convergence_typePdfParamObject.counterpoisePdfParamObject.cut_valuePdfParamObject.digest()PdfParamObject.extra_keywordsPdfParamObject.find_atom_index()PdfParamObject.get_basisset()PdfParamObject.get_basisset_atomlabels()PdfParamObject.get_basisset_gridfree()PdfParamObject.get_basisset_gridfree_atomlabels()PdfParamObject.get_basisset_gridfree_name()PdfParamObject.get_basisset_j()PdfParamObject.get_basisset_j_atomlabels()PdfParamObject.get_basisset_j_name()PdfParamObject.get_basisset_name()PdfParamObject.get_basisset_xc()PdfParamObject.get_basisset_xc_atomlabels()PdfParamObject.get_basisset_xc_name()PdfParamObject.get_c_mat_path()PdfParamObject.get_clo_mat_path()PdfParamObject.get_density_matrix_path()PdfParamObject.get_energy_level_path()PdfParamObject.get_f_mat_path()PdfParamObject.get_gradient()PdfParamObject.get_gradient_matrix_path()PdfParamObject.get_gradient_rms()PdfParamObject.get_h2_mat_path()PdfParamObject.get_h_mat_path()PdfParamObject.get_inputfile_contents()PdfParamObject.get_mulliken_atom_population()PdfParamObject.get_occ_path()PdfParamObject.get_pop_mulliken_path()PdfParamObject.get_raw_data()PdfParamObject.get_s_mat_path()PdfParamObject.get_total_energy()PdfParamObject.get_x_mat_path()PdfParamObject.get_xinv_mat_path()PdfParamObject.gridfree_CDAM_tauPdfParamObject.gridfree_CD_epsilonPdfParamObject.gridfree_dedicated_basisPdfParamObject.gridfree_orthogonalize_methodPdfParamObject.guessPdfParamObject.iterationsPdfParamObject.j_enginePdfParamObject.k_enginePdfParamObject.level_shiftPdfParamObject.level_shift_start_iterationPdfParamObject.level_shift_virtual_moPdfParamObject.lo_num_of_iterationsPdfParamObject.lo_satisfiedPdfParamObject.max_iterationsPdfParamObject.methodPdfParamObject.moleculePdfParamObject.num_of_AOsPdfParamObject.num_of_MOsPdfParamObject.num_of_atomsPdfParamObject.num_of_electronsPdfParamObject.occupation_levelPdfParamObject.orbital_independence_thresholdPdfParamObject.orbital_independence_threshold_canonicalPdfParamObject.orbital_independence_threshold_lowdinPdfParamObject.run_types()PdfParamObject.scf_accelerationPdfParamObject.scf_acceleration_anderson_damping_factorPdfParamObject.scf_acceleration_anderson_startPdfParamObject.scf_acceleration_damping_damping_factorPdfParamObject.scf_acceleration_damping_damping_typePdfParamObject.scf_convergedPdfParamObject.set_basisset()PdfParamObject.set_basisset_gridfree()PdfParamObject.set_basisset_gridfree_name()PdfParamObject.set_basisset_j()PdfParamObject.set_basisset_j_name()PdfParamObject.set_basisset_name()PdfParamObject.set_basisset_xc()PdfParamObject.set_basisset_xc_name()PdfParamObject.set_by_raw_data()PdfParamObject.set_gradient()PdfParamObject.set_mulliken_atom_population()PdfParamObject.set_total_energy()PdfParamObject.step_controlPdfParamObject.work_pathPdfParamObject.xc_enginePdfParamObject.xc_functional
- proteindf_tools.pdfsim module
- proteindf_tools.poputils module
- proteindf_tools.process module
- proteindf_tools.qmsim module
- proteindf_tools.report module
- proteindf_tools.vector module