ensembler.tests package¶
Submodules¶
ensembler.tests.test_analysis module¶
-
class
ensembler.tests.test_analysis.
test_BAR
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_analysis.test_ZwanzigEquation
-
feCalculation
¶ alias of
ensembler.analysis.freeEnergyCalculation.bennetAcceptanceRatio
-
-
class
ensembler.tests.test_analysis.
test_ZwanzigEquation
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
feCalculation
¶ alias of
ensembler.analysis.freeEnergyCalculation.zwanzigEquation
-
-
class
ensembler.tests.test_analysis.
test_threeStateZwanzigReweighting
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_analysis.test_ZwanzigEquation
-
feCalculation
¶ alias of
ensembler.analysis.freeEnergyCalculation.threeStateZwanzig
-
ensembler.tests.test_conditions module¶
-
class
ensembler.tests.test_conditions.
boxBoundaryCondition
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
boundary1D
= [0, 10]¶
-
boundary2D
= [[0, 10], [0, 10]]¶
-
condition_class
¶ alias of
ensembler.conditions.box_conditions.boxBoundaryCondition
-
tmp_test_dir
: str = None¶
-
-
class
ensembler.tests.test_conditions.
periodicBoundaryCondition
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
boundary1D
= [0, 10]¶
-
boundary2D
= [[0, 10], [0, 10]]¶
-
condition_class
¶ alias of
ensembler.conditions.box_conditions.periodicBoundaryCondition
-
tmp_test_dir
= None¶
-
-
class
ensembler.tests.test_conditions.
positionRestraintCondition
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
condition_class
¶ alias of
ensembler.conditions.restrain_conditions.positionRestraintCondition
-
tmp_test_dir
= None¶
-
ensembler.tests.test_conveyorBelt module¶
-
class
ensembler.tests.test_conveyorBelt.
testEnsemble
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
convBelt
¶ alias of
ensembler.ensemble.replicas_dynamic_parameters.conveyorBelt
-
ensembler.tests.test_ensemble module¶
-
class
ensembler.tests.test_ensemble.
test_ReplicaExchangeCls
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
RE
¶ alias of
ensembler.ensemble._replica_graph._replicaExchange
-
integrator
= <ensembler.samplers.stochastic.metropolisMonteCarloIntegrator object>¶
-
potential
= <ensembler.potentials.OneD.harmonicOscillatorPotential object>¶
-
sys
= <ensembler.system.basic_system.system object>¶
-
ensembler.tests.test_ensembler module¶
Unit and regression test for the ensembler package.
ensembler.tests.test_potentials module¶
-
class
ensembler.tests.test_potentials.
potentialCls_2D_harmonicOscillatorPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶ alias of
ensembler.potentials.TwoD.harmonicOscillatorPotential
-
-
class
ensembler.tests.test_potentials.
potentialCls_2D_sumPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_2D_torsionPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_2D_wavePotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_ND_harmonicOscillatorPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶ alias of
ensembler.potentials.ND.harmonicOscillatorPotential
-
-
class
ensembler.tests.test_potentials.
potentialCls_ND_sumPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_addedPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_addedPotentials2D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_coulombPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_doubleWellPot1D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_flatwell
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_fourWellPot1D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_gaussPotential1D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_harmonicOsc1D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶ alias of
ensembler.potentials.OneD.harmonicOscillatorPotential
-
-
class
ensembler.tests.test_potentials.
potentialCls_lennardJonesForceFieldPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶ alias of
ensembler.potentials.OneD.lennardJonesForceFieldPotential
-
-
class
ensembler.tests.test_potentials.
potentialCls_lennardJonesPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_metadynamics
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_metadynamics2D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_perturbedLinearCoupledPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_perturbed_envelopedPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_perturbed_exponentialCoupledPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶ alias of
ensembler.potentials.OneD.exponentialCoupledPotentials
-
-
class
ensembler.tests.test_potentials.
potentialCls_perturbed_hybridCoupledPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_perturbed_lambdaEnvelopedPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_sumPotentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
a
= <ensembler.potentials.OneD.harmonicOscillatorPotential object>¶
-
b
= <ensembler.potentials.OneD.harmonicOscillatorPotential object>¶
-
c
= <ensembler.potentials.OneD.harmonicOscillatorPotential object>¶
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_torsionPotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialCls_wavePotential
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_potentials.test_potentialCls
-
potential_class
¶
-
-
class
ensembler.tests.test_potentials.
potentialNDCls
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
ensembler.tests.test_sampler module¶
-
class
ensembler.tests.test_sampler.
standard_IntegratorTests
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
integrator_class
¶ alias of
ensembler.samplers._basicSamplers._samplerCls
-
tmp_test_dir
: str = None¶
-
-
class
ensembler.tests.test_sampler.
test_LangevinVelocity_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶ alias of
ensembler.samplers.stochastic.langevinVelocityIntegrator
-
-
class
ensembler.tests.test_sampler.
test_Langevin_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶
-
-
class
ensembler.tests.test_sampler.
test_MetropolisMonteCarlo_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶ alias of
ensembler.samplers.stochastic.metropolisMonteCarloIntegrator
-
-
class
ensembler.tests.test_sampler.
test_MonteCarlo_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶ alias of
ensembler.samplers.stochastic.metropolisMonteCarloIntegrator
-
-
class
ensembler.tests.test_sampler.
test_cg_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶
-
-
class
ensembler.tests.test_sampler.
test_leapFrogIntegrator_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶
-
-
class
ensembler.tests.test_sampler.
test_positionVerletIntegrator_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶ alias of
ensembler.samplers.newtonian.positionVerletIntegrator
-
-
class
ensembler.tests.test_sampler.
test_verlocityVerletIntegrator_Integrator
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_sampler.standard_IntegratorTests
-
integrator_class
¶ alias of
ensembler.samplers.newtonian.velocityVerletIntegrator
-
ensembler.tests.test_system module¶
-
class
ensembler.tests.test_system.
test_System
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
system_class
¶ alias of
ensembler.system.basic_system.system
-
test_system_constructor_detail
()[source]¶ uses init_state, updateEne, randomPos, self.state :return:
-
tmp_test_dir
: str = None¶
-
-
class
ensembler.tests.test_system.
test_edsSystem1D
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_system.test_System
-
system_class
¶
-
test_system_constructor_detail
()[source]¶ uses init_state, updateEne, randomPos, self.state :return:
-
tmp_test_dir
: str = None¶
-
ensembler.tests.test_visualization module¶
-
class
ensembler.tests.test_visualization.
test_Visualization
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
class
ensembler.tests.test_visualization.
test_interactive_widgets
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_visualization.test_Visualization
-
class
ensembler.tests.test_visualization.
test_plot_Animations
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_visualization.test_Visualization
-
class
ensembler.tests.test_visualization.
test_plot_ConveyorBelt
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_visualization.test_Visualization
-
class
ensembler.tests.test_visualization.
test_plot_Potentials
(methodName='runTest')[source]¶ Bases:
ensembler.tests.test_visualization.test_Visualization
Module contents¶
Test suite, containing automatic tests.