MDANSE 2.0.0a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- MDANSE-2.0.0a1/AUTHORS +18 -0
- MDANSE-2.0.0a1/Doc/_static/custom.css +6 -0
- MDANSE-2.0.0a1/Doc/_static/mdanse_logo.png +0 -0
- MDANSE-2.0.0a1/Doc/conf_api.py +165 -0
- MDANSE-2.0.0a1/Doc/conf_help.py +155 -0
- MDANSE-2.0.0a1/Doc/figures/msd_water.eps +2013 -0
- MDANSE-2.0.0a1/Doc/mdanse_logo.png +0 -0
- MDANSE-2.0.0a1/Doc/theory_help.tex +1513 -0
- MDANSE-2.0.0a1/Extensions/atomic_trajectory.pyx +85 -0
- MDANSE-2.0.0a1/Extensions/atoms_in_shell.pyx +162 -0
- MDANSE-2.0.0a1/Extensions/change_coordinates.pyx +75 -0
- MDANSE-2.0.0a1/Extensions/com_trajectory.pyx +206 -0
- MDANSE-2.0.0a1/Extensions/contiguous_coordinates.pyx +298 -0
- MDANSE-2.0.0a1/Extensions/distance_histogram.pyx +94 -0
- MDANSE-2.0.0a1/Extensions/fast_calculation.pyx +121 -0
- MDANSE-2.0.0a1/Extensions/fold_coordinates.pyx +121 -0
- MDANSE-2.0.0a1/Extensions/mic_fast_calc.pyx +193 -0
- MDANSE-2.0.0a1/Extensions/mt_fast_calc.pyx +46 -0
- MDANSE-2.0.0a1/Extensions/sas_fast_calc.pyx +157 -0
- MDANSE-2.0.0a1/Extensions/sd_fast_calc.pyx +149 -0
- MDANSE-2.0.0a1/Extensions/xtc/include/ms_stdint.h +259 -0
- MDANSE-2.0.0a1/Extensions/xtc/include/trr_header.h +30 -0
- MDANSE-2.0.0a1/Extensions/xtc/include/xdr_seek.h +16 -0
- MDANSE-2.0.0a1/Extensions/xtc/include/xdrfile.h +632 -0
- MDANSE-2.0.0a1/Extensions/xtc/include/xdrfile_trr.h +61 -0
- MDANSE-2.0.0a1/Extensions/xtc/include/xdrfile_xtc.h +61 -0
- MDANSE-2.0.0a1/Extensions/xtc/src/xdr_seek.c +50 -0
- MDANSE-2.0.0a1/Extensions/xtc/src/xdrfile.c +2614 -0
- MDANSE-2.0.0a1/Extensions/xtc/src/xdrfile_trr.c +531 -0
- MDANSE-2.0.0a1/Extensions/xtc/src/xdrfile_xtc.c +164 -0
- MDANSE-2.0.0a1/Extensions/xtc/trr.c +27229 -0
- MDANSE-2.0.0a1/Extensions/xtc/trr.pyx +680 -0
- MDANSE-2.0.0a1/Extensions/xtc/trrlib.pxd +30 -0
- MDANSE-2.0.0a1/Extensions/xtc/xdrlib.pxd +23 -0
- MDANSE-2.0.0a1/Extensions/xtc/xtc.c +24513 -0
- MDANSE-2.0.0a1/Extensions/xtc/xtc.pyx +573 -0
- MDANSE-2.0.0a1/LICENSE +675 -0
- MDANSE-2.0.0a1/MANIFEST.in +11 -0
- MDANSE-2.0.0a1/PKG-INFO +900 -0
- MDANSE-2.0.0a1/README.md +194 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/ChemicalEntity.py +2912 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/Databases.py +897 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/Structrures.py +130 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/__init__.py +29 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/atoms.json +19272 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/molecules.json +43 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/nucleotides.json +3655 -0
- MDANSE-2.0.0a1/Src/MDANSE/Chemistry/residues.json +4636 -0
- MDANSE-2.0.0a1/Src/MDANSE/Core/Error.py +30 -0
- MDANSE-2.0.0a1/Src/MDANSE/Core/Platform.py +608 -0
- MDANSE-2.0.0a1/Src/MDANSE/Core/Singleton.py +35 -0
- MDANSE-2.0.0a1/Src/MDANSE/Core/SubclassFactory.py +203 -0
- MDANSE-2.0.0a1/Src/MDANSE/Core/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/Extensions/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomMapping/__init__.py +20 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomMapping/atom_mapping.py +183 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomSelector/__init__.py +16 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomSelector/all_selector.py +42 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomSelector/atom_selectors.py +159 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomSelector/group_selectors.py +171 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomSelector/molecule_selectors.py +46 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/AtomSelector/selector.py +290 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurable.py +345 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/ASEFileConfigurator.py +52 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/AseInputFileConfigurator.py +106 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/AtomMappingConfigurator.py +83 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/AtomSelectionConfigurator.py +135 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/AtomTransmutationConfigurator.py +143 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/AtomsListConfigurator.py +118 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/AxisSelectionConfigurator.py +88 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/BasisSelectionConfigurator.py +85 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/BooleanConfigurator.py +75 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/ConfigFileConfigurator.py +104 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/FieldFileConfigurator.py +150 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/FileWithAtomDataConfigurator.py +47 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/FloatConfigurator.py +128 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/FramesConfigurator.py +109 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/GroupingLevelConfigurator.py +175 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/HDFInputFileConfigurator.py +130 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/HDFTrajectoryConfigurator.py +91 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/IConfigurator.py +300 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/InputDirectoryConfigurator.py +56 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/InputFileConfigurator.py +89 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/InstrumentResolutionConfigurator.py +116 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/IntegerConfigurator.py +137 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/InterpolationOrderConfigurator.py +71 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/MDFileConfigurator.py +206 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/MDMCTrajectoryConfigurator.py +87 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/McStasInstrumentConfigurator.py +26 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/McStasOptionsConfigurator.py +110 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/McStasParametersConfigurator.py +126 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/MockTrajectoryConfigurator.py +90 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/MoleculeSelectionConfigurator.py +78 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/MultipleChoicesConfigurator.py +106 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/OutputDirectoryConfigurator.py +75 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/OutputFilesConfigurator.py +138 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/OutputTrajectoryConfigurator.py +132 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/PartialChargeConfigurator.py +91 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/ProjectionConfigurator.py +87 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/PythonObjectConfigurator.py +62 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/PythonScriptConfigurator.py +79 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/QVectorsConfigurator.py +117 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/RangeConfigurator.py +219 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/RunningModeConfigurator.py +86 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/SingleChoiceConfigurator.py +81 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/SingleOutputFileConfigurator.py +132 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/StringConfigurator.py +107 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/TrajectoryVariableConfigurator.py +60 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/VectorConfigurator.py +145 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/WeightsConfigurator.py +96 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/XDATCARFileConfigurator.py +172 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/XTDFileConfigurator.py +197 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/XYZFileConfigurator.py +155 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Configurators/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/ASE.py +719 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/CASTEP.py +171 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/CHARMM.py +26 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/CP2K.py +288 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/Converter.py +230 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/DCD.py +393 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/DFTB.py +67 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/DL_POLY.py +373 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/DMol.py +26 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/Discover.py +394 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/Forcite.py +420 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/Gromacs.py +201 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/ImprovedASE.py +343 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/LAMMPS.py +376 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/NAMD.py +26 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/VASP.py +165 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/XPLOR.py +26 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Converters/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/HDFFormat.py +83 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/IFormat.py +42 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/MDAFormat.py +62 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/MDTFormat.py +58 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/SVGFormat.py +109 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/TextFormat.py +156 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Formats/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Handlers/ColorizingStreamHandler.py +228 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Handlers/IHandler.py +23 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Handlers/LogfileHandler.py +61 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Handlers/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/EmptyData.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/HDFTrajectoryInputData.py +77 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/IInputData.py +76 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/InputFileData.py +76 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/MVITraceInputData.py +28 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/MockTrajectoryInputData.py +81 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/PeriodicTableInputData.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InputData/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/Gaussian.py +43 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/IInstrumentResolution.py +53 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/Ideal.py +37 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/Lorentzian.py +43 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/PseudoVoigt.py +53 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/Square.py +46 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/Triangular.py +44 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/InstrumentResolutions/__init__.py +41 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/AngularCorrelation.py +215 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/AreaPerMolecule.py +172 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/CenterOfMassesTrajectory.py +163 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/CoordinationNumber.py +203 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/CroppedTrajectory.py +129 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/CurrentCorrelationFunction.py +596 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/Density.py +154 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/DensityOfStates.py +239 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/DensityProfile.py +195 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/DipoleAutoCorrelationFunction.py +157 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/DistanceHistogram.py +213 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/DynamicCoherentStructureFactor.py +289 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/DynamicIncoherentStructureFactor.py +276 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/Eccentricity.py +296 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/ElasticIncoherentStructureFactor.py +203 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/GaussianDynamicIncoherentStructureFactor.py +262 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/GeneralAutoCorrelationFunction.py +177 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/GlobalMotionFilteredTrajectory.py +210 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/IJob.py +431 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/JobStatus.py +96 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/McStasVirtualInstrument.py +543 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/MeanSquareDisplacement.py +210 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/MolecularTrace.py +189 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/MoleculeFinder.py +180 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/NeutronDynamicTotalStructureFactor.py +457 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/OrderParameter.py +278 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/PairDistributionFunction.py +179 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/PositionAutoCorrelationFunction.py +187 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/RadiusOfGyration.py +137 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/RigidBodyTrajectory.py +275 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/RootMeanSquareDeviation.py +174 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/RootMeanSquareFluctuation.py +140 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/SolventAccessibleSurface.py +182 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/StaticStructureFactor.py +206 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/StructureFactorFromScatteringFunction.py +149 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/Temperature.py +180 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/UnfoldedTrajectory.py +131 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/VelocityAutoCorrelationFunction.py +227 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/Voronoi.py +241 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/XRayStaticStructureFactor.py +217 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Jobs/__init__.py +42 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/OutputVariables/IOutputVariable.py +117 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/OutputVariables/LineOutputVariable.py +21 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/OutputVariables/SurfaceOutputVariable.py +21 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/OutputVariables/VolumeOutputVariable.py +21 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/OutputVariables/__init__.py +41 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Projectors/AxialProjector.py +44 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Projectors/IProjector.py +40 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Projectors/NullProjector.py +25 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Projectors/PlanarProjector.py +44 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Projectors/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/ApproximateDispersionQVectors.py +93 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/CircularLatticeQVectors.py +123 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/CircularQVectors.py +88 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/DispersionLatticeQVectors.py +73 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/GridQVectors.py +97 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/IQVectors.py +50 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/LatticeQVectors.py +42 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/LinearLatticeQVectors.py +109 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/LinearQVectors.py +77 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/MillerIndicesQVectors.py +110 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/SphericalLatticeQVectors.py +110 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/SphericalQVectors.py +72 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/QVectors/__init__.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Status.py +154 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/Units.py +848 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/UserDefinitionStore.py +162 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/Framework/units.json +730 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/FortranFormat.py +325 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/HDF.py +39 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/HDF5.py +76 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/IOUtils.py +89 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/PDB.py +1473 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/PDBExportFilters.py +50 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/PDBReader.py +628 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/PDBSpaceGroups.py +4380 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/TextFile.py +150 -0
- MDANSE-2.0.0a1/Src/MDANSE/IO/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/Arithmetic.py +70 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/Geometry.py +262 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/Graph.py +104 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/LinearAlgebra.py +677 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/Signal.py +287 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/Transformation.py +580 -0
- MDANSE-2.0.0a1/Src/MDANSE/Mathematics/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/Analysis.py +174 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/Configuration.py +789 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/Connectivity.py +271 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/MockTrajectory.py +603 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/Trajectory.py +809 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/TrajectoryUtils.py +489 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/UnitCell.py +146 -0
- MDANSE-2.0.0a1/Src/MDANSE/MolecularDynamics/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Coverage/Coverage.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Coverage/TotalCoverage.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Coverage/__init__.py +48 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/IdealInstrument.py +27 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Method/NullMethod.py +23 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Method/ScatteringMethod.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Method/TOFDiffraction.py +23 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Method/__init__.py +54 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/NeutronInstrument.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Resolution/IdealResolution.py +27 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Resolution/Resolution.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Resolution/__init__.py +51 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Spectrum/FlatSpectrum.py +22 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Spectrum/Spectrum.py +21 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/Spectrum/__init__.py +50 -0
- MDANSE-2.0.0a1/Src/MDANSE/NeutronInstruments/__init__.py +57 -0
- MDANSE-2.0.0a1/Src/MDANSE/Scripts/__init__.py +15 -0
- MDANSE-2.0.0a1/Src/MDANSE/Scripts/mdanse.py +451 -0
- MDANSE-2.0.0a1/Src/MDANSE/Scripts/mdanse_job.py +65 -0
- MDANSE-2.0.0a1/Src/MDANSE/__init__.py +28 -0
- MDANSE-2.0.0a1/Src/MDANSE.egg-info/PKG-INFO +900 -0
- MDANSE-2.0.0a1/Src/MDANSE.egg-info/SOURCES.txt +361 -0
- MDANSE-2.0.0a1/Src/MDANSE.egg-info/dependency_links.txt +1 -0
- MDANSE-2.0.0a1/Src/MDANSE.egg-info/entry_points.txt +3 -0
- MDANSE-2.0.0a1/Src/MDANSE.egg-info/requires.txt +6 -0
- MDANSE-2.0.0a1/Src/MDANSE.egg-info/top_level.txt +1 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/__init__.py +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_dynamics.py +106 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_infrared.py +64 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_mcstas.py +65 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_meansquare.py +85 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_mock_dynamics.py +52 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_molecule_names.py +70 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_qvectors.py +53 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_resolutions.py +60 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_scattering.py +207 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_structure.py +74 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_thermodynamics.py +74 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Analysis/test_trajectory.py +108 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomMapping/__init__.py +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomMapping/test_atom_mapping.py +131 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomSelector/__init__.py +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomSelector/test_all_selector.py +21 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomSelector/test_atom_selectors.py +91 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomSelector/test_group_selectors.py +85 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomSelector/test_molecule_selectors.py +30 -0
- MDANSE-2.0.0a1/Tests/UnitTests/AtomSelector/test_selector.py +348 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/.DS_Store +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/1gip.pdb +760 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/2vb1.pdb +40304 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/CO2GAS-1.cell +101 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/CO2GAS-dump-1.pdb +64 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/CO2GAS-pos-1.xyz +6200 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/CO2GAS-vel-1.xyz +6200 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/Cu_5steps_ASEformat.traj +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/FIELD4 +11 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/FIELD_Water +19 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/H2O.trj +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/H2O.xtd +1287 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/HISTORY4 +17322 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/HISTORY_Water +30802 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/PBAnew.md +3283 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/XDATCAR_version5 +12034 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/__pycache__/__init__.cpython-311.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/__pycache__/data.cpython-311.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/apoferritin.dcd +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/apoferritin.pdb +12399 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/co2gas_md3.mdt +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/hem-cam.dcd +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/hem-cam.pdb +6469 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/lammps_test.config +238 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/lammps_test.lammps +725 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/md.pdb +18797 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/md.xtc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/mock.json +17 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/named_molecules.mdt +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/short_trajectory_after_changes.mdt +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/sushi.his +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/sushi.xtd +264 -0
- MDANSE-2.0.0a1/Tests/UnitTests/Data/traj-100K-npt-1000-res.xyz +962 -0
- MDANSE-2.0.0a1/Tests/UnitTests/NeutronInstrument/__init__.py +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/NeutronInstrument/__pycache__/__init__.cpython-311.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/NeutronInstrument/__pycache__/test_instrument.cpython-311-pytest-7.3.1.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/NeutronInstrument/test_instrument.py +13 -0
- MDANSE-2.0.0a1/Tests/UnitTests/__init__.py +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/__init__.py +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/__pycache__/__init__.cpython-311.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/__pycache__/test_chemistry.cpython-311-pytest-7.3.1.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/__pycache__/test_connectivity.cpython-311-pytest-7.3.1.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/__pycache__/test_rdkit.cpython-311-pytest-7.3.1.pyc +0 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/test_chemistry.py +53 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/test_connectivity.py +85 -0
- MDANSE-2.0.0a1/Tests/UnitTests/molecules/test_rdkit.py +58 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_HDF5Trajectory.py +166 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_analysis.py +67 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_chemical_entity.py +2916 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_configurable.py +123 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_configuration.py +776 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_configurator.py +147 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_converter.py +410 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_databases.py +703 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_documentation.py +13 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_geometry.py +90 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_ijob.py +84 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_mock_trajectory.py +179 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_molecular_dynamics.py +137 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_pdb_reader.py +84 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_text_output.py +40 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_trajectory.py +204 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_trajectory_utils.py +199 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_unit_cell.py +91 -0
- MDANSE-2.0.0a1/Tests/UnitTests/test_units.py +214 -0
- MDANSE-2.0.0a1/Tests/__init__.py +0 -0
- MDANSE-2.0.0a1/pyproject.toml +54 -0
- MDANSE-2.0.0a1/setup.cfg +4 -0
- MDANSE-2.0.0a1/setup.py +348 -0
MDANSE-2.0.0a1/AUTHORS
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
MDANSE project has been created by:
|
|
2
|
+
|
|
3
|
+
* Eric Pellegrini
|
|
4
|
+
|
|
5
|
+
MDANSE source code is currently developed by
|
|
6
|
+
|
|
7
|
+
* Eric Pellegrini
|
|
8
|
+
* Maciej Bartkowiak
|
|
9
|
+
* Chi Cheng
|
|
10
|
+
* Sanghamitra Mukhopadhyay
|
|
11
|
+
|
|
12
|
+
MDANSE former contributors:
|
|
13
|
+
|
|
14
|
+
* Bachir Aoun
|
|
15
|
+
* Gael Goret
|
|
16
|
+
* Remi Perenon
|
|
17
|
+
* Rastislav Turanyi
|
|
18
|
+
|
|
Binary file
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# MDANSE : Molecular Dynamics Analysis for Neutron Scattering Experiments
|
|
2
|
+
# ------------------------------------------------------------------------------------------
|
|
3
|
+
# Copyright (C)
|
|
4
|
+
# 2015- Eric C. Pellegrini Institut Laue-Langevin
|
|
5
|
+
# BP 156
|
|
6
|
+
# 6, rue Jules Horowitz
|
|
7
|
+
# 38042 Grenoble Cedex 9
|
|
8
|
+
# France
|
|
9
|
+
# pellegrini[at]ill.fr
|
|
10
|
+
# goret[at]ill.fr
|
|
11
|
+
# aoun[at]ill.fr
|
|
12
|
+
#
|
|
13
|
+
# This library is free software; you can redistribute it and/or
|
|
14
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
15
|
+
# License as published by the Free Software Foundation; either
|
|
16
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
17
|
+
#
|
|
18
|
+
# This library is distributed in the hope that it will be useful,
|
|
19
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
20
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
21
|
+
# Lesser General Public License for more details.
|
|
22
|
+
#
|
|
23
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
24
|
+
# License along with this library; if not, write to the Free Software
|
|
25
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
Created on Mar 30, 2015
|
|
29
|
+
|
|
30
|
+
@author: Gael Goret and Eric C. Pellegrini
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
# -- General configuration -----------------------------------------------------
|
|
34
|
+
|
|
35
|
+
# If your documentation needs a minimal Sphinx version, state it here.
|
|
36
|
+
needs_sphinx = "1.0"
|
|
37
|
+
|
|
38
|
+
# Add any Sphinx extension module names here, as strings. They can be extensions
|
|
39
|
+
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
|
40
|
+
extensions = [
|
|
41
|
+
"sphinx.ext.autodoc",
|
|
42
|
+
"sphinx.ext.viewcode",
|
|
43
|
+
"sphinx.ext.graphviz",
|
|
44
|
+
"sphinx.ext.inheritance_diagram",
|
|
45
|
+
"sphinx.ext.pngmath",
|
|
46
|
+
] # ,'rst2pdf.pdfbuilder']
|
|
47
|
+
|
|
48
|
+
# Add any paths that contain templates here, relative to this directory.
|
|
49
|
+
templates_path = ["_templates"]
|
|
50
|
+
|
|
51
|
+
# The suffix of source filenames.
|
|
52
|
+
source_suffix = ".rst"
|
|
53
|
+
|
|
54
|
+
# The encoding of source files.
|
|
55
|
+
source_encoding = "utf-8-sig"
|
|
56
|
+
|
|
57
|
+
# The master toctree document.
|
|
58
|
+
master_doc = "index"
|
|
59
|
+
|
|
60
|
+
# General information about the project.
|
|
61
|
+
project = "MDANSE"
|
|
62
|
+
copyright = "2015, Gael Goret, Bachir Aoun and Eric C. Pellegrini"
|
|
63
|
+
|
|
64
|
+
# The version info for the project you're documenting, acts as replacement for
|
|
65
|
+
# |version| and |release|, also used in various other places throughout the
|
|
66
|
+
# built documents.
|
|
67
|
+
#
|
|
68
|
+
# The short X.Y version.
|
|
69
|
+
version = "1.0"
|
|
70
|
+
# The full version, including alpha/beta/rc tags.
|
|
71
|
+
release = "1.0"
|
|
72
|
+
|
|
73
|
+
html_logo = "_static/mdanse_logo.png"
|
|
74
|
+
|
|
75
|
+
inheritance_graph_attrs = dict(size='""')
|
|
76
|
+
|
|
77
|
+
inheritance_graph_attrs = dict(rankdir="TB", size='""')
|
|
78
|
+
|
|
79
|
+
inheritance_node_attrs = dict(color="lightblue", style="filled")
|
|
80
|
+
|
|
81
|
+
# The following is uncommented only in Windows CI/CD
|
|
82
|
+
# graphviz_dot = r'C:\Miniconda\envs\mdanse\Library\bin\graphviz\dot.exe'
|
|
83
|
+
|
|
84
|
+
# The name of the Pygments (syntax highlighting) style to use.
|
|
85
|
+
pygments_style = "sphinx"
|
|
86
|
+
|
|
87
|
+
# -- Options for HTML output ---------------------------------------------------
|
|
88
|
+
|
|
89
|
+
html_sidebars = {"**": ["localtoc.html", "sourcelink.html", "searchbox.html"]}
|
|
90
|
+
|
|
91
|
+
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
92
|
+
# a list of builtin themes.
|
|
93
|
+
html_theme = "nature"
|
|
94
|
+
html_theme_options = {"sidebarwidth": 250} # , 'nosidebar':True}
|
|
95
|
+
|
|
96
|
+
# Output file base name for HTML help builder.
|
|
97
|
+
htmlhelp_basename = "MDANSE_doc"
|
|
98
|
+
|
|
99
|
+
# Grouping the document tree into LaTeX files. List of tuples
|
|
100
|
+
# (source start file, target name, title, author, documentclass [howto/manual]).
|
|
101
|
+
latex_documents = [
|
|
102
|
+
(
|
|
103
|
+
"index",
|
|
104
|
+
"MDANSE.tex",
|
|
105
|
+
"MDANSE Documentation",
|
|
106
|
+
"Gael Goret \\& Eric C. Pellegrini",
|
|
107
|
+
"manual",
|
|
108
|
+
),
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
pdf_documents = [
|
|
112
|
+
("index", "MDANSE", "MDANSE Documentation", "Gael Goret & Eric C. Pellegrini"),
|
|
113
|
+
]
|
|
114
|
+
|
|
115
|
+
# -- Options for manual page output --------------------------------------------
|
|
116
|
+
|
|
117
|
+
# One entry per manual page. List of tuples
|
|
118
|
+
# (source start file, name, description, authors, manual section).
|
|
119
|
+
man_pages = [
|
|
120
|
+
("index", "MDANSE", "MDANSE Documentation", "Gael Goret & Eric C. Pellegrini"),
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
# Grouping the document tree into Texinfo files. List of tuples
|
|
124
|
+
# (source start file, target name, title, author,
|
|
125
|
+
# dir menu entry, description, category)
|
|
126
|
+
texinfo_documents = [
|
|
127
|
+
(
|
|
128
|
+
"index",
|
|
129
|
+
"MDANSE",
|
|
130
|
+
"MDANSE Documentation",
|
|
131
|
+
"Gael Goret & Eric C. Pellegrini",
|
|
132
|
+
"MDANSE",
|
|
133
|
+
"One line description of project.",
|
|
134
|
+
"Miscellaneous",
|
|
135
|
+
),
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
# List of directories, relative to source directory, that shouldn't be searched for source files.
|
|
139
|
+
exclude_patterns = ["Externals"]
|
|
140
|
+
|
|
141
|
+
members_to_watch = ["class"]
|
|
142
|
+
|
|
143
|
+
from MDANSE.Framework.Jobs.IJob import IJob
|
|
144
|
+
|
|
145
|
+
klsNames = [kls.__name__ for kls in IJob.indirect_subclasses()]
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def flag_onthefly(app, what, name, obj, options, lines):
|
|
149
|
+
if getattr(obj, "__name__", None) in klsNames:
|
|
150
|
+
lines.extend(obj.build_doc().splitlines())
|
|
151
|
+
|
|
152
|
+
if what in members_to_watch:
|
|
153
|
+
# modify the docstring so the rendered output is highlights the omission
|
|
154
|
+
if lines:
|
|
155
|
+
lines.insert(0, "")
|
|
156
|
+
lines.insert(0, ":Description:")
|
|
157
|
+
lines.insert(0, "")
|
|
158
|
+
lines.insert(0, ".. inheritance-diagram:: %s" % name.split(".")[-1])
|
|
159
|
+
lines.insert(0, "")
|
|
160
|
+
lines.insert(0, "**Inheritance-diagram:**")
|
|
161
|
+
lines.insert(0, "")
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def setup(app):
|
|
165
|
+
app.connect("autodoc-process-docstring", flag_onthefly)
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# MDANSE : Molecular Dynamics Analysis for Neutron Scattering Experiments
|
|
2
|
+
# ------------------------------------------------------------------------------------------
|
|
3
|
+
# Copyright (C)
|
|
4
|
+
# 2015- Eric C. Pellegrini Institut Laue-Langevin
|
|
5
|
+
# BP 156
|
|
6
|
+
# 6, rue Jules Horowitz
|
|
7
|
+
# 38042 Grenoble Cedex 9
|
|
8
|
+
# France
|
|
9
|
+
# pellegrini[at]ill.fr
|
|
10
|
+
# goret[at]ill.fr
|
|
11
|
+
# aoun[at]ill.fr
|
|
12
|
+
#
|
|
13
|
+
# This library is free software; you can redistribute it and/or
|
|
14
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
15
|
+
# License as published by the Free Software Foundation; either
|
|
16
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
17
|
+
#
|
|
18
|
+
# This library is distributed in the hope that it will be useful,
|
|
19
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
20
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
21
|
+
# Lesser General Public License for more details.
|
|
22
|
+
#
|
|
23
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
24
|
+
# License along with this library; if not, write to the Free Software
|
|
25
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
Created on Mar 30, 2015
|
|
29
|
+
|
|
30
|
+
@author: Gael Goret and Eric C. Pellegrini
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
# If your documentation needs a minimal Sphinx version, state it here.
|
|
34
|
+
needs_sphinx = "1.0"
|
|
35
|
+
|
|
36
|
+
# Add any Sphinx extension module names here, as strings. They can be extensions
|
|
37
|
+
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
|
38
|
+
extensions = [
|
|
39
|
+
"sphinx.ext.autodoc",
|
|
40
|
+
"sphinx.ext.graphviz",
|
|
41
|
+
"sphinx.ext.pngmath",
|
|
42
|
+
] # ,'rst2pdf.pdfbuilder']
|
|
43
|
+
|
|
44
|
+
# Add any paths that contain templates here, relative to this directory.
|
|
45
|
+
templates_path = ["_templates"]
|
|
46
|
+
|
|
47
|
+
# The suffix of source filenames.
|
|
48
|
+
source_suffix = ".rst"
|
|
49
|
+
|
|
50
|
+
# The encoding of source files.
|
|
51
|
+
source_encoding = "utf-8-sig"
|
|
52
|
+
|
|
53
|
+
# The master toctree document.
|
|
54
|
+
master_doc = "index"
|
|
55
|
+
|
|
56
|
+
# General information about the project.
|
|
57
|
+
project = "MDANSE"
|
|
58
|
+
copyright = "2015, Gael Goret & Eric C. Pellegrini"
|
|
59
|
+
|
|
60
|
+
# The version info for the project you're documenting, acts as replacement for
|
|
61
|
+
# |version| and |release|, also used in various other places throughout the
|
|
62
|
+
# built documents.
|
|
63
|
+
#
|
|
64
|
+
# The short X.Y version.
|
|
65
|
+
version = "1.0"
|
|
66
|
+
# The full version, including alpha/beta/rc tags.
|
|
67
|
+
release = "1.0"
|
|
68
|
+
|
|
69
|
+
html_logo = "_static/mdanse_logo.png"
|
|
70
|
+
|
|
71
|
+
inheritance_graph_attrs = dict(size='""')
|
|
72
|
+
|
|
73
|
+
inheritance_graph_attrs = dict(rankdir="TB", size='""')
|
|
74
|
+
|
|
75
|
+
inheritance_node_attrs = dict(color="lightblue", style="filled")
|
|
76
|
+
|
|
77
|
+
# The name of the Pygments (syntax highlighting) style to use.
|
|
78
|
+
pygments_style = "sphinx"
|
|
79
|
+
|
|
80
|
+
# -- Options for HTML output ---------------------------------------------------
|
|
81
|
+
|
|
82
|
+
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
83
|
+
# a list of builtin themes.
|
|
84
|
+
html_theme = "default"
|
|
85
|
+
html_theme_options = {"sidebarwidth": 250}
|
|
86
|
+
|
|
87
|
+
html_show_copyright = False
|
|
88
|
+
|
|
89
|
+
# Output file base name for HTML help builder.
|
|
90
|
+
htmlhelp_basename = "MDANSE_doc"
|
|
91
|
+
|
|
92
|
+
# Grouping the document tree into LaTeX files. List of tuples
|
|
93
|
+
# (source start file, target name, title, author, documentclass [howto/manual]).
|
|
94
|
+
latex_documents = [
|
|
95
|
+
(
|
|
96
|
+
"index",
|
|
97
|
+
"MDANSE.tex",
|
|
98
|
+
"MDANSE Documentation",
|
|
99
|
+
"Gael Goret & Eric C. Pellegrini",
|
|
100
|
+
"manual",
|
|
101
|
+
),
|
|
102
|
+
]
|
|
103
|
+
|
|
104
|
+
pdf_documents = [
|
|
105
|
+
("index", "MDANSE", "MDANSE Documentation", "Gael Goret & Eric C. Pellegrini"),
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
# List of directories, relative to source directory, that shouldn't be searched
|
|
109
|
+
# for source files.
|
|
110
|
+
exclude_patterns = ["Externals"]
|
|
111
|
+
|
|
112
|
+
members_to_watch = ["class"]
|
|
113
|
+
|
|
114
|
+
from MDANSE.Framework.Jobs.IJob import IJob
|
|
115
|
+
|
|
116
|
+
klsNames = [kls.__name__ for kls in IJob.indirect_subclasses()]
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def flag_onthefly(app, what, name, obj, options, lines):
|
|
120
|
+
if getattr(obj, "__name__", None) in klsNames:
|
|
121
|
+
lines.extend(obj.build_doc().splitlines())
|
|
122
|
+
|
|
123
|
+
if what in members_to_watch:
|
|
124
|
+
# modify the docstring so the rendered output is highlights the omission
|
|
125
|
+
if lines:
|
|
126
|
+
lines.insert(0, "")
|
|
127
|
+
lines.insert(0, ":Description:")
|
|
128
|
+
lines.insert(0, "")
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
exclusions = (
|
|
132
|
+
"__weakref__",
|
|
133
|
+
"__doc__",
|
|
134
|
+
"__module__",
|
|
135
|
+
"__dict__",
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
def autodoc_skip_member(app, what, name, obj, skip, options):
|
|
140
|
+
if what in ["method", "attribut", "function", "exception"]:
|
|
141
|
+
return True
|
|
142
|
+
|
|
143
|
+
if name in exclusions:
|
|
144
|
+
return True
|
|
145
|
+
|
|
146
|
+
if what in ["class"]:
|
|
147
|
+
if name is not "__doc__":
|
|
148
|
+
return True
|
|
149
|
+
|
|
150
|
+
return skip
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def setup(app):
|
|
154
|
+
app.connect("autodoc-skip-member", autodoc_skip_member)
|
|
155
|
+
app.connect("autodoc-process-docstring", flag_onthefly)
|