├── .gitignore
├── .travis.yml
├── Applications
├── CMakeLists.txt
├── DWIProcessing
│ ├── CMakeLists.txt
│ ├── CorrectBValues.cxx
│ ├── CorrectBValues.xml
│ ├── DWIMultipleShellSplit.cxx
│ ├── DWIMultipleShellSplit.xml
│ ├── DWINoiseGenerator.cxx
│ ├── DWINoiseGenerator.xml
│ ├── DWIPreprocess.cxx
│ ├── DWIPreprocess.xml
│ ├── DWISimulator.cxx
│ ├── DWISimulator.xml
│ ├── DWISingleVoxelSimulator.cxx
│ └── DWISingleVoxelSimulator.xml
├── DiffusionModels
│ ├── CMakeLists.txt
│ ├── ComputeSHCoefficientsOfDWIFromSymmetricTensor.cxx
│ ├── ComputeSHCoefficientsOfDWIFromSymmetricTensor.xml
│ ├── MeanDiffusivityEstimator.cxx
│ ├── MeanDiffusivityEstimator.xml
│ ├── ODFNormalization.cxx
│ ├── ODFNormalization.xml
│ ├── SHCoefficientsFit.cxx
│ ├── SHCoefficientsFit.xml
│ ├── SHCoefficientsPower.cxx
│ ├── SHCoefficientsPower.xml
│ ├── SHCoefficientsRotate.cxx
│ ├── SHCoefficientsRotate.xml
│ ├── SHCoefficientsToGFA.cxx
│ ├── SHCoefficientsToGFA.xml
│ ├── SHCoefficientsToSphericalFunctionSamples.cxx
│ ├── SHCoefficientsToSphericalFunctionSamples.xml
│ ├── SPFToODF.cxx
│ ├── SPFToODF.xml
│ ├── SPFToProfile.cxx
│ ├── SPFToProfile.xml
│ ├── SPFToScalarMap.cxx
│ ├── SPFToScalarMap.xml
│ ├── SphereTessellator.cxx
│ ├── SphereTessellator.xml
│ ├── SphericalPolarFourierImaging.cxx
│ ├── SphericalPolarFourierImaging.xml
│ ├── TensorFormatConverter.cxx
│ └── TensorFormatConverter.xml
├── SamplingScheme
│ ├── CMakeLists.txt
│ ├── OrientationStatistics.cxx
│ ├── OrientationStatistics.xml
│ ├── SamplingSchemeDistance.cxx
│ ├── SamplingSchemeDistance.xml
│ ├── SamplingSchemeQSpace1OptEstimation.cxx
│ ├── SamplingSchemeQSpace1OptEstimation.xml
│ ├── SamplingSchemeQSpaceIMOCEstimation.cxx
│ ├── SamplingSchemeQSpaceIMOCEstimation.xml
│ ├── SamplingSchemeQSpaceIncrementalEstimation.cxx
│ ├── SamplingSchemeQSpaceIncrementalEstimation.xml
│ ├── SamplingSchemeQSpaceRandomEstimation.cxx
│ └── SamplingSchemeQSpaceRandomEstimation.xml
├── Scripts
│ ├── CMakeLists.txt
│ ├── CombineVTKPolyData.py
│ ├── ConvertGurobiSolToIndex.py
│ ├── README.md
│ ├── VTKPolyData.py
│ ├── VTKPolyData_gui.py
│ ├── __init__.py
│ ├── utlDMRITool.py
│ └── utlVTK.py
├── Utilities
│ ├── 4DImageMath.cxx
│ ├── 4DImageMath.xml
│ ├── 4DToVectorImageConverter.cxx
│ ├── 4DToVectorImageConverter.xml
│ ├── CMakeLists.txt
│ ├── ImageInfo.cxx
│ ├── ImageInfo.xml
│ ├── ImageMultiplication.cxx
│ ├── ImageMultiplication.xml
│ ├── PrintImage.cxx
│ ├── PrintImage.xml
│ ├── TextFileOperator.cxx
│ ├── TextFileOperator.xml
│ ├── VectorImageNormalization.cxx
│ ├── VectorImageNormalization.xml
│ ├── VectorTo4DImageConverter.cxx
│ └── VectorTo4DImageConverter.xml
└── Visualization
│ ├── CMakeLists.txt
│ ├── MeshFromDiscreteFiberODF.cxx
│ ├── MeshFromDiscreteFiberODF.xml
│ ├── MeshFromPeaks.cxx
│ ├── MeshFromPeaks.xml
│ ├── MeshFromSHCoefficients.cxx
│ ├── MeshFromSHCoefficients.xml
│ ├── MeshFromSphericalFunctionTessellatedSamples.cxx
│ ├── MeshFromSphericalFunctionTessellatedSamples.xml
│ ├── MeshFromTensors.cxx
│ ├── MeshFromTensors.xml
│ ├── MeshFromTracts.cxx
│ ├── MeshFromTracts.xml
│ ├── OrientationsViewer.cxx
│ ├── OrientationsViewer.xml
│ ├── RGBImageToVTKXMLImageConverter.cxx
│ ├── RGBImageToVTKXMLImageConverter.xml
│ ├── VTKXMLImageToVectorImageConverter.cxx
│ ├── VTKXMLImageToVectorImageConverter.xml
│ ├── VectorImageToVTKXMLImageConverter.cxx
│ └── VectorImageToVTKXMLImageConverter.xml
├── CMake
├── DMRITOOLConfig.cmake.in
├── DMRITOOLConfigure.h.in
├── DownloadDoxygenTAG.cmake
├── ExternalDoxygenTAG.cmake
├── FindGSL.cmake
├── FindLAPACK.cmake
├── FindMKL.cmake
├── FindOpenBLAS.cmake
├── PreventInBuildInstalls.cmake
├── PreventInSourceBuilds.cmake
├── ProjectCMakeFunctions.cmake
└── UseDMRITOOL.cmake.in
├── CMakeLists.txt
├── Data
├── ElectricRepulsion
│ ├── Elec003.txt
│ ├── Elec004.txt
│ ├── Elec005.txt
│ ├── Elec006.txt
│ ├── Elec007.txt
│ ├── Elec008.txt
│ ├── Elec009.txt
│ ├── Elec010.txt
│ ├── Elec011.txt
│ ├── Elec012.txt
│ ├── Elec013.txt
│ ├── Elec014.txt
│ ├── Elec015.txt
│ ├── Elec016.txt
│ ├── Elec017.txt
│ ├── Elec018.txt
│ ├── Elec019.txt
│ ├── Elec020.txt
│ ├── Elec021.txt
│ ├── Elec022.txt
│ ├── Elec023.txt
│ ├── Elec024.txt
│ ├── Elec025.txt
│ ├── Elec026.txt
│ ├── Elec027.txt
│ ├── Elec028.txt
│ ├── Elec029.txt
│ ├── Elec030.txt
│ ├── Elec031.txt
│ ├── Elec032.txt
│ ├── Elec033.txt
│ ├── Elec034.txt
│ ├── Elec035.txt
│ ├── Elec036.txt
│ ├── Elec037.txt
│ ├── Elec038.txt
│ ├── Elec039.txt
│ ├── Elec040.txt
│ ├── Elec041.txt
│ ├── Elec042.txt
│ ├── Elec043.txt
│ ├── Elec044.txt
│ ├── Elec045.txt
│ ├── Elec046.txt
│ ├── Elec047.txt
│ ├── Elec048.txt
│ ├── Elec049.txt
│ ├── Elec050.txt
│ ├── Elec051.txt
│ ├── Elec052.txt
│ ├── Elec053.txt
│ ├── Elec054.txt
│ ├── Elec055.txt
│ ├── Elec056.txt
│ ├── Elec057.txt
│ ├── Elec058.txt
│ ├── Elec059.txt
│ ├── Elec060.txt
│ ├── Elec061.txt
│ ├── Elec062.txt
│ ├── Elec063.txt
│ ├── Elec064.txt
│ ├── Elec065.txt
│ ├── Elec066.txt
│ ├── Elec067.txt
│ ├── Elec068.txt
│ ├── Elec069.txt
│ ├── Elec070.txt
│ ├── Elec071.txt
│ ├── Elec072.txt
│ ├── Elec073.txt
│ ├── Elec074.txt
│ ├── Elec075.txt
│ ├── Elec076.txt
│ ├── Elec077.txt
│ ├── Elec078.txt
│ ├── Elec079.txt
│ ├── Elec080.txt
│ ├── Elec081.txt
│ ├── Elec082.txt
│ ├── Elec083.txt
│ ├── Elec084.txt
│ ├── Elec085.txt
│ ├── Elec086.txt
│ ├── Elec087.txt
│ ├── Elec088.txt
│ ├── Elec089.txt
│ ├── Elec090.txt
│ ├── Elec091.txt
│ ├── Elec092.txt
│ ├── Elec093.txt
│ ├── Elec094.txt
│ ├── Elec095.txt
│ ├── Elec096.txt
│ ├── Elec097.txt
│ ├── Elec098.txt
│ ├── Elec099.txt
│ ├── Elec100.txt
│ ├── Elec101.txt
│ ├── Elec102.txt
│ ├── Elec103.txt
│ ├── Elec104.txt
│ ├── Elec105.txt
│ ├── Elec106.txt
│ ├── Elec107.txt
│ ├── Elec108.txt
│ ├── Elec109.txt
│ ├── Elec110.txt
│ ├── Elec111.txt
│ ├── Elec112.txt
│ ├── Elec113.txt
│ ├── Elec114.txt
│ ├── Elec115.txt
│ ├── Elec116.txt
│ ├── Elec117.txt
│ ├── Elec118.txt
│ ├── Elec119.txt
│ ├── Elec120.txt
│ ├── Elec121.txt
│ ├── Elec122.txt
│ ├── Elec123.txt
│ ├── Elec124.txt
│ ├── Elec125.txt
│ ├── Elec126.txt
│ ├── Elec127.txt
│ ├── Elec128.txt
│ ├── Elec129.txt
│ ├── Elec130.txt
│ ├── Elec131.txt
│ ├── Elec132.txt
│ ├── Elec133.txt
│ ├── Elec134.txt
│ ├── Elec135.txt
│ ├── Elec136.txt
│ ├── Elec137.txt
│ ├── Elec138.txt
│ ├── Elec139.txt
│ ├── Elec140.txt
│ ├── Elec141.txt
│ ├── Elec142.txt
│ ├── Elec143.txt
│ ├── Elec144.txt
│ ├── Elec145.txt
│ ├── Elec146.txt
│ ├── Elec147.txt
│ ├── Elec148.txt
│ ├── Elec149.txt
│ ├── Elec150.txt
│ ├── Elec151.txt
│ ├── Elec152.txt
│ ├── Elec153.txt
│ ├── Elec154.txt
│ ├── Elec155.txt
│ ├── Elec156.txt
│ ├── Elec157.txt
│ ├── Elec158.txt
│ ├── Elec159.txt
│ ├── Elec160.txt
│ ├── Elec161.txt
│ ├── Elec162.txt
│ ├── Elec163.txt
│ ├── Elec164.txt
│ ├── Elec165.txt
│ ├── Elec166.txt
│ ├── Elec167.txt
│ ├── Elec168.txt
│ ├── Elec169.txt
│ ├── Elec170.txt
│ ├── Elec171.txt
│ ├── Elec172.txt
│ ├── Elec173.txt
│ ├── Elec174.txt
│ ├── Elec175.txt
│ ├── Elec176.txt
│ ├── Elec177.txt
│ ├── Elec178.txt
│ ├── Elec179.txt
│ ├── Elec180.txt
│ ├── Elec181.txt
│ ├── Elec182.txt
│ ├── Elec183.txt
│ ├── Elec184.txt
│ ├── Elec185.txt
│ ├── Elec186.txt
│ ├── Elec187.txt
│ ├── Elec188.txt
│ ├── Elec189.txt
│ ├── Elec190.txt
│ ├── Elec191.txt
│ ├── Elec192.txt
│ ├── Elec193.txt
│ ├── Elec194.txt
│ ├── Elec195.txt
│ ├── Elec196.txt
│ ├── Elec197.txt
│ ├── Elec198.txt
│ ├── Elec199.txt
│ ├── Elec200.txt
│ ├── Elec201.txt
│ ├── Elec202.txt
│ ├── Elec203.txt
│ ├── Elec204.txt
│ ├── Elec205.txt
│ ├── Elec206.txt
│ ├── Elec207.txt
│ ├── Elec208.txt
│ ├── Elec209.txt
│ ├── Elec210.txt
│ ├── Elec211.txt
│ ├── Elec212.txt
│ ├── Elec213.txt
│ ├── Elec214.txt
│ ├── Elec215.txt
│ ├── Elec216.txt
│ ├── Elec217.txt
│ ├── Elec218.txt
│ ├── Elec219.txt
│ ├── Elec220.txt
│ ├── Elec221.txt
│ ├── Elec222.txt
│ ├── Elec223.txt
│ ├── Elec224.txt
│ ├── Elec225.txt
│ ├── Elec226.txt
│ ├── Elec227.txt
│ ├── Elec228.txt
│ ├── Elec229.txt
│ ├── Elec230.txt
│ ├── Elec231.txt
│ ├── Elec232.txt
│ ├── Elec233.txt
│ ├── Elec234.txt
│ ├── Elec235.txt
│ ├── Elec236.txt
│ ├── Elec237.txt
│ ├── Elec238.txt
│ ├── Elec239.txt
│ ├── Elec240.txt
│ ├── Elec241.txt
│ ├── Elec242.txt
│ ├── Elec243.txt
│ ├── Elec244.txt
│ ├── Elec245.txt
│ ├── Elec246.txt
│ ├── Elec247.txt
│ ├── Elec248.txt
│ ├── Elec249.txt
│ ├── Elec250.txt
│ ├── Elec251.txt
│ ├── Elec252.txt
│ ├── Elec253.txt
│ ├── Elec254.txt
│ ├── Elec255.txt
│ ├── Elec256.txt
│ └── Elec755.txt
├── Packing
│ ├── Pack003.txt
│ ├── Pack004.txt
│ ├── Pack005.txt
│ ├── Pack006.txt
│ ├── Pack007.txt
│ ├── Pack008.txt
│ ├── Pack009.txt
│ ├── Pack010.txt
│ ├── Pack011.txt
│ ├── Pack012.txt
│ ├── Pack013.txt
│ ├── Pack014.txt
│ ├── Pack015.txt
│ ├── Pack016.txt
│ ├── Pack017.txt
│ ├── Pack018.txt
│ ├── Pack019.txt
│ ├── Pack020.txt
│ ├── Pack021.txt
│ ├── Pack022.txt
│ ├── Pack023.txt
│ ├── Pack024.txt
│ ├── Pack025.txt
│ ├── Pack026.txt
│ ├── Pack027.txt
│ ├── Pack028.txt
│ ├── Pack029.txt
│ ├── Pack030.txt
│ ├── Pack031.txt
│ ├── Pack032.txt
│ ├── Pack033.txt
│ ├── Pack034.txt
│ ├── Pack035.txt
│ ├── Pack036.txt
│ ├── Pack037.txt
│ ├── Pack038.txt
│ ├── Pack039.txt
│ ├── Pack040.txt
│ ├── Pack041.txt
│ ├── Pack042.txt
│ ├── Pack043.txt
│ ├── Pack044.txt
│ ├── Pack045.txt
│ ├── Pack046.txt
│ ├── Pack047.txt
│ ├── Pack048.txt
│ ├── Pack049.txt
│ ├── Pack050.txt
│ ├── Pack051.txt
│ ├── Pack052.txt
│ ├── Pack053.txt
│ ├── Pack054.txt
│ ├── Pack055.txt
│ ├── Pack056.txt
│ ├── Pack057.txt
│ ├── Pack058.txt
│ ├── Pack059.txt
│ ├── Pack060.txt
│ ├── Pack061.txt
│ ├── Pack062.txt
│ ├── Pack063.txt
│ ├── Pack064.txt
│ ├── Pack065.txt
│ ├── Pack066.txt
│ ├── Pack067.txt
│ ├── Pack068.txt
│ ├── Pack069.txt
│ ├── Pack070.txt
│ ├── Pack071.txt
│ ├── Pack072.txt
│ ├── Pack073.txt
│ ├── Pack074.txt
│ ├── Pack075.txt
│ ├── Pack076.txt
│ ├── Pack077.txt
│ ├── Pack078.txt
│ ├── Pack079.txt
│ ├── Pack080.txt
│ ├── Pack081.txt
│ ├── Pack082.txt
│ ├── Pack083.txt
│ ├── Pack084.txt
│ ├── Pack085.txt
│ ├── Pack086.txt
│ ├── Pack087.txt
│ ├── Pack088.txt
│ ├── Pack089.txt
│ ├── Pack090.txt
│ ├── Pack091.txt
│ ├── Pack092.txt
│ ├── Pack093.txt
│ ├── Pack094.txt
│ ├── Pack095.txt
│ ├── Pack096.txt
│ ├── Pack097.txt
│ ├── Pack098.txt
│ ├── Pack099.txt
│ └── Pack100.txt
├── PreComputedTables
│ ├── SPFDictionary_sh8_ra4_eps0.0001_iter10000_online_iso2_k250_md5_fa10_mdiso10x321.txt
│ ├── SPFEnergy_sh8_ra4_eps0.0001_iter10000_online_iso2_k250_md5_fa10_mdiso10x321.txt
│ ├── sh3integral.hdr
│ └── sh3integral.img
└── Tessellation
│ ├── directions_t1.txt
│ ├── directions_t2.txt
│ ├── directions_t3.txt
│ ├── directions_t4.txt
│ ├── directions_t5.txt
│ ├── directions_t6.txt
│ └── directions_t7.txt
├── Documentation
├── Doxygen
│ ├── DoxygenLayout.xml
│ ├── Modules.dox
│ └── doxygen.in
└── Sphinx
│ ├── HelperFunctions.rst
│ ├── Makefile
│ ├── _static
│ ├── GitHub.png
│ ├── linux-icon.png
│ ├── theme_overrides.css
│ └── tutorials
│ │ └── spfi
│ │ ├── HCP_DL-SPFI_1e-6_MSD.png
│ │ ├── HCP_DL-SPFI_1e-6_PFA.png
│ │ ├── HCP_DL-SPFI_1e-6_RTO.png
│ │ ├── HCP_DL-SPFI_1e-6_eap_r0.015_ROI.png
│ │ └── HCP_DL-SPFI_1e-6_eap_r0.015_whole.png
│ ├── _templates
│ └── layout.html
│ ├── building.rst
│ ├── citation.rst
│ ├── codemodules.rst
│ ├── conf.py
│ ├── developers.rst
│ ├── index.rst
│ ├── license.rst
│ ├── links.inc
│ ├── meta_keywords.txt
│ ├── newCommands.tex
│ ├── news.rst
│ ├── support.rst
│ ├── tools
│ ├── extract_bash_from_rst.py
│ ├── generate_doc_for_commands.py
│ ├── generate_doc_for_matlabfunctions.py
│ ├── make_tutorial_outputs.py
│ ├── publish_matlabdemos.sh
│ ├── upload_doxygen.sh
│ └── upload_ghpages.sh
│ ├── tutorial_dwisimulation.rst
│ ├── tutorial_qspacesampling.rst
│ ├── tutorial_spfi.rst
│ ├── tutoriallist.txt
│ ├── tutorials.rst
│ └── userguide.rst
├── Examples
├── Elec060.txt
├── directions_t3.txt
├── directions_t4.txt
├── dwi_circle_crossing.txt
├── dwi_crossing.txt
├── dwi_crossingCylinder_3x3.txt
├── dwi_diagonal_spherical.txt
└── test.sh
├── LICENSE.txt
├── Matlab
├── Demos
│ ├── demo_mutishell_IMOC_1Opt_CNLO.m
│ ├── demo_separate_HCPQ390x3_30x3.m
│ ├── demo_separate_HCPQ390x3_45x3.m
│ ├── demo_separate_sets.m
│ ├── demo_separate_t4_1shell.m
│ ├── demo_separate_t4_28x3.m
│ └── demo_singleshell_IMOC_1Opt_CNLO.m
├── README.md
├── SamplingScheme
│ ├── CartesianToSpherical.m
│ ├── CoveringRadius.m
│ ├── CoveringRadiusUpperBound.m
│ ├── GetGradAllShells.m
│ ├── OptimalSamplingMultiShellCNLO.m
│ ├── OptimalSamplingMultiShellCNLO_singleRun.m
│ ├── OptimalSamplingMultiSubsetsFromDifferentSets.m
│ ├── OptimalSamplingMultiSubsetsFromSameSet.m
│ ├── OptimalSamplingSingleShellCNLO.m
│ ├── OptimalSamplingSingleSubset.m
│ ├── ReadDirections.m
│ ├── VisualizeMultiShellScheme.m
│ └── WriteDirections.m
└── Utils
│ └── CopyDefaultStructParams.m
├── Modules
├── Common
│ ├── include
│ │ ├── itkCastImageFileWriter.h
│ │ ├── itkCastImageFileWriter.hxx
│ │ ├── itkCastVectorImageFileWriter.h
│ │ ├── itkCastVectorImageFileWriter.hxx
│ │ ├── itkComposeVectorImageFilter.h
│ │ ├── itkComposeVectorImageFilter.hxx
│ │ ├── itkFunctorBaseVectorImageFilter.h
│ │ ├── itkFunctorFromStringImageFilter.h
│ │ ├── itkFunctorFromStringImageFilter.hxx
│ │ ├── itkMaskedImageToImageFilter.h
│ │ ├── itkMaskedImageToImageFilter.hxx
│ │ ├── itkMultiVariableFunctorVectorImageFilter.h
│ │ ├── itkMultiVariableFunctorVectorImageFilter.hxx
│ │ ├── itkMultiVolumeImageToVectorImageFilter.h
│ │ ├── itkMultiVolumeImageToVectorImageFilter.hxx
│ │ ├── itkMultiplyByConstantMatrixVectorImageFilter.h
│ │ ├── itkMultiplyByConstantVectorImageFilter.h
│ │ ├── itkNormalizeVectorImageFilter.h
│ │ ├── itkOuterProductVectorImageFilter.h
│ │ ├── itkSlowPolyLineParametricPath.h
│ │ ├── itkSlowPolyLineParametricPath.hxx
│ │ ├── itkStructureTensorImageFilter.h
│ │ ├── itkStructureTensorImageFilter.hxx
│ │ ├── itkUnaryFunctorVectorImageFilter.h
│ │ ├── itkUnaryFunctorVectorImageFilter.hxx
│ │ ├── itkVectorImageChannelFilter.h
│ │ ├── itkVectorImageChannelFilter.hxx
│ │ ├── itkVectorImageRegionIterator.h
│ │ ├── itkVectorImageRegionIteratorWithIndex.h
│ │ ├── itkVectorImageRegionIteratorWithIndexSpecial.h
│ │ ├── itkVectorImageToMultiVolumeImageFilter.h
│ │ └── itkVectorImageToMultiVolumeImageFilter.hxx
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── itkUnaryFunctorVectorImageFilterTest.cxx
│ │ ├── itkUnaryFunctorVectorImageFilterTest.xml
│ │ └── itkVectorImageRegionIteratorWithIndexTest.cxx
├── DWIProcessing
│ ├── include
│ │ ├── itkAddNoiseToDWIImageFilter.h
│ │ ├── itkAddNoiseToDWIImageFilter.hxx
│ │ ├── itkDWIGenerator.h
│ │ ├── itkDWIGenerator.hxx
│ │ ├── itkDWIGeneratorBase.h
│ │ ├── itkDWIGeneratorBase.hxx
│ │ ├── itkDWIReader.h
│ │ ├── itkDWIReader.hxx
│ │ ├── itkDWISingleVoxelGenerator.h
│ │ ├── itkDWISingleVoxelGenerator.hxx
│ │ ├── itkDWIWriter.h
│ │ └── itkDWIWriter.hxx
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── itkDWIReaderTest.cxx
│ │ └── itkDWIReaderTest.xml
├── DiffusionModels
│ ├── include
│ │ ├── itkBasisMatrixGenerator.h
│ │ ├── itkBasisMatrixGenerator.hxx
│ │ ├── itkCylinderModelGenerator.h
│ │ ├── itkCylinderModelGenerator.hxx
│ │ ├── itkDiffusionModelEstimationImageFilter.h
│ │ ├── itkDiffusionModelEstimationImageFilter.hxx
│ │ ├── itkDiffusionModelEstimationInSphericalCoordinateImageFilter.h
│ │ ├── itkDiffusionModelEstimationInSphericalCoordinateImageFilter.hxx
│ │ ├── itkDiffusionModelGenerator.h
│ │ ├── itkDiffusionTensor.h
│ │ ├── itkDiffusionTensor.hxx
│ │ ├── itkDiscreteBasisMatrixGenerator.h
│ │ ├── itkDiscreteBasisMatrixGenerator.hxx
│ │ ├── itkFeaturesFromSPFImageFilter.h
│ │ ├── itkFeaturesFromSPFImageFilter.hxx
│ │ ├── itkGeneralizedHighOrderTensorImageFilter.h
│ │ ├── itkGeneralizedHighOrderTensorImageFilter.hxx
│ │ ├── itkMeanDiffusivityFromGHOTImageFilter.h
│ │ ├── itkNormalizeODFImageFilter.h
│ │ ├── itkODFFromSPFImageFilter.h
│ │ ├── itkODFFromSPFImageFilter.hxx
│ │ ├── itkPeakContainerHelper.h
│ │ ├── itkProfileFromSPFImageFilter.h
│ │ ├── itkProfileFromSPFImageFilter.hxx
│ │ ├── itkRotateSHCoefficientsImageFilter.h
│ │ ├── itkSHCoefficientsPowerImageFilter.h
│ │ ├── itkSHCoefficientsToGFAImageFilter.h
│ │ ├── itkSPFScaleFromMeanDiffusivityImageFilter.h
│ │ ├── itkScalarMapFromSPFImageFilter.h
│ │ ├── itkScalarMapFromSPFImageFilter.hxx
│ │ ├── itkSphericalPolarFourierEstimationImageFilter.h
│ │ ├── itkSphericalPolarFourierEstimationImageFilter.hxx
│ │ ├── itkSphericalPolarFourierImageFilter.h
│ │ ├── itkSphericalPolarFourierImageFilter.hxx
│ │ ├── itkTensorBasisMatrixGenerator.h
│ │ └── itkTensorBasisMatrixGenerator.hxx
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── itkDiffusionTensorTest.cxx
│ │ ├── itkSHBasisGeneratorTest.cxx
│ │ └── itkSHBasisGeneratorTest.xml
├── HelperFunctions
│ ├── README.rst
│ ├── include
│ │ ├── utl.h
│ │ ├── utl4thOrderTensor.h
│ │ ├── utlBlas.h
│ │ ├── utlCommandLineParser.h
│ │ ├── utlConstants.h
│ │ ├── utlCore.h
│ │ ├── utlCore11.h
│ │ ├── utlCoreMKL.h
│ │ ├── utlCoreMacro.h
│ │ ├── utlDMRI.h
│ │ ├── utlDMRIStoredTables.h
│ │ ├── utlExpression.h
│ │ ├── utlExprtk.h
│ │ ├── utlFunctors.h
│ │ ├── utlGTest.h
│ │ ├── utlITK.h
│ │ ├── utlITKConceptChecking.h
│ │ ├── utlITKMacro.h
│ │ ├── utlLapack.h
│ │ ├── utlMKL.h
│ │ ├── utlMath.h
│ │ ├── utlMatrix.h
│ │ ├── utlNDArray.h
│ │ ├── utlNDArrayFunctions.h
│ │ ├── utlOpenMP.h
│ │ ├── utlRotationMatrixFromVectors.h
│ │ ├── utlSTDHeaders.h
│ │ ├── utlSmartAssert.h
│ │ ├── utlTypeinfo.h
│ │ ├── utlVNL.h
│ │ ├── utlVNLBlas.h
│ │ ├── utlVNLIO.h
│ │ ├── utlVNLLapack.h
│ │ ├── utlVTK.h
│ │ ├── utlVTKMacro.h
│ │ ├── utlVector.h
│ │ └── utl_cblas.h
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── utl4thOrderTensorGTest.cxx
│ │ ├── utlCoreGTest.cxx
│ │ ├── utlCoreMKLGTest.cxx
│ │ ├── utlDMRIGTest.cxx
│ │ ├── utlGTest.cxx
│ │ ├── utlGradientTest.cxx
│ │ ├── utlMathGTest.cxx
│ │ ├── utlMatrixGTest.cxx
│ │ ├── utlNDArrayGTest.cxx
│ │ ├── utlVNLBlasGTest.cxx
│ │ ├── utlVNLBlasTest.cxx
│ │ ├── utlVNLLapackGTest.cxx
│ │ └── utlVectorGTest.cxx
├── Math
│ ├── include
│ │ ├── itkFunctorHashTable.h
│ │ ├── itkFunctorTableBase.h
│ │ ├── itkFunctors.h
│ │ ├── itkSHCoefficientsFit.h
│ │ ├── itkSHCoefficientsRotation.h
│ │ ├── itkSpecialFunctionGenerator.h
│ │ ├── itkSpecialFunctionGenerator.hxx
│ │ ├── itkSphericalHarmonicsGenerator.h
│ │ ├── itkSphericalHarmonicsGenerator.hxx
│ │ ├── itkSphericalPolarFourierGenerator.h
│ │ ├── itkSphericalPolarFourierGenerator.hxx
│ │ └── itkUnaryFunctorLookUpTable.h
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── itkFunctorHashTableTest.cxx
│ │ ├── itkSHCoefficientsRotationGTest.cxx
│ │ ├── itkSpecialFunctionGeneratorGTest.cxx
│ │ ├── itkSphericalHarmonicsGeneratorGTest.cxx
│ │ ├── itkSphericalHarmonicsGeneratorTest.cxx
│ │ ├── itkSphericalPolarFourierGeneratorTest.cxx
│ │ ├── itkUnaryFunctorLookUpTableGTest.cxx
│ │ └── itkUnaryFunctorLookUpTableTest.cxx
├── Observers
│ └── include
│ │ └── itkCommandProgressUpdate.h
├── SamplingScheme
│ └── include
│ │ ├── itkSamplingScheme3D.h
│ │ ├── itkSamplingScheme3D.hxx
│ │ ├── itkSamplingSchemeQSpace.h
│ │ ├── itkSamplingSchemeQSpace.hxx
│ │ ├── itkSamplingSchemeQSpace1OptEstimationFilter.h
│ │ ├── itkSamplingSchemeQSpace1OptEstimationFilter.hxx
│ │ ├── itkSamplingSchemeQSpaceEstimationFilter.h
│ │ ├── itkSamplingSchemeQSpaceIMOCEstimationFilter.h
│ │ ├── itkSamplingSchemeQSpaceIMOCEstimationFilter.hxx
│ │ ├── itkSamplingSchemeQSpaceIncrementalEstimationFilter.h
│ │ ├── itkSamplingSchemeQSpaceIncrementalEstimationFilter.hxx
│ │ ├── itkSamplingSchemeQSpaceWriter.h
│ │ ├── itkSamplingSchemeQSpaceWriter.hxx
│ │ ├── itkSphereTessellator.h
│ │ └── itkSphereTessellator.hxx
├── Solvers
│ ├── include
│ │ ├── itkIterativeSolverBase.h
│ │ ├── itkIterativeSolverBase.hxx
│ │ ├── itkL1RegularizedLeastSquaresFISTASolver.h
│ │ ├── itkL1RegularizedLeastSquaresFISTASolver.hxx
│ │ ├── itkL2RegularizedLeastSquaresSolver.h
│ │ ├── itkL2RegularizedLeastSquaresSolver.hxx
│ │ ├── itkSolverBase.h
│ │ ├── itkSolverBase.hxx
│ │ ├── itkSpamsWeightedLassoSolver.h
│ │ └── itkSpamsWeightedLassoSolver.hxx
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── itkL1RegularizedLeastSquaresFISTASolverTest.cxx
│ │ └── itkSpamsWeightedLassoSolverTest.cxx
├── Tractography
│ ├── include
│ │ ├── itkFiber.h
│ │ ├── itkFiber.hxx
│ │ ├── itkFiberTracts.h
│ │ ├── itkFiberTracts.hxx
│ │ ├── itkFiberTractsReader.h
│ │ ├── itkFiberTractsReader.hxx
│ │ ├── itkFiberTractsWriter.h
│ │ ├── itkFiberTractsWriter.hxx
│ │ └── itkTrackvisHeader.h
│ └── test
│ │ ├── CMakeLists.txt
│ │ └── test_fibertTacksReaderWriter.cxx
└── Visualization
│ └── include
│ ├── itkImageToVTKImageDataFilter.h
│ ├── itkImageToVTKImageDataFilter.hxx
│ ├── itkMeshFromContinuousSphericalFunctionImageFilter.h
│ ├── itkMeshFromContinuousSphericalFunctionImageFilter.hxx
│ ├── itkMeshFromDiscreteFiberODFImageFilter.h
│ ├── itkMeshFromFiberTractsFilter.h
│ ├── itkMeshFromFiberTractsFilter.hxx
│ ├── itkMeshFromImageImageFilter.h
│ ├── itkMeshFromPeaksImageFilter.h
│ ├── itkMeshFromPeaksImageFilter.hxx
│ ├── itkMeshFromSHCoefficientsImageFilter.h
│ ├── itkMeshFromSphericalFunctionImageFilter.h
│ ├── itkMeshFromSphericalFunctionTessellatedSamplesImageFilter.h
│ ├── itkMeshFromTensorImageFilter.h
│ ├── itkMeshFromTensorImageFilter.hxx
│ ├── itkRGBImageToVTKImageDataFilter.h
│ ├── itkRGBImageToVTKImageDataFilter.hxx
│ ├── itkVTKImageDataToImageFilter.h
│ ├── itkVTKImageDataToImageFilter.hxx
│ ├── vtkPolyDataViewer.h
│ └── vtkPolyDataViewer.hxx
├── QTApplications
├── CMakeLists.txt
└── vtkviewer
│ ├── CMakeLists.txt
│ ├── README.txt
│ ├── VTKViewer.cxx
│ ├── VTKViewer.h
│ └── main.cxx
├── README.md
├── Testing
└── CMakeLists.txt
├── ThirdParty
├── Spams
│ ├── COPYING
│ ├── README
│ ├── include
│ │ ├── cblas_alt_template.h
│ │ ├── cblas_defvar.h
│ │ ├── cblas_template.h
│ │ ├── dag.h
│ │ ├── decomp.h
│ │ ├── dicts.h
│ │ ├── fista.h
│ │ ├── linalg.h
│ │ ├── list.h
│ │ ├── misc.h
│ │ ├── project.h
│ │ ├── utils.h
│ │ ├── utlITKSpams.h
│ │ └── utlSpams.h
│ └── test
│ │ ├── CMakeLists.txt
│ │ ├── cppLasso.cpp
│ │ ├── spamsLassoTest.cxx
│ │ └── spamsMatrixTest.cxx
├── SpatiallyDenseSparseVectorImage
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── include
│ │ ├── itkSparseVector.h
│ │ ├── itkSpatiallyDenseSparseVectorImage.h
│ │ ├── itkSpatiallyDenseSparseVectorImage.hxx
│ │ ├── itkSpatiallyDenseSparseVectorImageFileReader.h
│ │ ├── itkSpatiallyDenseSparseVectorImageFileReader.hxx
│ │ ├── itkSpatiallyDenseSparseVectorImageFileWriter.h
│ │ ├── itkSpatiallyDenseSparseVectorImageFileWriter.hxx
│ │ ├── itkSpatiallyDenseSparseVectorImageNeighborhoodAccessorFunctor.h
│ │ ├── itkSpatiallyDenseSparseVectorImagePixelAccessor.h
│ │ └── itkSpatiallyDenseSparseVectorImagePixelAccessorFunctor.h
│ ├── itk-module.cmake
│ ├── src
│ │ └── CMakeLists.txt
│ └── test
│ │ ├── Baseline
│ │ ├── itkSpatiallyDenseSparseVectorImageTestBaseline_Dense.nii.gz.md5
│ │ ├── itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse.spr.md5
│ │ ├── itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse_key.nrrd.md5
│ │ └── itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse_value.nrrd.md5
│ │ ├── CMakeLists.txt
│ │ ├── itkSparseVectorToVectorImageTest.cxx
│ │ └── itkVectorToSparseVectorImageTest.cxx
├── VariableLengthVectorImage
│ ├── include
│ │ ├── itkVariableLengthVectorImageFileReader.h
│ │ ├── itkVariableLengthVectorImageFileReader.hxx
│ │ ├── itkVariableLengthVectorImageFileWriter.h
│ │ └── itkVariableLengthVectorImageFileWriter.hxx
│ ├── src
│ │ └── CMakeLists.txt
│ └── test
│ │ ├── CMakeLists.txt
│ │ └── test_VariableLengthVectorImage.cxx
├── exprtk
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── include
│ │ └── exprtk_lib.h
│ ├── src
│ │ ├── CMakeLists.txt
│ │ └── exprtk_lib.cxx
│ └── test
│ │ ├── CMakeLists.txt
│ │ └── test_exprtk.cxx
└── gtest
│ ├── CMakeLists.txt
│ └── test
│ ├── CMakeLists.txt
│ └── gtest_test.cxx
├── ThirdPartyApplications
├── CMakeLists.txt
└── SpatiallyDenseSparseImage
│ ├── CMakeLists.txt
│ ├── SparseToVectorImageConverter.cxx
│ ├── SparseToVectorImageConverter.xml
│ ├── VectorToSparseImageConverter.cxx
│ └── VectorToSparseImageConverter.xml
├── Utilities
├── CMakeLists.txt
└── GUnzip.py
└── Wrapping
├── CMakeLists.txt
└── Matlab
├── CMake
├── FindGSL.cmake
├── FindLAPACK.cmake
├── FindMKL.cmake
├── FindMatlab.cmake
├── FindOpenBLAS.cmake
├── MatlabMakeMacros.cmake
└── ProjectCMakeFunctions.cmake
├── CMakeLists.txt
├── Common
├── CMakeLists.txt
├── mexITKImageRead.cxx
├── mexITKImageRead.m
├── mexITKImageWrite.cxx
└── mexITKImageWrite.m
├── DWIProcessing
├── CMakeLists.txt
├── mexReadDWIList.cxx
└── mexReadDWIList.m
├── DiffusionModels
├── CMakeLists.txt
├── mexGetSHBasisMatrix.cxx
├── mexGetSHBasisMatrix.m
├── mexGetSPFBasisMatrix.cxx
├── mexGetSPFBasisMatrix.m
├── mexGetSamplesFromSPFCoefficients.cxx
├── mexGetSamplesFromSPFCoefficients.m
├── mexSphericalPolarFourierImaging.cxx
└── mexSphericalPolarFourierImaging.m
├── MEXHelperFunctions
├── mexITK.h
├── mexSTD.h
├── mexVNL.h
├── mexutils.h
└── utlMEX.h
├── README.md
├── SamplingScheme
├── CMakeLists.txt
├── mexReadGrad.cxx
└── mexReadGrad.m
└── Tests
├── CMakeLists.txt
├── test_GetSPFBaissMatrix.m
├── test_Spams.cxx
├── test_Spams2.cxx
├── test_purecpp.cxx
├── test_puremex.cxx
├── test_puremexOpenmp.cxx
└── test_puremexitk.cxx
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | build
3 | _build
4 |
5 | Examples/temp
6 |
7 | Documentation/Sphinx/commands/
8 | Documentation/Sphinx/matlabfiles/
9 | Documentation/Sphinx/.tutorial*
10 |
11 | Matlab/Demos/html
12 | Matlab/Demos/*.txt
13 | Matlab/Demos/*.mps
14 |
15 |
--------------------------------------------------------------------------------
/Applications/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | ADD_SUBDIRECTORY(Utilities)
3 | ADD_SUBDIRECTORY(DiffusionModels)
4 | ADD_SUBDIRECTORY(DWIProcessing)
5 | ADD_SUBDIRECTORY(SamplingScheme)
6 | ADD_SUBDIRECTORY(Visualization)
7 | add_subdirectory(Scripts)
8 |
--------------------------------------------------------------------------------
/Applications/DWIProcessing/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_clp_application(DWISimulator DWISimulator ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES})
3 | add_clp_application(DWISingleVoxelSimulator DWISingleVoxelSimulator ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES})
4 | add_clp_application(DWINoiseGenerator DWINoiseGenerator ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
5 | add_clp_application(DWIMultipleShellSplit DWIMultipleShellSplit ${ITK_LIBRARIES})
6 | add_clp_application(CorrectBValues CorrectBValues )
7 | add_clp_application(DWIPreprocess DWIPreprocess ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
8 |
9 |
--------------------------------------------------------------------------------
/Applications/DWIProcessing/CorrectBValues.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | DWI Processing
4 | Correct b values
5 | group similar b values into several shells.
6 |
7 | Jian Cheng (jian.cheng.1983@gmail.com)
8 |
9 |
10 |
11 |
12 | _InputFile
13 |
14 | Text file that contains b values.
15 | 0
16 | input
17 |
18 |
19 |
20 | _OutputFile
21 |
22 | Output file with b values.
23 | 1
24 | output
25 |
26 |
27 |
28 | _BThreshold
29 | 15
30 | b values whose distance is smallter the threshold will be considered in the same shell.
31 | t
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/Applications/DiffusionModels/ODFNormalization.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file ODFNormalization.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "04-21-2014
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2014, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 | #include "utlITK.h"
18 |
19 | #include "itkMultiplyByConstantVectorImageFilter.h"
20 | #include "ODFNormalizationCLP.h"
21 |
22 | #include "itkNormalizeODFImageFilter.h"
23 |
24 | /**
25 | * \brief Normalize ODF represented by SH basis or uniform spherical samples
26 | *
27 | * \author Jian Cheng (jian.cheng.1983@gmail.com)
28 | */
29 | int
30 | main (int argc, char const* argv[])
31 | {
32 | // GenerateCLP
33 | PARSE_ARGS;
34 |
35 | typedef double FloatType;
36 |
37 | typedef itk::VectorImage InputImageType;
38 | typedef itk::VectorImage OutputImageType;
39 |
40 | InputImageType::Pointer input = InputImageType::New();
41 | itk::ReadImage(_InputFile, input);
42 |
43 |
44 | typedef itk::NormalizeODFImageFilter FilterType;
45 | FilterType::Pointer filter = FilterType::New();
46 |
47 | filter->SetInput(input);
48 |
49 | if (_Type=="SH")
50 | filter->SetODFType(FilterType::FunctorType::SH);
51 | else if (_Type=="SAMPLE")
52 | filter->SetODFType(FilterType::FunctorType::SAMPLE);
53 |
54 | filter->Update();
55 |
56 | OutputImageType::Pointer output = filter->GetOutput();
57 | itk::SaveImage(output, _OutputFile);
58 |
59 | return 0;
60 | }
61 |
--------------------------------------------------------------------------------
/Applications/DiffusionModels/ODFNormalization.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Diffusion Models
4 | Normalize ODF (VectorImage)
5 | Normalize ODF (VectorImage) represented by SH basis or uniform spherical samples.
6 |
7 | Jian Cheng (jian.cheng.1983@gmail.com)
8 |
9 |
10 |
11 |
12 | _InputFile
13 |
14 | Input image file.
15 | 0
16 | input
17 |
18 |
19 |
20 | _OutputFile
21 |
22 | Input output file.
23 | 1
24 | input
25 |
26 |
27 |
28 | _Type
29 |
30 | Type of input ODF. SH: spherical harmonic coefficients. SAMPLE: uniform spherical samples.
31 | SH
32 | SH
33 | SAMPLE
34 | type
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Applications/DiffusionModels/SHCoefficientsToGFA.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file SHCoefficientsTOGFA.cxx
3 | * @brief
4 | * Created "02-11-2013
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #include "SHCoefficientsToGFACLP.h"
12 |
13 | #include "utl.h"
14 | #include "itkSHCoefficientsToGFAImageFilter.h"
15 | #include "itkSHCoefficientsPowerImageFilter.h"
16 |
17 | /**
18 | * \brief Calculate GFA from SH coefficients.
19 | */
20 | int
21 | main (int argc, char const* argv[])
22 | {
23 | // GenerateCLP
24 | PARSE_ARGS;
25 |
26 | typedef double TScalarType;
27 | typedef itk::VectorImage VectorImageType;
28 | typedef itk::Image ImageType;
29 |
30 | VectorImageType::Pointer shImage = VectorImageType::New();
31 | itk::ReadVectorImage(_InputSHFile, shImage);
32 |
33 | typedef itk::SHCoefficientsToGFAImageFilter FilterType;
34 | FilterType::Pointer filter = FilterType::New();
35 |
36 | if (_Power==1)
37 | {
38 | filter->SetInput(shImage);
39 | }
40 | else
41 | {
42 | typedef itk::SHCoefficientsPowerImageFilter FilterType;
43 | FilterType::Pointer shFilter = FilterType::New();
44 |
45 |
46 | shFilter->SetInput(shImage);
47 | shFilter->SetPower(_Power);
48 | shFilter->SetSHRank(utl::DimToRankSH(shImage->GetNumberOfComponentsPerPixel()));
49 |
50 | shFilter->Update();
51 |
52 | VectorImageType::Pointer shPowerImage = shFilter->GetOutput();
53 | filter->SetInput(shPowerImage);
54 | }
55 |
56 | filter->Update();
57 | ImageType::Pointer gfaImage = filter->GetOutput();
58 |
59 | itk::SaveImage(gfaImage, _OutputFile);
60 |
61 | return 0;
62 | }
63 |
--------------------------------------------------------------------------------
/Applications/DiffusionModels/SHCoefficientsToSphericalFunctionSamples.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Diffusion Models
4 | Spherical Harmonic coefficients To Spherical Function Samples
5 | conversion from SH coefficients to spherical function samples.
6 |
7 | Jian Cheng (jian.cheng.1983@gmail.com)
8 |
9 |
10 |
11 |
12 | _InputSHFile
13 | Input image file where each voxel contains a vector of SH coefficients.
14 | 0
15 | input
16 |
17 |
18 |
19 | _OutputFile
20 | Output image file where each voxel contains a vector of spherical function samples.
21 | 1
22 | input
23 |
24 |
25 |
26 | _dataOrientationsFile
27 |
28 | Text file that contains the gradient orientations of the data
29 | 2
30 | input
31 |
32 |
33 |
34 | _Power
35 | Power argument. 1.0: original value on mesh, 2.0: pow 2, 0.5: sqrt.
36 | pow
37 | 1.0
38 |
39 |
40 |
41 | _Debug
42 |
43 | debug
44 | --debug
45 | false
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Applications/SamplingScheme/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_clp_application(OrientationStatistics OrientationStatistics ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
3 | add_clp_application(SamplingSchemeQSpaceIncrementalEstimation SamplingSchemeQSpaceIncrementalEstimation ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
4 | add_clp_application(SamplingSchemeQSpaceIMOCEstimation SamplingSchemeQSpaceIMOCEstimation ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
5 | add_clp_application(SamplingSchemeQSpace1OptEstimation SamplingSchemeQSpace1OptEstimation ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
6 | add_clp_application(SamplingSchemeQSpaceRandomEstimation SamplingSchemeQSpaceRandomEstimation ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
7 |
8 | add_clp_application(SamplingSchemeDistance SamplingSchemeDistance ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
9 |
--------------------------------------------------------------------------------
/Applications/SamplingScheme/SamplingSchemeDistance.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sampling Scheme
4 | Distance between Two Single Sampling Schemes
5 | Calculate the distance (maximum of the minimal angles) between two single shell sampling schemes. \n\
6 | Examples: \n\
7 | SamplingSchemeDistance grad1.txt grad2.txt
8 |
9 |
10 | Jian Cheng (jian.cheng.1983@gmail.com)
11 |
12 |
13 |
14 | Input/Output Parameters
15 |
16 |
17 | _InputFile1
18 | Input gradient File 1.
19 | 0
20 |
21 |
22 |
23 | _InputFile2
24 | Input gradient File 2.
25 | 1
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | _Debug
34 | debug
35 | debug
36 | false
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/Applications/SamplingScheme/SamplingSchemeQSpaceRandomEstimation.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file SamplingSchemeQSpaceRandomEstimation.cxx
3 | * @brief
4 | * Created "01-17-2017
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 |
12 |
13 | #include "utl.h"
14 | #include "itkSamplingSchemeQSpaceWriter.h"
15 | #include "itkSamplingSchemeQSpace.h"
16 |
17 | #include "SamplingSchemeQSpaceRandomEstimationCLP.h"
18 |
19 | /**
20 | * \brief randome generator for single and multiple shell sampling scheme
21 | * \author Jian Cheng (jian.cheng.1983@gmail.com)
22 | */
23 | int
24 | main (int argc, char const* argv[])
25 | {
26 |
27 | PARSE_ARGS;
28 |
29 | typedef itk::SamplingSchemeQSpace SamplingType;
30 | typedef SamplingType::Pointer SamplingPointer;
31 |
32 | utlGlobalException(_NumberOfSamples.size()==0, "should give the numbers of samples in shells");
33 |
34 | SamplingPointer scheme = SamplingType::New();
35 | scheme->GenerateFromRandomPoints(_NumberOfSamples);
36 |
37 | typedef itk::SamplingSchemeQSpaceWriter WriterType;
38 | WriterType::Pointer writer = WriterType::New();
39 | writer->SetSampling(scheme);
40 | writer->SetOrientationFile(_OutputOrientations);
41 | writer->SaveSingleShellOn();
42 | writer->SaveAllShellsInOneFileOff();
43 | writer->Update();
44 |
45 | return 0;
46 | }
47 |
48 |
--------------------------------------------------------------------------------
/Applications/SamplingScheme/SamplingSchemeQSpaceRandomEstimation.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sampling Scheme
4 | Random generator for schemes
5 | Random generator for multi-shell schemes.\n\
6 | Examples: \n\
7 | SamplingSchemeQSpaceRandomEstimation grad.txt --numberOfSamples 60 \n\
8 | SamplingSchemeQSpaceRandomEstimation grad.txt --numberOfSamples 28,28,28 \n\
9 | Reference: \n\
10 | Jian Cheng, Dinggang Shen, Pew-Thian Yap, Peter J. Basser, "Single- and Multiple-Shell Uniform Sampling Schemes for Diffusion MRI Using Spherical Codes", IEEE Transactions on Medical Imaging (TMI), 2017.
11 |
12 |
13 | Jian Cheng (jian.cheng.1983@gmail.com)
14 |
15 |
16 |
17 | Input/Output Parameters
18 |
19 |
20 | _OutputOrientations
21 | Output orientation file(s), single shell or multiple shells.
22 | 0
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | _NumberOfSamples
31 |
32 | number of samples in single/multiple shells.
33 | numberOfSamples
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/Applications/Scripts/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | file(GLOB pyfiles *.py)
3 | file(GLOB shfiles *.sh)
4 |
5 | set(copy_files ${pyfiles} ${shfiles})
6 | # message("copy_files=${copy_files}")
7 |
8 | file(MAKE_DIRECTORY ${DMRITOOL_BINARY_DIR}/bin)
9 | file(COPY ${copy_files} DESTINATION ${DMRITOOL_BINARY_DIR}/bin)
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Applications/Scripts/CombineVTKPolyData.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | """
3 | Description: Combine several vtk files into one vtk file.
4 |
5 | Usage:
6 | CombineVTKPolyData.py ... -o [-v]
7 | CombineVTKPolyData.py (-h | --help)
8 |
9 | Options:
10 | -h --help Show this screen.
11 | -v --verbose Verbose
12 | -o --output Output file
13 |
14 | Examples:
15 | CombineVTKPolyData.py file1.vtk file2.vtk -o file_combine.vtk
16 | CombineVTKPolyData.py file1.vtk -o file_combine.vtp
17 |
18 | Author(s): Jian Cheng (jian.cheng.1983@gmail.com)
19 | """
20 |
21 | import vtk
22 | from docopt import docopt
23 |
24 | import utlVTK
25 | import utlDMRITool as utl
26 |
27 |
28 | def main():
29 |
30 | args = docopt(utl.app_doc(__doc__), version='1.0')
31 |
32 | if (args['--verbose']):
33 | print(args)
34 |
35 | append = vtk.vtkAppendPolyData()
36 |
37 | for inputFile in args['']:
38 | polyData = utlVTK.readPolydata(inputFile)
39 | append.AddInputData(polyData)
40 |
41 | append.Update()
42 | utlVTK.savePolydata(append.GetOutput(), args['--output'])
43 |
44 |
45 | if __name__ == '__main__':
46 | main()
47 |
--------------------------------------------------------------------------------
/Applications/Scripts/README.md:
--------------------------------------------------------------------------------
1 | Scripts
2 | =======
3 |
4 | This folder contains some scripts in python and bash.
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Applications/Scripts/VTKPolyData_gui.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | '''
4 | Description: GUI for VTKPolyData.py.
5 | '''
6 |
7 | import sys
8 |
9 | import utlDMRITool as utl
10 | import VTKPolyData
11 |
12 | from gooey import Gooey
13 |
14 | @Gooey(program_name='VTKPolyData @ dmritool',default_size=(1000, 800))
15 | def main():
16 | VTKPolyData.main()
17 |
18 | if __name__ == '__main__':
19 | if '-h' in sys.argv or '--help' in sys.argv:
20 | print(utl.app_doc(__doc__))
21 | else:
22 | main()
23 |
--------------------------------------------------------------------------------
/Applications/Scripts/__init__.py:
--------------------------------------------------------------------------------
1 |
2 | """
3 | Python Scripts for DMRITool
4 | """
5 |
--------------------------------------------------------------------------------
/Applications/Utilities/4DToVectorImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Converter
4 | 4D Image to Vector Image Converter
5 | Convert a 4D image to a vector image. \n\
6 | Examples: \n\
7 | 4DToVectorImageConverter 4dImage.nii.gz vectorImage.nii.gz
8 |
9 |
10 | http://www.unc.edu/~ptyap
11 |
12 | Pew-Thian Yap (ptyap@med.unc.edu)
13 |
14 |
15 | http://www.unc.edu/~ptyap
16 |
17 |
18 |
19 |
20 | _InputFile
21 |
22 | Input file.
23 | 0
24 | input
25 |
26 |
27 |
28 | _OutputFile
29 |
30 | Output file.
31 | 1
32 | output
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Applications/Utilities/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_clp_application(ImageInfo ImageInfo ${ITK_LIBRARIES})
3 | add_clp_application(PrintImage PrintImage ${ITK_LIBRARIES} ${BLAS_LIBRARIES} ${GSL_LIBRARIES})
4 | add_clp_application(4DImageMath 4DImageMath ${ITK_LIBRARIES} ${BLAS_LIBRARIES} ${EXPRTK_LIBRARY})
5 | add_clp_application(VectorImageNormalization VectorImageNormalization ${ITK_LIBRARIES})
6 | # add_clp_application(ImageMultiplication ImageMultiplication ${ITK_LIBRARIES})
7 |
8 | add_clp_application(4DToVectorImageConverter 4DToVectorImageConverter ${ITK_LIBRARIES})
9 | add_clp_application(VectorTo4DImageConverter VectorTo4DImageConverter ${ITK_LIBRARIES})
10 |
11 | add_clp_application(TextFileOperator TextFileOperator)
--------------------------------------------------------------------------------
/Applications/Utilities/ImageMultiplication.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Image Operator
4 | Multiply a scale value to Image
5 | Scale each voxel in a 3D vector image or 4D image.
6 |
7 | Jian Cheng (jian.cheng.1983@gmail.com)
8 |
9 |
10 |
11 |
12 | _InputFile
13 |
14 | Input image file.
15 | 0
16 | input
17 |
18 |
19 |
20 | _OutputFile
21 |
22 | Output image file.
23 | 1
24 | output
25 |
26 |
27 |
28 | _Scale
29 |
30 | a scale value for multiplication.
31 | --scale
32 | 1.0
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Applications/Utilities/VectorImageNormalization.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | VectorImage Operator
4 | Normalize Vector Image
5 | Normalize each voxel in a VectorImage or SparseVectorImage.
6 |
7 | Jian Cheng (jian.cheng.1983@gmail.com)
8 |
9 |
10 |
11 |
12 | _InputFile
13 |
14 | Input image file.
15 | 0
16 | input
17 |
18 |
19 |
20 | _OutputFile
21 |
22 | Input output file.
23 | 1
24 | input
25 |
26 |
27 |
28 |
29 | _NormalizationType
30 |
31 | Type of normalization.
32 | NONE
33 | SUM
34 | L1NORM
35 | L2NORM
36 | type
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Applications/Utilities/VectorTo4DImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Converter
5 | Vector Image to 4D Image Converter
6 | Convert a vector image to a 4D image.\n\
7 | Examples: \n\
8 | VectorTo4DImageConverter vectorImage.nii.gz 4dImage.nii.gz
9 |
10 |
11 | http://www.unc.edu/~ptyap
12 |
13 | Pew-Thian Yap (ptyap@med.unc.edu)
14 |
15 |
16 | http://www.unc.edu/~ptyap
17 |
18 |
19 |
20 |
21 | _InputFile
22 |
23 | Input file.
24 | 0
25 | input
26 |
27 |
28 |
29 | _OutputFile
30 |
31 | Output file.
32 | 1
33 | output
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Applications/Visualization/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_clp_application(OrientationsViewer OrientationsViewer ${ITK_LIBRARIES} ${VTK_LIBRARIES})
3 |
4 | add_clp_application(MeshFromSHCoefficients MeshFromSHCoefficients ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${VTK_LIBRARIES} ${GSL_LIBRARIES})
5 | add_clp_application(MeshFromDiscreteFiberODF MeshFromDiscreteFiberODF ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${VTK_LIBRARIES} ${GSL_LIBRARIES})
6 | add_clp_application(MeshFromSphericalFunctionTessellatedSamples MeshFromSphericalFunctionTessellatedSamples ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${VTK_LIBRARIES} ${GSL_LIBRARIES})
7 | add_clp_application(MeshFromPeaks MeshFromPeaks ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${VTK_LIBRARIES} ${GSL_LIBRARIES})
8 | add_clp_application(MeshFromTensors MeshFromTensors ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${VTK_LIBRARIES})
9 | add_clp_application(MeshFromTracts MeshFromTracts ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${VTK_LIBRARIES})
10 |
11 | # add_clp_application(VectorImageToVTK VectorImageToVTK ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
12 | add_clp_application(VectorImageToVTKXMLImageConverter VectorImageToVTKXMLImageConverter ${ITK_LIBRARIES} ${VTK_LIBRARIES})
13 | add_clp_application(RGBImageToVTKXMLImageConverter RGBImageToVTKXMLImageConverter ${ITK_LIBRARIES} ${VTK_LIBRARIES})
14 | add_clp_application(VTKXMLImageToVectorImageConverter VTKXMLImageToVectorImageConverter ${ITK_LIBRARIES} ${VTK_LIBRARIES})
15 |
--------------------------------------------------------------------------------
/Applications/Visualization/RGBImageToVTKXMLImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Visualization
5 | RGB ITK Image to VTK XML Image Converter
6 | Convert an ITK image to a VTK XML image.
7 |
8 | http://www.unc.edu/~ptyap
9 |
10 | Pew-Thian Yap (ptyap@med.unc.edu)
11 |
12 |
13 | http://www.unc.edu/~ptyap
14 |
15 |
16 |
17 |
18 | _InputFile
19 |
20 | Input image file.
21 | 0
22 | input
23 |
24 |
25 |
26 | _OutputFile
27 |
28 | Output image data (.vti) file.
29 | 1
30 | output
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Applications/Visualization/VTKXMLImageToVectorImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Visualization
5 | VTK XML Image to Image Converter
6 | Convert a VTK XML image to an ITK image.
7 |
8 | http://www.unc.edu/~ptyap
9 |
10 | Pew-Thian Yap (ptyap@med.unc.edu)
11 |
12 |
13 | http://www.unc.edu/~ptyap
14 |
15 |
16 |
17 |
18 | _InputFile
19 |
20 | Input image data (.vti) file.
21 | 0
22 | input
23 |
24 |
25 |
26 | _OutputFile
27 |
28 | Output file.
29 | 1
30 | output
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Applications/Visualization/VectorImageToVTKXMLImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Visualization
5 | ITK Image to VTK XML Image Converter
6 | Convert an ITK image to a VTK XML image.
7 |
8 | http://www.unc.edu/~ptyap
9 |
10 | Pew-Thian Yap (ptyap@med.unc.edu)
11 |
12 |
13 | http://www.unc.edu/~ptyap
14 |
15 |
16 |
17 |
18 | _InputFile
19 |
20 | Input image file.
21 | 0
22 | input
23 |
24 |
25 |
26 | _OutputFile
27 |
28 | Output image data (.vti) file.
29 | 1
30 | output
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/CMake/DMRITOOLConfig.cmake.in:
--------------------------------------------------------------------------------
1 | #-----------------------------------------------------------------------------
2 | #
3 | # DMRITOOLConfig.cmake -
4 | # DMRITOOL CMake configuration file for external projects.
5 | #
6 | # This file is configured by DMRITOOL and used by the UseDMRITOOL.cmake module
7 | # to load DMRITOOL's settings for an external project.
8 |
9 | # # The DMRITOOL source tree.
10 | # SET(DMRITOOL_SOURCE_DIR "@PROJECT_SOURCE_DIRECTORIES@")
11 |
12 | # SET(DMRITOOL_BINARY_DIR "@PROJECT_BINARY_DIRECTORIES@")
13 |
14 | # The DMRITOOL include file directories.
15 | SET(DMRITOOL_INCLUDE_DIRS "@DMRITOOL_INCLUDE_DIRECTORIES@")
16 |
17 | # The DMRITOOL library directories.
18 | # Includes DMRITOOL libs directory and OTHER libs directories
19 | SET(DMRITOOL_LIBRARY_DIRS "@DMRITOOL_LIBRARY_DIRECTORIES@")
20 |
21 | # This includes all libraries that DMRITOOL generates.
22 | # SET(DMRITOOL_LIBRARIES "@DMRITOOL_LIBRARIES@")
23 |
24 | # The location of the UseDMRITOOL.cmake file.
25 | SET(DMRITOOL_USE_FILE "@DMRITOOL_USE_FILE@")
26 |
27 |
28 | SET(DMRITOOL_SETTINGS_DIR "${DMRITOOL_SETTINGS_DIRECTORY}")
29 |
30 | SET(DMRITOOL_USE_OPENMP "@DMRITOOL_USE_OPENMP@")
31 | SET(DMRITOOL_USE_MKL "@DMRITOOL_USE_MKL@")
32 | SET(DMRITOOL_USE_FASTLAPACK "@DMRITOOL_USE_FASTLAPACK@")
33 |
34 |
35 |
--------------------------------------------------------------------------------
/CMake/DownloadDoxygenTAG.cmake:
--------------------------------------------------------------------------------
1 | file( DOWNLOAD http://public.kitware.com/pub/itk/NightlyDoxygen/InsightDoxygenDocTag.gz
2 | ${ITKTAG_DIR}/InsightDoxygen.tag.gz SHOW_PROGRESS
3 | )
4 |
5 | file( DOWNLOAD http://www.vtk.org/files/nightly/vtkNightlyDoc.tag.gz
6 | ${VTKTAG_DIR}/vtkNightlyDoc.tag.gz SHOW_PROGRESS
7 | )
8 |
--------------------------------------------------------------------------------
/CMake/ExternalDoxygenTAG.cmake:
--------------------------------------------------------------------------------
1 |
2 | set(ExternalTAG_DIR ${DMRITOOL_DOXYGEN_OUTPUT_DIR})
3 |
4 | find_package(PythonInterp REQUIRED)
5 |
6 | add_custom_command( OUTPUT ${ExternalTAG_DIR}/InsightDoxygen.tag ${ExternalTAG_DIR}/vtkNightlyDoc.tag
7 | COMMAND ${CMAKE_COMMAND} -DITKTAG_DIR="${ExternalTAG_DIR}" -DVTKTAG_DIR="${ExternalTAG_DIR}" -P ${PROJECT_SOURCE_DIR}/CMake/DownloadDoxygenTAG.cmake
8 | COMMAND ${PYTHON_EXECUTABLE} "${PROJECT_SOURCE_DIR}/Utilities/GUnzip.py" "${ExternalTAG_DIR}/InsightDoxygen.tag.gz"
9 | COMMAND ${PYTHON_EXECUTABLE} "${PROJECT_SOURCE_DIR}/Utilities/GUnzip.py" "${ExternalTAG_DIR}/vtkNightlyDoc.tag.gz"
10 | COMMENT "Downloading and unpacking the Doxygen TAG"
11 | )
12 | add_custom_target( ExternalDoxygenTAG ${CMAKE_COMMAND} -E echo "Finished obtaining external Doxygen TAG"
13 | DEPENDS
14 | ${ExternalTAG_DIR}/InsightDoxygen.tag
15 | ${ExternalTAG_DIR}/vtkNightlyDoc.tag
16 | )
17 |
--------------------------------------------------------------------------------
/CMake/FindOpenBLAS.cmake:
--------------------------------------------------------------------------------
1 | # - Find the OpenBLAS library (no includes)
2 | # This module defines
3 | # OpenBLAS_LIBRARIES, the libraries needed to use OpenBLAS.
4 | # OpenBLAS_FOUND, If false, do not try to use OpenBLAS.
5 | # also defined, but not for general use are
6 | # OpenBLAS_LIBRARY, where to find the OpenBLAS library.
7 |
8 | SET(OpenBLAS_NAMES ${OpenBLAS_NAMES} openblas)
9 | FIND_LIBRARY(OpenBLAS_LIBRARY
10 | NAMES ${OpenBLAS_NAMES}
11 | PATHS /opt/OpenBLAS/lib /usr/local/lib64 /usr/local/lib/openblas-base /lib64 /usr/lib64 /lib /usr/lib /usr/local/lib /usr/lib/openblas-base
12 | )
13 |
14 | IF (OpenBLAS_LIBRARY)
15 | SET(OpenBLAS_LIBRARIES ${OpenBLAS_LIBRARY})
16 | SET(OpenBLAS_FOUND "YES")
17 | ELSE (OpenBLAS_LIBRARY)
18 | SET(OpenBLAS_FOUND "NO")
19 | ENDIF (OpenBLAS_LIBRARY)
20 |
21 |
22 | IF (OpenBLAS_FOUND)
23 | IF (NOT OpenBLAS_FIND_QUIETLY)
24 | MESSAGE(STATUS "Found the OpenBLAS library: ${OpenBLAS_LIBRARIES}")
25 | ENDIF (NOT OpenBLAS_FIND_QUIETLY)
26 | ELSE (OpenBLAS_FOUND)
27 | IF (OpenBLAS_FIND_REQUIRED)
28 | MESSAGE(FATAL_ERROR "Could not find the OpenBLAS library")
29 | ENDIF (OpenBLAS_FIND_REQUIRED)
30 | ENDIF (OpenBLAS_FOUND)
31 |
32 | # Deprecated declarations.
33 | GET_FILENAME_COMPONENT (NATIVE_OpenBLAS_LIB_PATH ${OpenBLAS_LIBRARY} PATH)
34 |
35 | MARK_AS_ADVANCED(
36 | OpenBLAS_LIBRARY
37 | )
38 |
39 |
--------------------------------------------------------------------------------
/CMake/PreventInBuildInstalls.cmake:
--------------------------------------------------------------------------------
1 | string(TOLOWER "${CMAKE_INSTALL_PREFIX}" _PREFIX)
2 | string(TOLOWER "${ITK_BINARY_DIR}" _BUILD)
3 | if("${_PREFIX}" STREQUAL "${_BUILD}")
4 | message(FATAL_ERROR
5 | "The current CMAKE_INSTALL_PREFIX points at the build tree:\n"
6 | " ${CMAKE_INSTALL_PREFIX}\n"
7 | "This is not supported."
8 | )
9 | endif()
10 |
--------------------------------------------------------------------------------
/CMake/PreventInSourceBuilds.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # This function will prevent in-source builds
3 | function(AssureOutOfSourceBuilds)
4 | # make sure the user doesn't play dirty with symlinks
5 | get_filename_component(srcdir "${CMAKE_SOURCE_DIR}" REALPATH)
6 | get_filename_component(bindir "${CMAKE_BINARY_DIR}" REALPATH)
7 |
8 | # disallow in-source builds
9 | if("${srcdir}" STREQUAL "${bindir}")
10 | message("######################################################")
11 | message("# DMRITOOL should not be configured & built in the DMRITOOL source directory")
12 | message("# You must run cmake in a build directory.")
13 | message("######################################################")
14 | message(FATAL_ERROR "Quitting configuration")
15 | endif()
16 | endfunction()
17 |
18 | AssureOutOfSourceBuilds()
19 |
--------------------------------------------------------------------------------
/CMake/UseDMRITOOL.cmake.in:
--------------------------------------------------------------------------------
1 | #
2 | # This file sets up include directories, link directories, and
3 | # compiler settings for a project to use DMRITOOL. It should not be
4 | # included directly, but rather through the DMRITOOL_USE_FILE setting
5 | # obtained from DMRITOOLConfig.cmake.
6 | #
7 | if(DMRITOOL_USE_FILE_INCLUDED)
8 | return()
9 | endif()
10 | set(DMRITOOL_USE_FILE_INCLUDED 1)
11 |
12 | # Update CMAKE_MODULE_PATH so includes work.
13 | list(APPEND CMAKE_MODULE_PATH ${DMRITOOL_CMAKE_DIR})
14 |
15 |
16 | # Add include directories needed to use DMRITOOL.
17 | include_directories(BEFORE ${DMRITOOL_INCLUDE_DIRS})
18 |
19 | # Add link directories needed to use DMRITOOL.
20 | link_directories(${DMRITOOL_LIBRARY_DIRS})
21 |
22 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec003.txt:
--------------------------------------------------------------------------------
1 | -0.100796 0.994902 0.003109
2 | -0.9949 -0.100783 -0.004049
3 | -0.003715 -0.003501 0.999987
4 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec004.txt:
--------------------------------------------------------------------------------
1 | -0.02156 -0.304929 0.952131
2 | -0.94922 -0.06461 0.307906
3 | 0.491865 0.65679 0.571572
4 | 0.435796 -0.897108 0.072653
5 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec005.txt:
--------------------------------------------------------------------------------
1 | -0.810867 -0.496465 0.309866
2 | 0.307318 -0.931254 0.195761
3 | -0.171601 -0.145829 0.974314
4 | -0.894745 0.169209 -0.41328
5 | 0.13961 0.736549 0.661819
6 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec006.txt:
--------------------------------------------------------------------------------
1 | -0.006226 -0.064447 0.997902
2 | 0.636679 -0.653135 0.409945
3 | -0.399917 -0.82842 0.392157
4 | 0.789559 0.384929 0.47794
5 | -0.887689 0.101313 0.449159
6 | 0.152552 -0.851204 -0.502175
7 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec007.txt:
--------------------------------------------------------------------------------
1 | 0.055396 -0.824375 0.563326
2 | 0.811301 -0.575497 0.102927
3 | -0.229063 0.783589 0.577511
4 | -0.881413 -0.159849 0.444477
5 | 0.564952 0.817041 0.115211
6 | 0.707747 0.119062 0.696361
7 | -0.150399 -0.035322 0.987994
8 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec008.txt:
--------------------------------------------------------------------------------
1 | -0.590425 -0.804665 -0.062549
2 | 0.027408 -0.732319 -0.68041
3 | 0.756064 -0.645224 0.109787
4 | 0.952343 0.144115 0.268837
5 | 0.391908 -0.03299 0.919413
6 | 0.101437 -0.919831 0.378974
7 | -0.389232 -0.418658 0.820502
8 | -0.751151 0.241893 0.614215
9 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec009.txt:
--------------------------------------------------------------------------------
1 | 0.393918 -0.259108 0.881868
2 | 0.625857 0.591521 0.508337
3 | 0.517317 -0.817156 0.254244
4 | -0.758341 0.441699 0.479396
5 | -0.234181 0.114957 0.965373
6 | 0.958459 -0.08074 0.273564
7 | -0.041437 0.894887 0.444364
8 | -0.237557 -0.849808 0.470524
9 | 0.818447 0.402205 -0.410335
10 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec010.txt:
--------------------------------------------------------------------------------
1 | 0.557836 0.789965 0.254507
2 | 0.569859 -0.258762 -0.779937
3 | -0.195499 -0.880727 0.431393
4 | 0.932196 -0.349524 -0.094038
5 | 0.549517 -0.660507 0.511627
6 | -0.015038 -0.296982 0.954765
7 | 0.81859 0.0957 0.56635
8 | -0.833628 -0.392682 0.388415
9 | 0.175157 0.478983 0.860172
10 | -0.299722 0.912303 0.279053
11 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec011.txt:
--------------------------------------------------------------------------------
1 | 0.511351 0.804163 0.303054
2 | -0.794769 -0.503466 0.338916
3 | 0.174571 0.221229 0.95947
4 | -0.234636 -0.431883 0.870875
5 | 0.815945 0.188147 0.546657
6 | -0.981514 0.181966 0.059311
7 | -0.59954 0.800343 0.001858
8 | -0.081149 -0.946839 0.311306
9 | -0.636726 0.218439 0.739503
10 | 0.517936 -0.498952 0.69483
11 | -0.1612 0.795247 0.584462
12 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec012.txt:
--------------------------------------------------------------------------------
1 | 0.42518 0.315653 0.848284
2 | 0.185196 -0.382898 0.905037
3 | -0.480267 -0.117082 0.869273
4 | -0.477164 -0.715637 0.510077
5 | -0.702985 0.558424 -0.440426
6 | -0.707505 -0.69026 -0.151584
7 | 0.944077 0.041899 -0.327051
8 | -0.264785 0.510148 0.818314
9 | 0.918467 0.068806 0.389467
10 | 0.085525 0.922253 0.377009
11 | -0.144817 0.947629 -0.284652
12 | -0.704094 0.656651 0.270298
13 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec013.txt:
--------------------------------------------------------------------------------
1 | 0.608489 0.354732 0.709863
2 | 0.840005 0.542193 0.020474
3 | -0.380743 -0.814648 0.437474
4 | 0.207531 -0.233095 0.950051
5 | -0.789643 0.613015 -0.025996
6 | -0.93746 -0.021576 0.347425
7 | 0.304986 -0.753712 0.582152
8 | 0.873326 -0.161334 0.459645
9 | 0.321048 0.871575 0.370521
10 | -0.486692 -0.248656 0.837437
11 | -0.041337 0.427363 0.903135
12 | -0.582926 0.527413 0.618088
13 | -0.220542 0.971625 0.085473
14 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec014.txt:
--------------------------------------------------------------------------------
1 | -0.52923 -0.838809 0.127733
2 | -0.502637 0.855008 -0.127741
3 | -0.313344 0.635274 0.705863
4 | -7e-06 3e-06 1
5 | 0.601859 0.028092 -0.798108
6 | -0.33312 -0.625125 -0.705868
7 | 0.923984 0.258254 -0.282062
8 | 0.301096 -0.657339 0.69083
9 | 0.821113 -0.458657 -0.339715
10 | 0.835101 0.432657 0.339727
11 | -0.015439 -0.98355 -0.179977
12 | 0.915418 -0.28713 0.282075
13 | 0.321591 0.647564 -0.690826
14 | 0.600669 -0.04697 0.798117
15 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec015.txt:
--------------------------------------------------------------------------------
1 | 0.957387 -0.187071 0.220034
2 | 0.190618 0.585245 0.788133
3 | 0.325492 -0.844583 -0.425129
4 | 0.022796 -0.678409 0.734331
5 | -0.596977 -0.258722 0.759395
6 | -0.41625 0.343103 0.842031
7 | 0.734448 0.292307 0.612489
8 | 0.581881 -0.362502 0.728016
9 | 0.928822 0.354407 -0.108098
10 | -0.861661 0.322776 0.391608
11 | 0.52577 0.761172 -0.379714
12 | -0.034273 0.991162 -0.128153
13 | 0.084508 -0.056169 0.994838
14 | 0.630413 -0.756662 0.173326
15 | 0.491239 0.826626 0.274542
16 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec016.txt:
--------------------------------------------------------------------------------
1 | 0.554077 0.486008 0.675866
2 | -0.495011 0.455826 0.739721
3 | 0.944451 0.224351 0.240166
4 | -0.818498 -0.461979 0.341521
5 | 0.629291 -0.144331 0.76365
6 | -0.302298 -0.787745 0.536725
7 | 0.011914 0.814134 0.580555
8 | 0.030663 -0.999031 0.031565
9 | 0.589202 -0.783569 -0.197131
10 | 0.562891 0.816715 0.127007
11 | 0.052951 0.220175 0.974022
12 | 0.067168 -0.416946 0.906446
13 | 0.878961 -0.413143 0.238202
14 | -0.522802 -0.177477 0.833775
15 | 0.409735 -0.76726 0.493386
16 | -0.919674 0.17072 0.35363
17 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec017.txt:
--------------------------------------------------------------------------------
1 | -0.084677 -0.798978 0.595368
2 | -0.285378 0.382557 0.878755
3 | 0.239575 -0.008537 0.97084
4 | -0.826274 0.479411 -0.295697
5 | -0.933601 0.272403 0.23278
6 | -0.585702 0.695361 0.416445
7 | 0.348167 0.536125 0.768993
8 | 0.687326 0.597291 -0.413312
9 | -0.788627 -0.069187 -0.610967
10 | 0.672858 0.682522 0.285353
11 | -0.729422 -0.025495 0.683588
12 | -0.028902 0.887279 0.460327
13 | 0.432026 -0.525413 0.733004
14 | -0.386679 0.91066 -0.145523
15 | -0.269733 -0.320655 0.907978
16 | -0.266447 -0.962145 0.05729
17 | -0.969994 -0.241445 -0.028553
18 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec018.txt:
--------------------------------------------------------------------------------
1 | -0.358616 0.232844 0.903979
2 | 0.990653 -0.112342 0.077367
3 | -0.28293 0.716688 0.637423
4 | -0.891249 -0.417614 0.176844
5 | -0.733882 -0.178601 0.655377
6 | 0.579701 -0.807043 -0.112374
7 | 0.00065 0.985575 0.169239
8 | 0.319924 -0.498679 0.805586
9 | -0.82253 0.367692 0.433874
10 | -0.412439 -0.753502 0.511984
11 | 0.153276 -0.903273 0.400754
12 | 0.228998 0.150756 0.961682
13 | 0.720077 -0.052737 0.691887
14 | 0.530172 0.845386 0.065124
15 | 0.737068 -0.56803 0.36616
16 | 0.309857 0.667672 0.676907
17 | -0.209598 -0.358489 0.9097
18 | 0.795763 0.431108 0.425331
19 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec019.txt:
--------------------------------------------------------------------------------
1 | -0.50619 -0.182434 0.842905
2 | -0.353038 -0.682139 0.640352
3 | 0.416262 0.804302 0.424057
4 | -0.364266 -0.916701 0.164226
5 | 0.265893 -0.875818 0.402794
6 | -0.788937 -0.296829 -0.538025
7 | -0.635112 0.74275 0.212027
8 | -0.853341 -0.307549 0.420979
9 | 0 0 1
10 | -0.170383 0.527122 -0.832533
11 | 0.617996 -0.195486 0.76149
12 | -0.126832 0.98249 0.136478
13 | 0.755313 -0.565523 0.331189
14 | -0.890859 0.267459 0.3672
15 | 0.987215 -0.062418 0.146668
16 | 0.317816 0.401218 0.859079
17 | -0.500303 0.374591 0.780627
18 | 0.131853 -0.737897 -0.661909
19 | -0.813935 -0.580022 -0.032945
20 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec020.txt:
--------------------------------------------------------------------------------
1 | -0.947966 0.033315 0.316625
2 | -0.399719 -0.680997 0.61357
3 | -0.224707 0.63519 0.738945
4 | -0.625805 -0.223904 0.747152
5 | 0.664622 0.112881 0.738604
6 | -0.855031 -0.480158 0.195886
7 | -0.25613 0.083729 0.963009
8 | -0.198427 0.183236 -0.962835
9 | 0.168344 0.896561 0.409682
10 | -0.505636 -0.860974 0.055276
11 | 0.690315 -0.40391 0.600269
12 | -0.002786 -0.980688 0.195559
13 | -0.966326 -0.047679 -0.252866
14 | -0.428878 0.867093 0.253402
15 | 0.490998 -0.8118 0.316073
16 | 0.109684 -0.655863 0.746869
17 | 0.701264 0.583572 0.409477
18 | -0.862283 0.506426 0.000331
19 | -0.688646 0.405965 0.600798
20 | 0.266429 0.453089 0.850721
21 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec021.txt:
--------------------------------------------------------------------------------
1 | 0.281102 0.66465 0.692259
2 | 0.912517 0.3303 -0.241279
3 | -0.523441 -0.49841 0.691084
4 | 0.959417 -0.211461 -0.186559
5 | -0.737697 -0.614913 -0.278721
6 | -0.67194 0.628624 0.391572
7 | -0.59305 -0.7734 0.223929
8 | 0.214257 0.116502 0.969805
9 | 0.409038 -0.735521 0.54009
10 | 0.953042 0.036026 0.300687
11 | -0.738786 0.080476 0.669118
12 | 0.629538 -0.272009 0.7278
13 | -0.348436 0.936659 -0.035541
14 | -0.297481 -0.074546 0.951813
15 | -0.282864 0.460513 0.841377
16 | 0.065572 -0.476145 0.876918
17 | 0.240577 0.958924 0.150293
18 | -0.804358 0.556622 -0.2078
19 | 0.661996 0.272751 0.698118
20 | -0.108159 -0.886921 0.449079
21 | -0.183756 0.858018 0.479623
22 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec022.txt:
--------------------------------------------------------------------------------
1 | -0.882341 0.332209 -0.333333
2 | -0.352361 -0.935864 0
3 | 0.986663 0.162779 0
4 | 0.341948 0.773385 0.533805
5 | -0.498797 0.682828 -0.533805
6 | 0.728872 0.598025 -0.333333
7 | -0 -0 1
8 | 0.634302 -0.773086 0
9 | 0.15869 -0.961879 0.222724
10 | 0.087078 -0.527812 0.844886
11 | 0.41356 0.339318 0.844886
12 | -0.840745 -0.090557 0.533805
13 | 0.446341 0.366214 -0.816497
14 | -0.540321 0.203436 -0.816497
15 | -0.825279 -0.184302 -0.533805
16 | 0.912357 -0.34351 -0.222724
17 | -0.753667 -0.618369 -0.222724
18 | 0.253029 0.806863 -0.533805
19 | -0.57225 0.622562 0.533805
20 | -0.153469 0.930235 0.333333
21 | -0.09398 0.56965 0.816497
22 | 0.500637 -0.188494 -0.844886
23 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec023.txt:
--------------------------------------------------------------------------------
1 | 0.461401 -0.470194 0.752347
2 | -0.001035 -0.702076 0.712101
3 | 0.335322 0.027683 0.941697
4 | -0.165846 0.814522 0.555922
5 | 0.663968 0.730147 -0.161344
6 | 0.801328 -0.534568 0.268534
7 | 0.604447 -0.778192 -0.170471
8 | 0.411647 0.852388 0.322461
9 | -0.640902 -0.026697 0.767158
10 | 0.788165 -0.084222 0.609674
11 | -0.080094 0.992163 0.095902
12 | 0.223489 0.927836 -0.298619
13 | 0.991384 -0.050116 0.121023
14 | 0.903221 0.247278 -0.350777
15 | -0.871316 -0.449293 -0.197343
16 | 0.896749 -0.315784 -0.310034
17 | -0.525387 -0.54106 0.656675
18 | -0.188149 0.259579 0.947216
19 | 0.20072 0.574644 0.793408
20 | -0.128638 -0.262416 0.956342
21 | 0.378311 -0.859291 0.344239
22 | 0.644524 0.418362 0.639971
23 | -0.564167 0.497659 0.658826
24 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec024.txt:
--------------------------------------------------------------------------------
1 | 0.132723 0.739879 -0.659517
2 | -0.918278 -0.379929 0.11144
3 | -0.965426 0.153303 0.210835
4 | 0.608607 -0.784469 0.119187
5 | 0.63915 0.437609 0.632444
6 | 0.789542 0.209334 -0.576891
7 | 0.135008 -0.36254 0.922138
8 | 0.344276 0.093474 0.934204
9 | 0.682349 0.70647 0.187884
10 | 0.141671 0.550473 0.822745
11 | 0.699577 -0.167742 0.69459
12 | -0.591356 -0.690452 0.416621
13 | 0.935168 0.136207 0.326968
14 | 0.644819 -0.248547 -0.722795
15 | -0.727042 0.600675 0.332565
16 | -0.156172 0.940576 -0.30154
17 | -0.19618 0.149388 0.969122
18 | 0.293367 0.952754 -0.078708
19 | 0.467415 -0.628758 0.621439
20 | 0.242627 0.862959 0.443209
21 | -0.321942 0.668161 0.670756
22 | 0.229728 -0.943726 -0.237921
23 | -0.391999 -0.321717 0.861879
24 | 0.887686 -0.387799 0.248245
25 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec025.txt:
--------------------------------------------------------------------------------
1 | -0.390766 0.445739 0.805368
2 | -0.207574 -0.064662 0.97608
3 | -0.69512 -0.716447 0.059252
4 | 0.603415 -0.536675 0.589806
5 | 0.869788 -0.131387 0.475612
6 | 0.348154 0.902751 0.252644
7 | -0.841901 -0.429795 -0.326312
8 | 0.026932 0.992875 -0.116078
9 | 0.199282 -0.822464 0.532766
10 | -0.866657 -0.349331 0.356193
11 | 0.328448 -0.24319 0.912678
12 | -0.536597 -0.448887 0.714537
13 | -0.639476 0.653882 0.404362
14 | 0.137832 0.291341 0.946638
15 | 0.900413 -0.230926 -0.368687
16 | -0.37291 -0.822287 0.429862
17 | -0.668219 0.036606 0.743064
18 | -0.229908 0.922003 0.311534
19 | 0.002286 0.727683 0.68591
20 | 0.487929 0.607072 0.627207
21 | -0.868181 0.488192 -0.089047
22 | -0.997594 -0.063085 -0.028748
23 | -0.057425 -0.548469 0.834196
24 | 0.61308 0.142607 0.777043
25 | -0.522776 0.844195 -0.118489
26 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec026.txt:
--------------------------------------------------------------------------------
1 | -0.170472 -0.438955 0.882189
2 | 0.554683 -0.770371 0.314414
3 | 0.345112 -0.727674 -0.59278
4 | -0.416733 0.254294 0.872736
5 | -0.763875 0.349438 0.542576
6 | 0.747465 -0.374683 0.548551
7 | 0.284346 -0.587046 0.757974
8 | 0.636315 -0.740927 -0.214778
9 | -0 0 1
10 | 0.432938 0.379714 0.817546
11 | 0.006321 0.520762 0.853679
12 | 0.451156 -0.136178 0.881994
13 | -0.150889 -0.863141 -0.481893
14 | 0.599057 0.67613 0.428928
15 | 0.226535 0.973861 -0.016605
16 | -0.946988 -0.026404 0.320181
17 | -0.625272 -0.775587 0.0866
18 | -0.765174 -0.460884 0.449549
19 | -0.363201 -0.745474 0.558887
20 | 0.895953 -0.443971 0.012599
21 | -0.592938 -0.176069 0.785763
22 | 0.079483 -0.89904 0.430592
23 | -0.903853 -0.419147 -0.08582
24 | 0.978816 -0.037941 0.201195
25 | 0.791067 0.176959 0.585575
26 | -0.233199 0.968071 0.091965
27 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec027.txt:
--------------------------------------------------------------------------------
1 | 0.463021 -0.849503 0.252896
2 | 0.091872 -0.4351 0.895683
3 | 0.113035 0.782286 0.612578
4 | -0.782141 -0.478793 0.398763
5 | 0.618257 -0.507255 0.600376
6 | 0.383776 0.378376 0.842347
7 | -0.202217 0.95768 0.204833
8 | 0.605451 0.671866 0.426645
9 | 0.905808 0.410461 0.105043
10 | 0.994425 -0.009222 -0.105043
11 | 0.506335 -0.118428 0.854166
12 | 0.908941 -0.121717 0.398763
13 | 0.867349 -0.482561 0.121824
14 | 0.63648 -0.747878 -0.188604
15 | -0.598218 -0.792019 0.121824
16 | -0.415234 -0.313019 0.854166
17 | -0.503985 0.190923 0.842346
18 | -0 -0 1
19 | -0.094212 0.44618 0.88997
20 | 0.162534 -0.769747 0.61731
21 | 0.769074 0.251434 0.587627
22 | 0.825388 -0.369741 -0.426645
23 | -0.080058 -0.964176 0.252896
24 | -0.805072 -0.080951 0.587627
25 | -0.279795 -0.941352 -0.188604
26 | -0.419649 0.669808 0.612578
27 | -0.360407 -0.713902 0.600376
28 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec028.txt:
--------------------------------------------------------------------------------
1 | -0.200535 0.176758 0.963609
2 | -0.789706 0.093773 -0.606277
3 | -0.634769 0.43403 0.639286
4 | 0.371816 -0.791058 0.485778
5 | 0.295843 0.516228 0.803732
6 | 0.558554 0.721872 0.408556
7 | 0.757931 0.348475 0.551458
8 | -0.769718 0.520916 -0.369026
9 | -0.072981 -0.922968 0.377894
10 | -0.814183 -0.367904 0.449169
11 | 0.836984 -0.511974 -0.193235
12 | -0.567532 0.822113 -0.045132
13 | -0.936615 0.064113 0.344444
14 | -0.951494 -0.29266 -0.094916
15 | 0.097786 0.871555 0.480448
16 | 0.744405 0.665315 -0.056724
17 | 0.414048 0.09913 0.904841
18 | -0.01074 -0.63629 0.771375
19 | 0.459723 -0.405579 0.790038
20 | 0.04834 -0.194793 0.979652
21 | -0.418882 0.803886 0.422262
22 | -0.173571 0.588245 0.789836
23 | -0.487511 -0.721184 0.492166
24 | -0.406398 -0.371802 0.834628
25 | 0.35746 0.933785 0.016391
26 | -0.132835 0.98966 0.054113
27 | -0.977329 0.156583 -0.142513
28 | -0.641476 0.004168 0.767132
29 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec029.txt:
--------------------------------------------------------------------------------
1 | -0.005354 0.838993 0.544116
2 | -0.81308 0.58166 0.023934
3 | -0.704906 -0.61478 0.353769
4 | -0.075777 0.995211 0.061751
5 | 0.481696 -0.869085 0.112513
6 | 0.861387 0.263749 0.434106
7 | -0.139595 -0.323021 0.93604
8 | -0.137055 0.154882 0.97838
9 | 0.736312 0.666344 0.117604
10 | 0.148443 -0.885577 0.440135
11 | 0.274554 -0.090726 0.957282
12 | -0.517675 -0.645708 -0.561314
13 | 0.556108 0.381572 -0.738341
14 | -0.347114 0.54935 0.760083
15 | 0.555705 0.242041 0.795367
16 | -0.97403 0.168711 0.151007
17 | 0.338337 0.907573 -0.248675
18 | 0.150825 0.499473 0.8531
19 | -0.225735 -0.715029 0.661647
20 | 0.928918 -0.196774 0.313674
21 | 0.958288 0.284151 -0.030686
22 | 0.674417 -0.210137 0.707817
23 | -0.349431 -0.911036 -0.218888
24 | 0.274834 -0.561372 0.780594
25 | -0.469528 0.803671 0.365589
26 | -0.861943 -0.128115 0.490552
27 | 0.642962 -0.608202 0.465499
28 | -0.569978 0.095177 0.816129
29 | -0.754108 0.41902 0.505711
30 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec030.txt:
--------------------------------------------------------------------------------
1 | -0.546405 0.619202 0.563943
2 | -0.398931 -0.600006 0.693432
3 | 0.587973 0.521686 0.618168
4 | 0.055894 -0.991971 -0.113444
5 | -0.666933 -0.677984 0.309094
6 | 0.163684 0.533013 0.830123
7 | 0.542826 0.133898 0.829102
8 | -0.074751 -0.350412 0.933608
9 | 0.845751 -0.478624 -0.235847
10 | 0.767148 -0.610673 0.196372
11 | -0.28381 0.381633 0.879664
12 | 0.537228 -0.616249 0.575868
13 | -0.711387 0.197778 0.674398
14 | 0.886511 0.219025 0.407586
15 | 0.296061 0.842985 0.449136
16 | -0.93754 -0.34099 0.068877
17 | 0.398833 0.917023 0.000835
18 | 0.097278 -0.711949 0.69546
19 | -0.311534 0.908623 -0.278121
20 | -0.432043 -0.089758 0.897375
21 | -0.94998 0.03081 0.310788
22 | 0.146722 -0.811981 -0.564942
23 | -0.172201 -0.908573 0.38058
24 | 0.507209 -0.848578 -0.150513
25 | -0.730808 -0.654136 -0.194999
26 | 0.077744 0.094961 0.992441
27 | 0.383976 -0.293959 0.8753
28 | 0.788208 -0.213656 0.57713
29 | -0.752333 -0.301447 0.585769
30 | -0.975732 0.165497 -0.143382
31 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec031.txt:
--------------------------------------------------------------------------------
1 | 0.204365 0.723592 0.65928
2 | 0.156581 0.952862 0.259878
3 | 0.502093 0.845243 -0.182942
4 | -0.462199 0.146202 0.874641
5 | -0.828951 -0.557577 0.044144
6 | 0.759598 -0.365808 0.537769
7 | -0.461678 -0.305697 0.832708
8 | 0.293945 0.300853 0.90724
9 | -0.744891 -0.458029 0.485125
10 | -0.053573 -0.007571 0.998535
11 | -0.801661 0.004602 0.597761
12 | 0.906689 -0.326546 -0.26699
13 | -0.634552 0.733992 0.242072
14 | 0.898661 0.303062 0.317116
15 | 0.386692 -0.15793 0.908585
16 | -0.14776 0.482285 0.863463
17 | -0.282948 0.955956 0.078033
18 | 0.077351 0.977208 -0.197689
19 | 0.415644 -0.565839 0.712086
20 | -0.367403 -0.708805 0.602171
21 | 0.809329 -0.571428 0.135854
22 | -0.024719 -0.45989 0.887632
23 | 0.971604 -0.128709 0.198542
24 | 0.605429 0.490255 0.626981
25 | -0.247787 0.807881 0.534723
26 | 0.072291 -0.816662 0.57257
27 | 0.474533 -0.823107 0.311951
28 | 0.728476 0.053702 0.682963
29 | -0.610171 0.488179 0.623997
30 | 0.973963 0.13719 -0.180485
31 | 0.571718 0.771067 0.280348
32 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec032.txt:
--------------------------------------------------------------------------------
1 | 0.519013 0.854199 0.031151
2 | 0.801211 -0.063809 0.59497
3 | 0.514837 0.726299 0.455448
4 | 0.117967 0.96576 0.231065
5 | -0.467151 -0.549242 0.692895
6 | 0.716315 0.197382 -0.669278
7 | 0.599777 -0.492419 0.630707
8 | -0.80002 0.223072 0.556963
9 | 0.029535 0.733272 -0.679294
10 | 0.37987 0.40282 0.832727
11 | -0.951171 -0.161172 0.263244
12 | -0.102942 0.448113 0.88803
13 | -0.760744 -0.566441 0.316879
14 | -0.697256 0.653755 0.294005
15 | -0.944892 0.293928 0.144174
16 | -0.353468 0.934011 0.05181
17 | -0.680714 0.715159 -0.15867
18 | 0.74759 0.362889 0.556256
19 | 0.890215 -0.360105 0.279001
20 | -0.378146 -0.845537 0.376926
21 | -0.281684 0.832306 0.477411
22 | 0.841861 0.525064 0.124811
23 | 0.478308 -0.041353 0.877218
24 | 0.231306 -0.428135 0.873612
25 | -0.20677 -0.303548 0.93011
26 | 0.978177 0.099085 0.182624
27 | 0.11871 0.750307 0.650344
28 | 0.004364 0.977355 -0.211562
29 | -0.348364 0.817823 -0.458049
30 | -0.435353 0.090815 0.895667
31 | -0.49852 0.514078 0.697998
32 | 0.058008 0.049572 0.997085
33 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec033.txt:
--------------------------------------------------------------------------------
1 | 0.089846 -0.796132 0.598416
2 | -0.889197 -0.4394 0.127498
3 | 0.878732 0.057482 -0.473842
4 | 0.298808 0.38383 0.873721
5 | -0.667462 0.734674 0.121444
6 | 0.902709 -0.168444 0.395908
7 | -0.466351 0.711849 0.525154
8 | -0.012642 0.898708 0.438366
9 | -0.796352 0.378713 0.471593
10 | 0.998344 0.021989 -0.053149
11 | 0.921461 -0.385101 -0.05105
12 | 0.287662 -0.049396 0.956457
13 | 0.511047 -0.533415 0.674017
14 | -0.317868 -0.543955 0.776578
15 | 0.671652 0.316978 0.669633
16 | -0.194675 -0.169063 0.966188
17 | 0.655941 -0.120039 0.745206
18 | -0.412577 0.8586 -0.304281
19 | -0.117792 0.238027 0.964089
20 | 0.139886 -0.45765 0.87806
21 | -0.697865 -0.651979 -0.296492
22 | -0.512479 0.326764 0.794098
23 | 0.288795 -0.949244 -0.124633
24 | -0.096132 0.63012 0.770524
25 | 0.752046 -0.576139 0.320141
26 | -0.910968 -0.265341 -0.315802
27 | -0.338708 -0.827785 0.447268
28 | 0.375133 0.714447 0.590627
29 | -0.692855 -0.487474 0.531338
30 | 0.325491 0.932049 0.159189
31 | -0.594859 -0.109432 0.796347
32 | -0.61486 -0.777249 0.133535
33 | -0.036549 -0.984926 0.169073
34 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec034.txt:
--------------------------------------------------------------------------------
1 | -0.227292 0.546703 0.805887
2 | 0.441153 0.200379 0.874776
3 | -0.384424 0.088677 0.918888
4 | -0.067113 0.675224 -0.734553
5 | 0.289281 0.820849 0.492466
6 | 0.215005 -0.899033 0.38146
7 | 0.057075 -0.994756 -0.084875
8 | -0.102712 -0.320427 0.941688
9 | 0.626386 0.75006 -0.212252
10 | 0.960624 0.097251 -0.260276
11 | 0.910037 0.414253 0.015075
12 | 0.018249 0.157257 0.987389
13 | -0.565995 0.716767 0.407302
14 | -0.879234 0.337122 0.336596
15 | 0.896546 0.191369 0.39948
16 | 0.688778 0.678433 0.255565
17 | -0.152798 0.855448 0.494835
18 | 0.192637 0.56215 0.804287
19 | -0.816991 0.576633 0.004479
20 | -0.766316 -0.448832 0.459684
21 | 0.709943 -0.075851 0.700162
22 | -0.501383 -0.327837 0.800711
23 | 0.360787 0.928343 0.089511
24 | -0.364122 -0.688358 0.627358
25 | -0.606184 0.401621 0.686471
26 | 0.304947 -0.219571 0.926712
27 | -0.45725 0.888461 0.0395
28 | -0.597904 0.722092 -0.347985
29 | 0.482321 -0.522788 0.702893
30 | 0.837085 -0.353846 0.41723
31 | 0.763822 0.008667 -0.645369
32 | 0.630903 0.474301 0.614003
33 | 0.196633 0.92554 -0.323591
34 | 0.98733 -0.123742 0.09933
35 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec035.txt:
--------------------------------------------------------------------------------
1 | 0.322845 0.73919 0.591075
2 | 0.952764 -0.275224 0.128425
3 | -0.435735 0.87147 -0.225112
4 | 0.822539 -0.152951 0.547755
5 | -0.163205 0.78517 0.597387
6 | 0.552607 -0.02906 0.832935
7 | 0.220823 -0.329362 0.918019
8 | 0.265105 0.866584 -0.422791
9 | 0.659292 0.675265 0.330685
10 | -0.203207 -0.263415 0.943037
11 | -0.011602 0.507891 0.861343
12 | -0.491542 0.444266 0.749009
13 | 0.829314 0.329633 -0.451199
14 | -0.589689 -0.148796 0.793805
15 | -0.786395 0.14227 0.601118
16 | 0.443586 0.895704 0.030746
17 | 0.752972 0.329843 0.569418
18 | 0.655995 0.70373 -0.272826
19 | 0.955898 0.155214 0.249334
20 | 0.506293 -0.505363 0.698767
21 | -0.004827 0.990475 -0.13761
22 | 0.14187 0.096952 0.985126
23 | 0.421916 0.400296 0.81348
24 | -0.313556 0.929918 0.192185
25 | -0.579323 0.685339 0.441243
26 | 0.980918 0.052353 -0.187243
27 | 0.122013 0.948813 0.29132
28 | -0.290694 0.157443 0.943774
29 | -0.078173 -0.635601 0.76805
30 | -0.211441 0.807358 -0.550877
31 | -0.497337 -0.557741 0.664515
32 | 0.734731 -0.565231 0.37508
33 | -0.878318 0.3791 0.291275
34 | 0.873713 0.486357 0.009089
35 | -0.723907 0.688934 0.036449
36 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec036.txt:
--------------------------------------------------------------------------------
1 | -0.442021 0.23372 0.866021
2 | 0.265297 0.963214 -0.042849
3 | 0.014198 0.835225 0.549726
4 | -0.91857 -0.395226 -0.005005
5 | -0.579713 0.813187 -0.051581
6 | 0.892537 0.236984 0.383687
7 | 0.843422 -0.180847 0.505899
8 | -0.745608 0.303434 0.593293
9 | 0.133929 -0.265066 0.954884
10 | -0.309793 0.89495 0.321082
11 | 0.327869 0.180018 0.927413
12 | 0.643428 -0.56508 0.516415
13 | 0.345805 0.874587 0.339876
14 | 0.057298 0.888801 -0.454697
15 | -0.316097 -0.214039 0.924267
16 | 0.344138 -0.857246 0.383013
17 | 0.663879 0.219903 0.714778
18 | -0.93786 -0.079616 0.337756
19 | 0.68296 0.605834 0.408082
20 | -0.01921 0.522484 0.852433
21 | 0.993716 -0.058561 0.095385
22 | 0.661588 0.749862 0.00275
23 | -0.397201 0.624181 0.672778
24 | -0.513865 -0.506286 0.692544
25 | 0.290595 -0.606963 0.739696
26 | 0.917284 -0.336405 -0.213123
27 | -0.122197 -0.615176 0.778862
28 | -0.126908 0.991808 -0.014502
29 | -0.06587 0.123218 0.990191
30 | -0.67379 0.661289 0.329703
31 | -0.788497 -0.485536 0.377527
32 | 0.540353 -0.214506 0.813638
33 | 0.382021 0.587004 0.713783
34 | 0.850692 -0.499691 0.163194
35 | -0.462873 -0.796214 0.389606
36 | -0.703715 -0.115243 0.701074
37 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec037.txt:
--------------------------------------------------------------------------------
1 | -0.954059 -0.257965 0.152396
2 | 0.385177 0.401219 0.831061
3 | -0.044825 0.566975 0.822514
4 | -0.671872 0.605565 -0.426473
5 | 0.175678 0.94616 0.271878
6 | -0.980206 0.191084 0.051793
7 | -0.802935 0.485758 0.345448
8 | 0.299326 0.945908 -0.125147
9 | 0.603043 -0.331384 0.725619
10 | -0.685088 -0.701521 0.196273
11 | 0.758506 0.089442 0.645499
12 | -0.894808 0.023151 0.44585
13 | 0.801753 -0.596312 0.040054
14 | -0.607684 -0.102556 0.787529
15 | 0.843509 0.515612 0.150454
16 | 0.190019 -0.349851 0.917331
17 | -0.675261 0.288604 0.678771
18 | 0.041084 -0.916783 0.397267
19 | -0.195784 -0.189168 0.962229
20 | 0.058929 0.149113 0.987063
21 | -0.95276 -0.136443 -0.271352
22 | 0.682823 0.489769 0.542106
23 | -0.557306 -0.797681 -0.230468
24 | 0.15362 -0.987511 -0.034965
25 | -0.389228 -0.780049 0.489923
26 | -0.326981 0.694221 -0.641202
27 | -0.43814 -0.474772 0.763299
28 | -0.762006 -0.416709 0.495682
29 | -0.155024 0.856206 0.492828
30 | -0.449239 0.868714 -0.208615
31 | -0.06428 -0.649466 0.757669
32 | -0.331738 0.249426 0.9098
33 | 0.297073 0.735335 0.609122
34 | 0.433035 -0.002622 0.901373
35 | 0.522125 -0.820246 -0.233628
36 | -0.892303 0.257373 -0.370883
37 | -0.451826 0.626854 0.634749
38 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec038.txt:
--------------------------------------------------------------------------------
1 | -0.676206 0.728972 -0.106518
2 | 0.072231 -0.908443 0.41172
3 | -0.389288 -0.08023 0.917615
4 | -0.676402 0.167071 0.717334
5 | -0.46069 -0.867151 0.189245
6 | 0.448263 0.400819 0.799002
7 | -0.246186 -0.764755 -0.595435
8 | 0.068469 0.500765 0.862871
9 | -0.823912 0.499391 0.267915
10 | 0.062498 -0.653811 0.754073
11 | -0.290923 -0.781577 0.551817
12 | -0.015735 0.115881 0.993138
13 | 0.441939 -0.752626 0.488102
14 | 0.920465 -0.07132 0.384262
15 | -0.909908 0.106315 0.400955
16 | 0.736329 -0.473462 0.483377
17 | 0.013905 -0.296972 0.954785
18 | 0.640695 0.626934 0.443242
19 | 0.908488 0.332755 -0.252833
20 | -0.210124 0.738705 0.64044
21 | 0.759884 0.25922 0.596138
22 | 0.061906 -0.944189 -0.323535
23 | -0.334017 0.36693 0.868214
24 | -0.751032 -0.660191 -0.009921
25 | -0.399527 -0.886702 -0.232673
26 | -0.662679 -0.597622 0.451337
27 | -0.49178 0.821935 0.28736
28 | 0.915422 -0.389028 0.103243
29 | 0.097537 0.994018 -0.049148
30 | -0.362266 -0.007743 -0.932043
31 | 0.325649 -0.942891 0.070062
32 | 0.67568 -0.125663 0.726405
33 | 0.408413 -0.434792 0.802592
34 | -0.370998 -0.468629 0.801715
35 | -0.592198 0.551955 0.587066
36 | 0.915494 0.345473 0.206201
37 | -0.724062 -0.239792 0.64671
38 | 0.999626 -0.004145 -0.027025
39 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec039.txt:
--------------------------------------------------------------------------------
1 | 0.347153 0.508688 0.787859
2 | -0.078282 0.94792 0.308739
3 | 0.631909 0.764615 0.126708
4 | 0.988533 0.143494 -0.047031
5 | 0.192917 -0.976621 0.094843
6 | 0.291491 0.834533 0.467534
7 | 0.498874 -0.585235 0.639237
8 | 0.801485 -0.597122 -0.032657
9 | -0.144644 -0.937323 0.317023
10 | 0.012081 -0.114745 0.993322
11 | -0.625179 -0.176163 0.76034
12 | 0.702102 -0.175371 0.690144
13 | 0.800827 -0.453784 0.390839
14 | -0.014742 0.694437 0.719403
15 | -0.878699 -0.17739 0.443193
16 | 0.192259 -0.833283 0.518339
17 | -0.921493 0.222 0.318694
18 | -0.366381 0.765325 0.52919
19 | 0.385601 0.11818 0.915066
20 | 0.549586 -0.791079 0.268604
21 | 0.920391 0.018063 0.390582
22 | -0.349828 0.074056 0.933882
23 | 0.364182 -0.286254 0.886245
24 | -0.632981 -0.531079 0.563285
25 | -0.001472 0.320596 0.947215
26 | 0.877627 0.410926 0.2468
27 | 0.076526 -0.565476 0.821207
28 | -0.530028 -0.80347 0.27112
29 | 0.500102 -0.8527 -0.150998
30 | -0.835436 -0.520972 0.175031
31 | -0.388262 0.461512 0.797658
32 | 0.703022 0.242172 0.668665
33 | -0.264781 -0.961753 -0.07016
34 | -0.293581 -0.379303 0.877462
35 | 0.623223 0.602331 0.498789
36 | -0.705112 0.213058 0.67633
37 | -0.703858 0.557815 0.439803
38 | -0.265884 -0.72169 0.639116
39 | 0.965898 -0.244797 0.084355
40 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec040.txt:
--------------------------------------------------------------------------------
1 | 0.558523 -0.643113 0.523886
2 | 0.118807 0.947226 0.297739
3 | 0.147131 -0.682186 0.716222
4 | 0.285042 -0.883821 0.37096
5 | 0.33525 -0.044445 0.94108
6 | 0.873413 0.184236 0.450784
7 | 0.499484 0.804442 0.32154
8 | 0.031536 -0.994644 0.098427
9 | -0.832278 0.540204 0.124473
10 | -0.832799 -0.464545 0.301072
11 | -0.350077 -0.199964 0.915129
12 | 0.822155 -0.501563 0.269251
13 | -0.896134 -0.097505 0.432939
14 | 0.354502 0.931427 -0.082298
15 | -0.382487 0.224761 0.896207
16 | 0.97257 -0.171596 -0.157042
17 | -0.675831 0.026545 0.736579
18 | 0.577818 -0.810686 0.094418
19 | 0.179984 -0.807595 -0.561602
20 | -0.480516 0.539719 0.691236
21 | -0.138537 -0.871912 0.469657
22 | -0.025579 0.097641 0.994893
23 | 0.519215 0.729128 -0.445857
24 | 0.637324 0.120443 0.761125
25 | 0.44201 -0.392731 0.806467
26 | -0.962447 0.132955 -0.236682
27 | 0.761366 -0.236438 0.603671
28 | 0.6353 0.388715 -0.667304
29 | -0.268758 -0.589576 0.761689
30 | 0.686201 0.725438 -0.053554
31 | 0.973461 0.228837 0.002569
32 | 0.818706 0.518341 0.24707
33 | 0.30404 0.375695 0.87545
34 | 0.299135 -0.937617 -0.177181
35 | -0.581244 0.729844 0.359837
36 | 0.030601 -0.342747 0.938929
37 | 0.789913 -0.345411 -0.506684
38 | -0.076637 0.518479 0.851649
39 | 0.232583 0.727661 0.645302
40 | 0.602447 0.514123 0.61052
41 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec041.txt:
--------------------------------------------------------------------------------
1 | 0.57024 -0.503812 0.648845
2 | -0.213208 -0.976102 0.042047
3 | -0.457635 -0.131533 0.879357
4 | 0.31677 -0.807971 0.49683
5 | 0.624689 -0.735275 0.262935
6 | -0.195457 -0.699901 0.686975
7 | 0.311562 -0.246405 0.917722
8 | -0.825116 0.560457 0.071214
9 | 0.889796 -0.039074 0.454683
10 | -0.652207 -0.285222 -0.702335
11 | -0.900608 0.221247 0.374105
12 | 0.526334 0.487232 -0.696834
13 | 0.244279 -0.961976 0.122185
14 | 0 0 1
15 | 0.041279 0.44323 0.895457
16 | 0.351628 0.178778 0.91891
17 | -0.077842 0.967549 0.240394
18 | -0.46523 -0.801424 0.375873
19 | 0.97531 -0.219224 0.026687
20 | 0.835478 -0.413691 0.361714
21 | 0.768507 0.143169 -0.623618
22 | -0.573996 -0.818799 -0.009854
23 | -0.535477 0.836017 0.119751
24 | -0.983473 -0.153943 -0.095302
25 | 0.381211 0.589665 0.712021
26 | 0.178675 -0.592369 0.785604
27 | -0.943716 -0.173476 0.281615
28 | -0.355285 0.812979 0.461343
29 | -0.620613 -0.677921 -0.394034
30 | 0.844211 0.371366 0.386516
31 | -0.137437 -0.36602 0.920402
32 | -0.357821 0.558649 0.748248
33 | -0.84343 -0.537235 -0.002233
34 | 0.649835 -0.123856 0.749916
35 | -0.307755 0.222194 0.925158
36 | -0.295019 -0.882404 -0.366506
37 | -0.687405 0.565538 0.455675
38 | -0.057362 -0.915503 0.3982
39 | 0.759638 0.528964 -0.378348
40 | -0.661319 0.24129 0.710237
41 | 0.015192 0.767478 0.640896
42 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec042.txt:
--------------------------------------------------------------------------------
1 | -0.398081 0.759978 0.513774
2 | -0.552704 0.436246 0.710076
3 | 0.033739 -0.058664 0.997707
4 | -0.826846 0.256869 0.500344
5 | -0.109287 0.949319 0.294702
6 | -0.862751 -0.174568 0.474538
7 | 0.830917 0.018557 0.556086
8 | 0.131261 -0.708656 0.693237
9 | 0.636126 0.638353 0.433416
10 | 0.349266 0.589509 0.728349
11 | -0.075739 -0.911351 0.404602
12 | 0.963324 0.254117 -0.086206
13 | 0.807793 0.58822 0.038308
14 | 0.538507 0.840319 0.062237
15 | 0.669202 -0.714242 0.205003
16 | 0.884388 0.33036 0.329728
17 | 0.353187 -0.847851 0.395483
18 | 0.828046 -0.387895 0.404818
19 | 0.63302 0.323865 0.703134
20 | 0.471747 0.820072 -0.32394
21 | 0.88639 -0.462936 0.00155
22 | 0.132193 0.338336 0.931694
23 | -0.186235 0.539339 0.821237
24 | -0.206069 0.975165 -0.081175
25 | 0.624803 -0.219936 0.749166
26 | 0.288831 -0.358754 0.887622
27 | -0.364703 -0.204777 0.908327
28 | -0.600328 -0.420416 0.680336
29 | 0.731451 -0.597018 -0.329468
30 | 0.185236 0.982546 -0.017063
31 | 0.415947 0.072692 0.906479
32 | 0.01988 0.777833 0.628157
33 | 0.305069 0.872705 0.381208
34 | 0.534377 -0.581454 0.613475
35 | 0.973964 -0.129556 -0.186035
36 | -0.75535 -0.554569 0.349141
37 | -0.646828 0.019773 0.76238
38 | 0.977793 -0.068381 0.198101
39 | -0.095416 -0.456877 0.884398
40 | -0.514263 0.848324 0.126016
41 | -0.290488 0.183591 0.939101
42 | -0.316725 -0.685919 0.655134
43 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec043.txt:
--------------------------------------------------------------------------------
1 | 0.327172 -0.332909 0.884381
2 | -0.707217 0.605258 0.365386
3 | 0.621561 0.3687 0.691175
4 | -0.868663 -0.397352 0.295864
5 | 0.669593 -0.295823 0.681274
6 | -0.09465 0.957781 0.271471
7 | 0.123828 -0.86934 0.47845
8 | 0.861175 0.349879 0.36873
9 | 0.460114 -0.633911 0.621653
10 | -0.957033 0.170378 -0.234645
11 | -0.525769 -0.848901 -0.054167
12 | -0.601393 -0.740231 0.300641
13 | 0.787918 -0.487166 0.376636
14 | -0.47998 0.867981 0.127389
15 | -0.37214 0.780485 0.50235
16 | -0.485079 0.493392 0.721985
17 | -0.132336 0.463386 0.876219
18 | -0.8053 0.274682 0.525397
19 | -0.51042 0.810062 -0.288568
20 | -0.22023 0.099346 0.970376
21 | -0.777915 -0.136173 0.613437
22 | 0.086576 -0.63134 0.770658
23 | 0.146883 0.008276 0.989119
24 | -0.184836 0.975408 -0.120059
25 | -0.089089 -0.3144 0.945101
26 | -0.288923 -0.629213 0.721536
27 | 0.240141 0.364283 0.899795
28 | -0.024708 0.758329 0.651404
29 | 0.625107 0.671246 0.398334
30 | -0.935819 0.333248 0.11484
31 | -0.624029 -0.504833 0.596432
32 | -0.767853 0.639891 -0.030674
33 | -0.98344 -0.171816 -0.057664
34 | 0.835538 0.017897 0.549141
35 | 0.338465 0.653977 0.676576
36 | -0.25802 -0.869623 0.420929
37 | -0.452894 -0.249633 0.855903
38 | 0.523477 0.038123 0.851186
39 | -0.959435 -0.005811 0.281869
40 | 0.818358 0.573503 0.037221
41 | -0.269155 -0.893014 -0.360669
42 | -0.188642 -0.980358 0.057555
43 | -0.563722 0.134783 0.814894
44 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec044.txt:
--------------------------------------------------------------------------------
1 | -0.596036 -0.656008 -0.463028
2 | -0.022036 -0.214364 0.976505
3 | 0.596617 -0.729594 0.334275
4 | 0.090359 0.890559 -0.445803
5 | 0.887971 0.455759 0.061578
6 | 0.311082 0.919639 0.239775
7 | 0.096871 0.625006 -0.774586
8 | 0.587039 -0.487625 0.646225
9 | -0.667177 -0.203258 -0.716632
10 | -0.746048 0.665787 0.011841
11 | -0.101943 0.941299 0.321813
12 | -0.689537 0.244984 0.681558
13 | 0.954141 -0.299066 -0.013245
14 | 0.181979 -0.745978 -0.640625
15 | -0.408008 -0.733166 0.544057
16 | 0.535432 -0.578156 -0.615669
17 | 0.646409 0.754447 0.113862
18 | 0.846978 -0.418792 0.327478
19 | 0.465343 -0.142186 0.873636
20 | 0.995382 0.093084 -0.023446
21 | -0.394107 -0.903817 0.166716
22 | -0.731363 -0.120353 0.671285
23 | 0.770722 -0.147546 0.619853
24 | -0.646607 -0.466494 0.603558
25 | 0.057423 0.516086 0.85461
26 | -0.892784 -0.307478 0.329234
27 | 0.809853 -0.476385 -0.342338
28 | -0.922154 0.096921 0.374484
29 | -0.209954 -0.788475 -0.578123
30 | -0.031432 -0.998855 0.036057
31 | 0.83669 0.354882 0.417143
32 | 0.242734 -0.434238 0.867478
33 | -0.945514 0.006311 -0.325521
34 | 0.504769 -0.795924 -0.334236
35 | -0.366949 -0.370753 0.853165
36 | -0.062489 0.144212 0.987572
37 | 0.430909 0.496456 0.753557
38 | 0.300561 0.170102 0.938471
39 | 0.398928 -0.916734 -0.021336
40 | 0.253944 -0.917845 0.305078
41 | 0.324389 -0.390635 -0.861496
42 | -0.70755 -0.658526 0.256351
43 | 0.426736 -0.000145 -0.904376
44 | -0.26707 0.730282 -0.628778
45 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec045.txt:
--------------------------------------------------------------------------------
1 | 0.298955 -0.215433 0.929631
2 | -0.297442 -0.87377 0.384777
3 | 0.632052 -0.773892 -0.04001
4 | 0.968554 0.133869 -0.209718
5 | 0.072197 0.787748 0.611752
6 | -0.837044 0.29011 -0.463889
7 | 0.019865 0.076051 0.996906
8 | -0.587741 -0.598292 0.544616
9 | 0.04473 -0.863975 0.501544
10 | -0.011159 -0.993184 0.116018
11 | -0.321757 -0.037976 0.94606
12 | 0.98463 -0.062219 0.163196
13 | 0.359032 -0.912025 0.198257
14 | -0.773305 0.546841 0.320879
15 | -0.08741 -0.337063 0.937416
16 | 0.728136 0.520034 0.446524
17 | -0.255219 0.676121 0.691175
18 | 0.162332 -0.57682 0.800579
19 | 0.43527 0.804446 0.404235
20 | 0.677012 -0.648409 0.348167
21 | -0.793036 -0.246694 0.556988
22 | 0.929835 0.34069 0.13906
23 | -0.848564 0.155392 0.50576
24 | 0.353515 0.189803 0.915971
25 | 0.385974 -0.74533 0.543606
26 | 0.638512 0.289412 0.713122
27 | -0.605468 0.449624 0.656694
28 | -0.058665 -0.952812 -0.297839
29 | -0.486302 -0.348482 0.801293
30 | -0.471106 0.772195 0.426349
31 | -0.598824 -0.773521 0.207543
32 | 0.551288 -0.444212 0.706228
33 | -0.628567 0.057489 0.775628
34 | 0.643981 -0.087707 0.759998
35 | 0.714346 0.688239 0.126635
36 | 0.874696 -0.47415 0.100445
37 | 0.277115 -0.9432 -0.183254
38 | -0.954924 0.243797 0.16936
39 | 0.054173 0.468508 0.881797
40 | -0.227749 -0.653133 0.722182
41 | 0.386933 0.580055 0.716812
42 | 0.358034 0.932553 0.046443
43 | 0.844205 0.484161 -0.230014
44 | -0.312274 0.341673 0.886422
45 | 0.874433 0.115438 0.471212
46 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec046.txt:
--------------------------------------------------------------------------------
1 | 0.695433 0.252224 0.672871
2 | -0.315506 0.80036 0.509785
3 | 0.693347 0.576227 0.432703
4 | 0.82039 -0.114337 0.560256
5 | 0.810799 0.041318 -0.583865
6 | 0.892979 -0.444929 -0.068017
7 | -0.381466 -0.466025 0.798313
8 | -0.660932 0.694959 0.283197
9 | -0.032971 -0.886047 0.462421
10 | 0.663946 -0.743873 0.076341
11 | -0.024528 0.93898 0.343095
12 | 0.848983 0.524501 0.06424
13 | -0.568647 0.551431 0.61038
14 | 0.831876 -0.44571 0.330642
15 | 0.395598 0.236689 0.887401
16 | -0.360723 -0.90435 0.2281
17 | 0.577381 -0.693169 0.431448
18 | -0.322062 0.906745 -0.272193
19 | -0.892349 -0.326999 0.311104
20 | -0.232602 0.135109 0.963142
21 | 0.142252 -0.011309 0.989766
22 | 0.278696 -0.709243 0.647536
23 | -0.125915 -0.253818 0.959021
24 | 0.408239 0.56412 0.717711
25 | -0.26641 0.509866 0.817962
26 | 0.366453 0.811359 0.455421
27 | -0.825321 0.339325 0.451336
28 | -0.581493 0.224931 0.781839
29 | -0.684826 -0.42436 0.592395
30 | -0.052206 -0.630855 0.774142
31 | -0.968247 0.085558 0.234901
32 | 0.593779 -0.424308 0.683659
33 | 0.028069 -0.996452 0.079344
34 | -0.68742 -0.672427 0.274403
35 | 0.042562 0.730393 0.6817
36 | -0.397632 -0.736256 0.547555
37 | 0.604551 0.789957 0.102403
38 | -0.516896 -0.126197 0.846695
39 | 0.248122 -0.386963 0.888085
40 | -0.898079 -0.234008 -0.372417
41 | 0.365573 -0.921872 -0.128483
42 | 0.066355 0.401248 0.913563
43 | 0.971788 -0.143029 0.187538
44 | 0.531045 -0.103411 0.84101
45 | -0.274516 -0.95311 -0.127367
46 | -0.982801 -0.183905 -0.016781
47 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec047.txt:
--------------------------------------------------------------------------------
1 | -0.235568 -0.268822 0.933939
2 | -0.354819 -0.154863 -0.92202
3 | -0.9454 0.25219 -0.206446
4 | -0.753631 -0.405973 0.51694
5 | -0.347493 0.929743 0.121764
6 | -0.857169 0.515027 0.00275
7 | 0.014396 0.36992 0.928952
8 | -0.863474 -0.020151 0.503991
9 | -0.106241 -0.915288 0.388537
10 | -0.480319 -0.738059 0.473881
11 | 0.6291 -0.767652 0.122246
12 | -0.168153 -0.696892 0.697184
13 | 0.295252 0.790159 0.537099
14 | -0.020288 0.697935 0.715873
15 | -0.841834 -0.33098 -0.426343
16 | 0.274851 -0.925622 0.260157
17 | -0.60388 -0.138815 0.784894
18 | -0.324496 0.482091 0.813812
19 | -0.308871 -0.929494 -0.201591
20 | 0.633596 -0.155534 0.757869
21 | -0.850171 0.373363 0.371227
22 | 0.299348 -0.209948 0.930759
23 | -0.66109 0.222194 0.716652
24 | 0.068233 -0.481456 0.87381
25 | -0.769491 0.440603 -0.462334
26 | 0 -0 1
27 | -0.535437 0.712932 -0.452808
28 | -0.730775 -0.648636 0.212697
29 | 0.861626 -0.042472 0.505764
30 | 0.62929 0.758702 0.168419
31 | -0.643732 0.722412 0.252449
32 | -0.463002 -0.479482 0.74547
33 | 0.645513 0.241953 0.724411
34 | 0.015388 0.999488 -0.028046
35 | -0.600231 0.551472 0.579312
36 | -0.348733 0.123167 0.929094
37 | 0.347116 0.510927 0.786425
38 | -0.935614 -0.277447 0.218286
39 | -0.980745 0.115406 0.157544
40 | 0.035249 -0.931276 -0.362606
41 | 0.459658 -0.493888 0.738098
42 | -0.865999 -0.490811 -0.095657
43 | -0.982639 -0.120539 -0.141032
44 | -0.413147 -0.898248 0.149865
45 | 0.61424 0.603194 0.508788
46 | -0.192843 0.766002 -0.613231
47 | -0.33398 0.793001 0.509516
48 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec048.txt:
--------------------------------------------------------------------------------
1 | -0.900302 0.079145 0.42801
2 | 0.726183 0.53802 0.42801
3 | 0.913389 0.376477 0.154874
4 | 0.188308 0.565148 0.803211
5 | -0.103414 0.354087 0.929477
6 | 0.333389 -0.942753 0.008279
7 | 0.692523 0.712545 0.112654
8 | -0.684916 0.058848 0.726242
9 | 0.611951 0.029447 0.790347
10 | -0.372141 0.04629 0.927021
11 | 0.286024 0.840328 -0.460476
12 | -0.545125 -0.295394 0.784589
13 | 0.97437 -0.203717 -0.095406
14 | 0.681627 -0.566802 0.462731
15 | 0.833467 0.189789 0.518954
16 | -0.170331 0.668514 0.723931
17 | -0.25153 0.886634 0.388089
18 | 0.096344 0.851841 0.514864
19 | -0.269231 -0.605852 0.748638
20 | -0.464602 0.382792 0.798508
21 | 0.972997 0.174193 -0.151437
22 | 0.975729 0.001727 0.218977
23 | 0.433122 0.708525 0.557133
24 | 0.290163 0.216666 0.932127
25 | -0.287807 -0.952924 0.095406
26 | 0.671102 -0.730095 0.128781
27 | 0.374314 -0.629541 0.680858
28 | 0.75625 -0.398574 -0.518869
29 | -0.83206 -0.51326 0.210333
30 | -0.580721 0.782528 0.224529
31 | 0.394574 0.885895 0.24393
32 | 0.57496 -0.334517 0.746673
33 | 0.052557 -0.793071 0.606858
34 | 0.048811 -0.963948 0.261575
35 | 0.83478 -0.191764 0.516109
36 | 0.552354 0.392401 0.735477
37 | 0.393069 -0.841244 0.371221
38 | 0.302647 -0.187492 0.934479
39 | -0.580868 -0.782419 0.224529
40 | 0.831553 -0.525224 -0.180717
41 | -0.812671 -0.275965 0.513234
42 | 0.098654 -0.487438 0.867567
43 | -0.596348 -0.588589 0.545832
44 | 0.015015 0.988624 0.149657
45 | -0.506653 0.657956 0.557133
46 | 0.891416 -0.406151 0.201047
47 | -0.200646 -0.295024 0.934185
48 | -0 -0 1
49 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec049.txt:
--------------------------------------------------------------------------------
1 | 0.357717 -0.13721 0.923695
2 | 0.838543 -0.337831 0.427454
3 | -0.317996 -0.267279 0.909638
4 | -0.529443 0.8282 -0.183778
5 | -0.689971 0.530826 0.492101
6 | -0.279028 -0.942153 0.18572
7 | -0.046442 0.913995 0.403058
8 | -0.630851 -0.10936 0.768158
9 | -0.276853 -0.599762 0.750758
10 | 0.304543 0.223179 0.925983
11 | -0.854643 0.161266 0.493538
12 | 0.610467 0.705494 0.360012
13 | -0.621237 0.254478 0.741151
14 | 0.890673 -0.41074 -0.19492
15 | 0.350941 0.914569 0.201009
16 | 0.041261 -0.35582 0.933643
17 | 0.826642 0.551816 0.110282
18 | -0 0 1
19 | -0.407353 0.78137 0.472783
20 | -0.0917519 -0.865118 0.493106
21 | 0.07596 -0.659638 0.747735
22 | 0.629056 0.147965 0.763148
23 | 0.844883 0.217315 -0.488823
24 | 0.9321 0.32977 -0.149805
25 | 0.39994 -0.488068 0.775782
26 | 0.542299 0.497945 0.67673
27 | 0.805637 0.380433 0.454115
28 | 0.284114 0.791333 0.541361
29 | 0.970225 -0.2056 0.128031
30 | 0.316663 -0.797706 0.513216
31 | 0.602345 0.796324 -0.055209
32 | 0.660486 -0.730183 -0.174901
33 | -0.746285 -0.582639 0.321856
34 | 0.164213 -0.959169 0.23028
35 | 0.2134 0.548647 0.80836
36 | -0.091659 0.7114 0.696784
37 | 0.806564 -0.575548 0.134902
38 | 0.621773 -0.608293 0.493334
39 | 0.653689 -0.226907 0.721945
40 | -0.346165 0.108949 0.931826
41 | 0.969087 0.169674 0.179112
42 | 0.982386 -0.028355 -0.1847
43 | 0.866461 0.018986 0.498883
44 | 0.345004 -0.929492 -0.130452
45 | -0.388419 0.518785 0.761572
46 | -0.599309 -0.459575 0.655454
47 | 0.021711 0.997509 0.067112
48 | -0.459078 -0.763562 0.454115
49 | -0.083373 0.366642 0.926619
50 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec050.txt:
--------------------------------------------------------------------------------
1 | 0.292398 0.632726 0.71705
2 | -0.843833 0.220921 -0.489019
3 | 0.785259 0.598608 -0.158229
4 | -0.246495 0.274622 -0.929421
5 | -0 0 -1
6 | 0.686 0.466526 0.558353
7 | 0.126829 0.336422 0.933132
8 | 0.535711 -0.81168 0.232785
9 | -0.360725 -0.732516 0.577319
10 | -0.874102 0.387697 0.292638
11 | 0.444951 -0.885998 -0.13048
12 | -0.591382 0.275693 -0.7578
13 | -0.58317 0.586267 -0.562321
14 | 0.039175 0.686594 -0.725985
15 | 0.572177 -0.134776 -0.80898
16 | -0.937808 0.343315 -0.051486
17 | 0.615523 -0.68049 -0.397574
18 | 0.721149 0.068523 0.689383
19 | 0.954292 0.29863 0.012096
20 | -0.797347 -0.562403 -0.218954
21 | 0.571225 0.817386 0.074716
22 | -0.791417 0.531793 -0.301421
23 | 0.077086 -0.611571 -0.787426
24 | -0.348912 -0.109463 0.930741
25 | 0.274444 -0.824626 0.494644
26 | -0.48031 -0.345587 -0.806146
27 | 0.488682 0.830487 -0.267359
28 | 0.851245 -0.055223 -0.521854
29 | 0.266684 0.93172 0.246531
30 | 0.888295 0.223094 0.401449
31 | 0.19271 0.976944 -0.091891
32 | 0.292776 -0.81778 -0.495498
33 | 0.097361 -0.974745 -0.200979
34 | -0.420389 -0.449396 0.788236
35 | 0.670427 0.545344 -0.503117
36 | -0.681322 -0.212859 0.700351
37 | -0.067466 -0.844667 -0.531024
38 | 0.743502 -0.666714 -0.05193
39 | 0.078278 0.905458 -0.417154
40 | 0.090735 0.383555 -0.91905
41 | -0.886715 -0.285804 0.363391
42 | -0.500435 -0.744752 -0.441486
43 | 0.983486 -0.030143 -0.178457
44 | -0.194325 0.96888 -0.15333
45 | -0.294107 0.572993 -0.764971
46 | -0.978598 0.035285 -0.202734
47 | 0.70193 -0.383871 -0.599947
48 | 0.249265 -0.278339 -0.927574
49 | -0.417932 0.543917 0.727658
50 | 0.396822 0.032728 0.917312
51 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec051.txt:
--------------------------------------------------------------------------------
1 | -0.182631 0.665442 0.723763
2 | 0.946999 -0.276145 -0.164122
3 | -0.466354 0.469307 0.749844
4 | -0.888561 0.047701 0.456272
5 | 0.98623 -0.074324 0.147735
6 | 0.981014 0.115685 -0.155654
7 | 0.497602 0.749709 0.436266
8 | 0.636566 0.62853 -0.446916
9 | -0.685683 0.199945 0.6999
10 | -0.398021 0.116063 0.910005
11 | 0.121705 -0.686485 0.716887
12 | 0.511679 0.462981 -0.723763
13 | 0.168346 0.525634 -0.833888
14 | 0.471613 0.513474 0.716887
15 | -0.302804 0.930227 -0.207333
16 | 0.871604 -0.46742 0.147735
17 | 0.281395 0.226883 0.932385
18 | -0.379594 -0.879849 0.285961
19 | 0.861218 0.093932 0.499481
20 | -0.281355 -0.754449 0.592998
21 | -0.668385 -0.735021 0.114045
22 | -0.131659 0.335564 0.932772
23 | 0 -0 1
24 | 0.669329 -0.195176 0.716872
25 | 0.496954 -0.856187 -0.141351
26 | 0.396115 -0.765549 0.506978
27 | -0.774932 0.437373 0.456272
28 | 0.615082 0.170587 0.769789
29 | -0.645511 -0.145087 0.749844
30 | -0.168555 0.979072 0.114045
31 | 0.107153 0.988909 -0.10285
32 | -0.74551 -0.432652 -0.506978
33 | 0.140565 0.533734 0.833888
34 | 0.168256 0.787428 0.592998
35 | 0.821783 0.313391 -0.475876
36 | 0.441176 0.891508 0.10285
37 | -0.291387 -0.212204 0.932772
38 | 0.765076 -0.624844 -0.155654
39 | -0.016646 0.899664 -0.436266
40 | 0.936466 0.293148 0.1926
41 | 0.152816 0.945978 0.285961
42 | 0.632125 -0.750549 0.1926
43 | -0.524536 0.705978 0.475876
44 | 0.384023 -0.111981 0.916508
45 | -0.879262 -0.454883 0.141351
46 | -0.198962 0.87217 0.446916
47 | -0.675748 0.542111 -0.499481
48 | 0.115342 -0.342572 0.932384
49 | 0.867127 -0.252854 0.429134
50 | 0.755338 0.621674 0.207333
51 | 0.426988 -0.474454 0.769789
52 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec052.txt:
--------------------------------------------------------------------------------
1 | -0.380828 0.1256 0.916076
2 | 0.775463 0.466398 0.425594
3 | 0.05149 0.997061 0.056727
4 | -0.838226 0.490955 0.237362
5 | 0.181976 0.759386 0.624674
6 | 0.330409 -0.227234 0.916076
7 | 0 -0 1
8 | -0.378272 -0.762516 0.524862
9 | -0.080269 0.336748 0.938167
10 | 0.233251 0.470185 0.851187
11 | -0.398125 0.749051 0.529545
12 | -0.218447 -0.938897 0.265996
13 | 0.676634 -0.600863 0.425594
14 | 0.316689 0.139824 0.938167
15 | 0.554318 -0.4342 0.710072
16 | 0.247499 -0.597866 0.762431
17 | 0.762649 -0.643302 0.067299
18 | -0.501304 0.851612 -0.153137
19 | 0.444405 0.895826 0
20 | -0.615405 -0.741972 0.265996
21 | 0.590752 0.297563 0.749979
22 | 0.837278 0.136188 0.529545
23 | 0.616183 -0.057059 0.785533
24 | -0.121326 -0.637128 0.761149
25 | 0.494541 0.604328 0.624674
26 | 0.257553 0.911733 0.320013
27 | -0.973618 0.218032 0.067299
28 | 0.593075 -0.7693 -0.237569
29 | -0.418228 0.456096 0.785533
30 | 0.382369 -0.780812 0.494091
31 | -0.887788 0.175222 0.425594
32 | 0.014067 -0.364205 0.931212
33 | -0.625771 -0.16465 0.762431
34 | -0.43389 -0.48207 0.761149
35 | -0.298498 -0.209147 0.931212
36 | 0.8663 0.447124 -0.22272
37 | 0.762727 0.644228 0.056727
38 | 0.570118 0.756675 0.320013
39 | -0.809388 0.230579 -0.540115
40 | -0.168111 0.960278 -0.22272
41 | -0.981363 -0.116085 0.153137
42 | 0.898041 -0.370379 0.237362
43 | 0.022325 -0.848267 0.529098
44 | -0.120485 0.650397 0.749978
45 | 0.971347 -0.006784 0.237569
46 | 0.933261 0.329669 0.142626
47 | -0.673278 0.504948 0.540115
48 | -0.688913 -0.495434 0.529098
49 | -0.097807 0.899613 0.425594
50 | -0.681085 0.178664 0.710072
51 | -0.853034 -0.167949 0.494091
52 | -0.302142 0.942533 0.142626
53 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec053.txt:
--------------------------------------------------------------------------------
1 | -0.348682 0.599436 0.720484
2 | 0 -0 1
3 | 0.372542 -0.268634 0.888284
4 | -0.057626 -0.977512 -0.202854
5 | 0.036699 -0.338665 0.940191
6 | -0.244555 -0.66252 0.707997
7 | -0.331527 0.825257 0.45721
8 | -0.802318 -0.451736 0.390155
9 | -0.9694 0.241289 -0.045207
10 | 0.012489 0.855232 0.518094
11 | 0.217138 -0.9558 0.198234
12 | -0.789741 0.253663 0.558538
13 | 0.866327 -0.360922 0.345272
14 | -0.108084 -0.984138 0.140676
15 | -0.80156 0.593495 -0.072562
16 | 0.635958 0.001051 0.771723
17 | -0.343472 -0.864386 0.367239
18 | 0.770181 0.271893 0.576971
19 | -0.981093 -0.085486 -0.173635
20 | -0.608463 0.765359 0.209756
21 | -0.602214 -0.353568 0.715771
22 | -0.640018 -0.018789 0.768131
23 | -0.954667 0.1216 0.271705
24 | -0.632384 0.578023 0.515733
25 | 0.159638 0.366365 0.916675
26 | 0.538947 -0.831151 0.136838
27 | 0.337613 -0.80504 0.487778
28 | -0.405776 -0.913468 -0.03036
29 | -0.191793 0.309247 0.931441
30 | 0.333518 0.066039 0.940428
31 | -0.847538 0.468937 0.24855
32 | 0.497733 0.365845 0.786396
33 | -0.545561 -0.640483 0.540504
34 | 0.620704 0.596871 0.508401
35 | 0.649557 -0.633433 0.420521
36 | -0.968139 -0.201519 0.14865
37 | -0.013376 -0.865067 0.501478
38 | 0.096149 -0.632834 0.768295
39 | -0.340704 -0.029687 0.939702
40 | 0.637917 0.745616 -0.192663
41 | 0.878769 -0.040591 0.475518
42 | 0.312339 0.66034 0.682931
43 | -0.297469 -0.367782 0.88105
44 | -0.02346 0.627774 0.778042
45 | 0.28639 -0.947537 -0.141969
46 | 0.871706 0.401712 0.280634
47 | -0.521447 0.307019 0.796136
48 | 0.68506 -0.322135 0.653392
49 | 0.666681 0.721428 0.187289
50 | 0.363034 0.85001 0.381693
51 | 0.427974 -0.555655 0.712802
52 | 0.858522 0.511214 -0.040007
53 | -0.851421 -0.12855 0.508485
54 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec054.txt:
--------------------------------------------------------------------------------
1 | 0.709865 0.241411 0.661674
2 | -0.74802 0.028172 0.663077
3 | -0.376106 -0.617862 0.690501
4 | -0.091531 -0.099182 0.990851
5 | -0.11071 -0.925445 -0.362346
6 | -0.234756 0.562199 0.792983
7 | -0.050816 -0.471016 0.88066
8 | 0.72465 0.516268 0.456452
9 | -0.18531 0.246558 0.951246
10 | -0.527518 0.305721 0.792628
11 | 0.817754 0.554723 -0.153493
12 | 0.175059 0.123698 0.976756
13 | -0.06456 -0.949174 0.308061
14 | -0.344522 -0.323431 0.881304
15 | -0.651019 -0.595072 0.471236
16 | 0.578307 -0.764202 0.285582
17 | 0.9376 -0.056872 -0.343032
18 | -0.898571 -0.401443 -0.177242
19 | 0.239467 -0.579742 0.778816
20 | -0.454078 -0.00235 0.890959
21 | 0.578286 -0.814557 -0.045618
22 | -0.060241 -0.763322 0.643204
23 | -0.363894 -0.930405 -0.043917
24 | 0.288465 -0.946959 0.141625
25 | -0.546578 0.576549 0.607326
26 | 0.782565 -0.115962 0.611674
27 | 0.544881 -0.337552 0.76757
28 | -0.95983 -0.244713 0.137263
29 | 0.438414 0.814427 0.380135
30 | 0.943764 -0.311961 -0.109501
31 | -0.631694 -0.310992 0.710103
32 | 0.68543 0.710182 0.160709
33 | 0.096748 0.471056 0.876782
34 | 0.51377 -0.003168 0.857922
35 | -0.57542 -0.800158 0.169228
36 | -0.233129 0.948335 0.215202
37 | -0.821116 0.559553 -0.112557
38 | -0.796056 0.339694 0.500903
39 | 0.91065 0.133184 0.391125
40 | 0.240406 -0.239312 0.94071
41 | 0.49858 -0.639217 0.585508
42 | 0.997852 -0.001922 0.065473
43 | -0.49077 0.788039 0.37167
44 | 0.13712 0.73633 0.662583
45 | -0.044953 -0.998846 -0.016883
46 | -0.35406 -0.840741 0.40963
47 | -0.455729 -0.606172 -0.651818
48 | -0.770915 0.583057 0.256388
49 | 0.236443 -0.847294 0.475592
50 | 0.929074 -0.239849 0.281593
51 | -0.187444 0.808212 0.558263
52 | -0.84549 -0.281278 0.453904
53 | 0.7582 -0.456413 0.46564
54 | 0.421717 0.337689 0.841499
55 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec055.txt:
--------------------------------------------------------------------------------
1 | -0.015909 0.448575 0.893603
2 | 0.666417 -0.339498 0.663799
3 | 0.875151 -0.316481 0.365993
4 | -0.469502 -0.807589 0.356885
5 | 0.300782 0.265277 0.916056
6 | -0.641373 0.01821 0.767013
7 | 0.612013 0.309996 0.72756
8 | -0.877396 0.4078 0.252736
9 | -0.971698 0.000287 0.236227
10 | 0.401943 0.914315 -0.049703
11 | -0.621052 -0.590604 -0.515249
12 | -0.597297 -0.309859 0.739746
13 | 0.698082 -0.595744 0.397204
14 | -0.977334 -0.201859 -0.063799
15 | -0.733807 -0.522444 0.434257
16 | 0.976088 -0.215734 0.02665
17 | -0.903853 -0.381318 0.194029
18 | -0.01407 -0.277146 0.960725
19 | -0.345197 -0.116239 0.931304
20 | 0.552654 -0.029334 0.832894
21 | -0.058518 0.914358 0.400655
22 | 0.436426 -0.811225 0.389162
23 | 0.219989 -0.959757 0.17456
24 | 0.337259 -0.926936 -0.164459
25 | 0.422095 -0.616459 0.664691
26 | 0.080279 -0.594703 0.799927
27 | -0.841672 -0.180149 0.509053
28 | -0.832739 0.549684 -0.066282
29 | -0.660227 0.563262 0.496826
30 | 0.130126 -0.83876 0.528723
31 | 0.020582 0.998479 0.051142
32 | -0.600168 0.34765 0.720374
33 | 0.24314 -0.058419 0.96823
34 | -0.131827 -0.94727 0.292064
35 | 0.950626 0.005396 0.310291
36 | -0.340449 0.247329 0.907151
37 | 0.355941 -0.358806 0.862881
38 | 0.273073 0.926311 0.259575
39 | 0.314832 0.781978 0.537951
40 | -0.841584 0.185419 0.507304
41 | -0.324866 0.57884 0.747934
42 | -0.183515 -0.769541 0.611661
43 | -0.83803 -0.520321 -0.164233
44 | -0.053234 0.104383 0.993111
45 | 0.83797 0.322207 0.440441
46 | 0.653416 -0.725 -0.217765
47 | 0.596317 0.769839 0.227494
48 | -0.377327 0.788545 0.485614
49 | 0.324956 0.55428 0.766275
50 | -0.479965 -0.608981 0.631487
51 | 0.70923 0.69598 -0.112268
52 | 0.794714 -0.003197 0.606976
53 | -0.012685 0.730467 0.682831
54 | -0.261559 -0.46558 0.845472
55 | -0.577327 0.811806 -0.087549
56 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec056.txt:
--------------------------------------------------------------------------------
1 | -0.520068 -0.353303 0.777629
2 | -0.166496 -0.886506 0.431724
3 | -0.315085 0.221733 0.922798
4 | -0.003832 0.352646 0.935749
5 | -0.846862 0.528154 0.062274
6 | -0.356128 -0.657155 0.664319
7 | 0.816219 0.411889 0.405134
8 | -0.950968 -0.027798 0.308038
9 | -0.182603 -0.441971 0.878247
10 | -0.980866 0.19446 -0.009339
11 | -0.006141 -0.706497 0.707689
12 | 0.044773 0.974405 0.220297
13 | -0.576024 0.003527 0.817425
14 | 0.308583 0.544317 0.780061
15 | 0.507227 -0.348368 0.788264
16 | -0.452919 0.885578 -0.103034
17 | -0.684323 -0.69651 -0.215812
18 | 0.664361 -0.524628 0.532344
19 | 0.160124 -0.885473 0.436232
20 | -0.71371 0.6709 -0.201277
21 | 0.375576 0.887838 0.265869
22 | -0.443845 0.738719 0.507244
23 | -0.795474 0.145941 0.588151
24 | 0 -0 1
25 | 0.130077 -0.985644 0.10764
26 | -0.011531 0.650254 0.759629
27 | 0.322444 -0.627657 0.708573
28 | 0.950047 0.009801 0.311954
29 | -0.781659 -0.204361 0.589276
30 | -0.622445 0.761227 0.181919
31 | 0.482789 0.79353 -0.370438
32 | 0.201864 0.97429 -0.100045
33 | -0.284166 -0.136822 0.948962
34 | 0.806896 0.135313 0.574986
35 | -0.885639 0.364493 -0.287728
36 | -0.889178 -0.361076 0.281046
37 | -0.897715 0.311783 0.311287
38 | 0.587032 0.007783 0.809526
39 | -0.745122 -0.646269 0.164713
40 | -0.125835 0.853303 0.506003
41 | 0.132472 -0.398015 0.907764
42 | 0.507452 0.860771 -0.039559
43 | -0.318724 0.553237 0.769638
44 | 0.316005 0.226166 0.921407
45 | -0.707147 0.543845 0.451858
46 | 0.221071 0.809247 0.544286
47 | -0.308431 0.926689 0.214751
48 | -0.889993 -0.447593 -0.087021
49 | 0.546896 0.653271 0.523585
50 | 0.594357 0.36488 0.71666
51 | -0.463003 0.775496 -0.429226
52 | -0.988053 -0.152969 -0.018744
53 | 0.784792 -0.207287 0.584066
54 | -0.671699 -0.534738 0.512714
55 | 0.298089 -0.12023 0.946936
56 | -0.584389 0.369064 0.722691
57 |
--------------------------------------------------------------------------------
/Data/ElectricRepulsion/Elec057.txt:
--------------------------------------------------------------------------------
1 | 0.665408 0.458591 0.589005
2 | 0.37826 0.547667 0.746311
3 | 0.772045 -0.254063 0.582579
4 | -0.208126 -0.742529 0.636659
5 | 0.138385 -0.798334 0.586099
6 | 0.750396 0.123783 0.649295
7 | -0.901149 0.066572 0.428368
8 | -0.462962 0.211995 0.860654
9 | 0.271035 -0.920438 0.281662
10 | 0.105101 -0.577745 0.809423
11 | -0.210078 0.748062 0.6295
12 | 0.193096 0.952612 0.235043
13 | 0.88023 0.474446 -0.00983401
14 | -0.439789 0.807861 0.39236
15 | -0.9331 0.279155 -0.226708
16 | -0.741437 0.537681 -0.40146
17 | -0.376305 0.925006 0.052517
18 | -0.883412 0.389487 0.260543
19 | -0.661648 -0.74222 0.10645
20 | 0.158412 0.321376 0.933608
21 | 0.875021 0.335607 0.348864
22 | 0.502572 0.848903 0.163658
23 | 0.664228 -0.73631 -0.129031
24 | -0.68585 0.583474 0.434934
25 | -0.02941 -0.248062 0.968298
26 | 0.243574 -0.007366 0.969854
27 | -0.353224 -0.111956 0.928816
28 | 0.138545 0.828568 0.542476
29 | 0.945681 0.218998 -0.240264
30 | -0.795832 -0.272062 0.540956
31 | 0.488159 0.228953 0.842188
32 | 0.040276 -0.99873 0.030281
33 | -0.201511 0.424307 0.882812
34 | 0.919985 -0.004926 0.391922
35 | 0.591938 -0.779162 0.206194
36 | -0.449253 -0.811861 0.3729
37 | -0.683536 -0.011523 0.729826
38 | -0.309256 -0.94549 0.102025
39 | 0.534944 0.594904 -0.599937
40 | 0.450533 -0.722702 0.524139
41 | -0.239671 -0.481254 0.84318
42 | -0.844352 0.533305 -0.051537
43 | 0.985801 0.142638 0.088608
44 | -0.987091 0.137053 0.082872
45 | 0.733312 0.626785 0.263427
46 | -0.088311 -0.92823 0.361373
47 | 0.765942 0.541243 -0.346972
48 | 0.054159 0.615469 0.786298
49 | 0.297773 -0.335848 0.893609
50 | 0.560419 -0.119224 0.819583
51 | -0.105514 0.104676 0.988893
52 | 0.463308 0.743448 0.482318
53 | -0.134864 0.937811 0.319879
54 | -0.730466 0.300858 0.61311
55 | 0.522285 -0.476888 0.706962
56 | -0.470911 0.537748 0.699335
57 | -0.543084 -0.326176 0.773737
58 |
--------------------------------------------------------------------------------
/Data/Packing/Pack003.txt:
--------------------------------------------------------------------------------
1 | 0.005300621112 0.03066509607 -0.9995156604
2 | 0.8989569141 0.4376590218 0.01819470503
3 | 0.4380049856 -0.8986179581 -0.02524674057
4 |
--------------------------------------------------------------------------------
/Data/Packing/Pack004.txt:
--------------------------------------------------------------------------------
1 | -0.7416320523 0.1715866638 -0.6484904902
2 | -0.1265539499 0.5723496477 0.8101851507
3 | 0.875922076 0.2194651089 -0.4296458806
4 | -0.007736073833 -0.9634014204 0.26795122
5 |
--------------------------------------------------------------------------------
/Data/Packing/Pack005.txt:
--------------------------------------------------------------------------------
1 | -0.2567515042 -0.7646629576 -0.5910746368
2 | -0.7833618399 0.1453251949 -0.6043383287
3 | -0.1039226513 0.9171517653 -0.3847502072
4 | 0.7481507708 -0.5552399949 -0.3632891029
5 | 0.8426041963 0.4841786667 -0.2357735927
6 |
--------------------------------------------------------------------------------
/Data/Packing/Pack006.txt:
--------------------------------------------------------------------------------
1 | -0.2567515042 -0.7646629576 -0.5910746368
2 | -0.7833618399 0.1453251949 -0.6043383287
3 | -0.1039226513 0.9171517653 -0.3847502072
4 | 0.7481507708 -0.5552399949 -0.3632891029
5 | 0.8426041963 0.4841786667 -0.2357735927
6 | -0.1997787976 -0.1014068788 0.9745794359
7 |
--------------------------------------------------------------------------------
/Data/Packing/Pack007.txt:
--------------------------------------------------------------------------------
1 | -0.8660357512 0.08831056694 0.4921212466
2 | 0.0917774516 -0.1799110942 -0.9793921061
3 | -0.7023471351 -0.7089146224 0.06440931555
4 | 0.7600602784 0.1194328704 0.6387833456
5 | 0.0550351362 -0.9068946631 -0.4177477753
6 | -0.7058933356 0.681961917 -0.191422419
7 | -0.05094033658 -0.6991512258 0.7131568169
8 |
--------------------------------------------------------------------------------
/Data/Packing/Pack008.txt:
--------------------------------------------------------------------------------
1 | -0.5206331423 0.05827934692 -0.8517890871
2 | 0.9152524349 0.3661143368 0.1681465814
3 | -0.8585122515 0.4707641695 -0.2033170204
4 | -0.7257435503 0.3160248631 0.611084761
5 | -0.318358498 -0.9461763764 -0.05829349372
6 | 0.1842536975 -0.7830235608 0.5940746403
7 | -0.6115411009 -0.5156358203 0.600114308
8 | 0.03665293242 0.6240048129 0.7805604115
9 |
--------------------------------------------------------------------------------
/Data/Packing/Pack009.txt:
--------------------------------------------------------------------------------
1 | 0.8320104924 -0.551989941 -0.05536827302
2 | 0.9556243859 0.2067184729 0.209879742
3 | -0.5858600607 -0.7738996137 0.240514817
4 | -0.214256229 0.8396222455 0.4991279928
5 | 0.6293284609 -0.1884264531 -0.7539503697
6 | -0.2097123047 0.9275598728 -0.3092788898
7 | 0.6211405922 -0.3468845822 0.702748498
8 | 0.432456844 0.4395854487 0.7872392974
9 | -0.1657182015 -0.4700351597 0.8669512249
10 |
--------------------------------------------------------------------------------
/Data/Packing/Pack010.txt:
--------------------------------------------------------------------------------
1 | 1 0 0
2 | 0.6101486075 0.7922869914 0
3 | 0.6101486075 0.3961434957 0.6861406616
4 | 0.6101486075 -0.3961434957 0.6861406616
5 | 0.6101486075 -0.7922869914 0
6 | 0.6101486075 -0.3961434957 -0.6861406616
7 | 0.6101486075 0.3961434957 -0.6861406616
8 | 0 0.8660254038 0.5
9 | 0 -0.8660254038 0.5
10 | 0 0 -1
11 |
--------------------------------------------------------------------------------
/Data/Packing/Pack011.txt:
--------------------------------------------------------------------------------
1 | 0.4951525343 0.2655694804 0.8272223515
2 | 0.5118640314 -0.481096624 0.711717115
3 | -0.2521472391 0.349340711 0.9024316248
4 | -0.3616784995 0.8611320223 0.3572678311
5 | 0.219270405 0.4055261674 -0.8873945104
6 | -0.8351125157 0.02253079879 0.5496175481
7 | 0.3939289876 0.8474891394 0.3557837985
8 | -0.6544962099 -0.6786710095 0.3332272078
9 | 0.05339601063 -0.9432280601 0.3278257047
10 | -0.8745177039 0.4825438113 -0.04868527218
11 | -0.9430574562 -0.2506173397 -0.2187089009
12 |
--------------------------------------------------------------------------------
/Data/Packing/Pack012.txt:
--------------------------------------------------------------------------------
1 | 0.6139002834 0.6720842484 -0.4140401008
2 | 0.04714651867 0.5517346184 -0.8326860853
3 | -0.1799536926 0.7479985371 0.6388386784
4 | 0.8473439625 -0.3253675997 0.4196952874
5 | 0.9453529172 0.308776614 0.104713249
6 | 0.2779626474 -0.1138543234 -0.9538207168
7 | 0.5209206629 0.6159173086 0.5910055261
8 | 0.3772857357 -0.858875313 0.3463938082
9 | 0.8447164121 0.006495306618 -0.5351747323
10 | 0.7467074574 -0.6276489072 -0.2201926939
11 | 0.4229117082 -0.01822690513 0.9059875645
12 | -0.1894680291 -0.979224943 -0.07225217627
13 |
--------------------------------------------------------------------------------
/Data/Packing/Pack013.txt:
--------------------------------------------------------------------------------
1 | -0.4667215832 0.8788178406 -0.09924800651
2 | -0.8004174113 0.4882479903 0.3477727242
3 | 0.286206223 -0.5164681527 0.8070604966
4 | -0.1310012466 -0.895623113 0.4250857713
5 | -0.9950889648 -0.08896832304 0.04338881981
6 | 0.7209856859 0.6649220562 0.1950853656
7 | 0.8246521728 -0.3898141011 0.4098704191
8 | 0.6826334718 0.2096493552 0.7000419209
9 | 0.1105681632 0.9612831916 0.2524070261
10 | -0.7039011302 -0.5305426485 0.4722792575
11 | 0.2549048176 -0.6374844131 -0.727074382
12 | 0.5785243685 -0.04472540758 -0.8144379614
13 | -0.07627898524 -0.1045010447 -0.9915952037
14 |
--------------------------------------------------------------------------------
/Data/Packing/Pack014.txt:
--------------------------------------------------------------------------------
1 | -0.4610460258 0.8577148823 -0.2275120719
2 | -0.9830737928 0.03139553418 0.1804999675
3 | 0.2124223187 -0.5971332709 -0.7735041146
4 | 0.6530095055 -0.1030682118 -0.7503036249
5 | 0.7074810587 0.2332096329 0.667146025
6 | 0.6036876704 0.7510501842 0.2673664478
7 | -0.7104317889 0.6176976411 0.3372481246
8 | 0.3079014771 0.4559236506 -0.8350630546
9 | 0.8538840202 -0.3486245962 0.386449183
10 | -0.1466287482 -0.08255237906 -0.9857408964
11 | -0.1836938825 -0.9107626132 0.3698216055
12 | -0.7475333509 -0.5636268566 0.3514522097
13 | -0.02273208874 0.9661067379 0.2571400845
14 | 0.3498386574 -0.5143888542 0.7829540347
15 |
--------------------------------------------------------------------------------
/Data/Packing/Pack015.txt:
--------------------------------------------------------------------------------
1 | -0.4180545738 0.8797045225 0.2266061041
2 | 0.05171185209 -0.9264432353 0.3728656811
3 | -0.6533373887 0.6729679695 -0.3467915349
4 | 0.6733200524 0.5534133733 0.4902792524
5 | -0.768446558 -0.1494818158 0.6222098313
6 | -0.2774603535 -0.5464725168 0.7901794358
7 | -0.2315642347 -0.9486562979 -0.2154744384
8 | 0.1100268742 -0.05176065419 -0.9925799321
9 | 0.3531455449 -0.3870168987 0.8517664846
10 | -0.8372805705 0.0769784678 -0.5413275919
11 | 0.0878518538 0.6329785263 0.7691685361
12 | -0.9089896099 0.3774454623 0.1768412059
13 | 0.9679318853 0.2510724556 -0.008395686954
14 | -0.6186579919 -0.7388152407 0.2672345956
15 | -0.5381304981 0.4557463975 0.7090210068
16 |
--------------------------------------------------------------------------------
/Data/Packing/Pack016.txt:
--------------------------------------------------------------------------------
1 | -0.7622697781 -0.147220611 0.6302942782
2 | -0.8643014319 0.1051961552 -0.4918503876
3 | -0.4125548921 0.8799769298 0.2354550148
4 | -0.5565763643 0.4563454574 0.6942417261
5 | -0.4430437209 -0.186246121 -0.8769405018
6 | -0.2225462679 -0.955292954 -0.1946497641
7 | 0.1704077927 -0.03542087099 -0.9847367903
8 | 0.9679336 0.2491644905 -0.03196251973
9 | 0.05630376057 -0.9226806306 0.3814319605
10 | 0.6852133625 0.5833577628 0.436092156
11 | 0.04572789321 0.6702638644 0.7407127054
12 | 0.3354984765 -0.443839778 0.8309314194
13 | -0.2927133004 -0.5581495177 0.7763942553
14 | -0.6221543325 -0.7393599036 0.2574313878
15 | -0.9119249157 0.3747437388 0.1672126738
16 | -0.6494856738 0.6861943971 -0.3275753486
17 |
--------------------------------------------------------------------------------
/Data/Packing/Pack017.txt:
--------------------------------------------------------------------------------
1 | -0.2941335678 0.07677954941 0.9526753618
2 | 0.9503675253 -0.3094215195 -0.0325559533
3 | -0.04837388567 0.965160965 -0.2571464152
4 | 0.5079159966 -0.7511781473 -0.4216073191
5 | 0.762918401 -0.2330294828 -0.6030362954
6 | 0.250873738 0.51251418 -0.8212134819
7 | -0.06127433752 -0.9392915336 -0.3376046066
8 | 0.3249710039 -0.645948107 0.6907567514
9 | -0.2841712773 0.1020606617 -0.9533259183
10 | 0.9410509362 0.2239723309 0.2534946362
11 | -0.8895385475 -0.2996418196 0.3448709214
12 | -0.02446360864 -0.5737315407 -0.8186779898
13 | -0.5857584323 -0.3688957856 -0.7216667917
14 | -0.6255729046 -0.7405288233 -0.245510902
15 | -0.6149936687 0.7691165746 -0.1739036575
16 | -0.5202833538 -0.7792786351 0.3493279845
17 | -0.7867914785 0.2809755553 -0.5495560997
18 |
--------------------------------------------------------------------------------
/Data/Packing/Pack018.txt:
--------------------------------------------------------------------------------
1 | 0.1794598838 0.1430719101 -0.9733060046
2 | 0.2704987004 -0.8510444252 -0.4500598176
3 | -0.3204810262 0.4180505975 0.8500150644
4 | -0.4645112619 -0.5693062982 0.6783211823
5 | 0.4073152356 -0.1080273043 0.906876177
6 | 0.8422900267 0.04667981182 0.5369995401
7 | 0.6544050981 -0.5139765312 0.5546008411
8 | -0.26928226 -0.4637638248 -0.8440439439
9 | -0.4855059575 -0.8589171463 0.1629272877
10 | -0.7984844616 -0.5539221234 -0.2357813518
11 | -0.7445980479 0.4972743893 0.445299819
12 | -0.9458854052 0.3144677046 -0.08006786458
13 | -0.9566921268 -0.2002713848 0.2112617971
14 | 0.08403111501 -0.9525444153 0.2925712026
15 | 0.5972941089 -0.8009991967 0.04049733837
16 | 0.698807082 0.02734525043 -0.7147873107
17 | 0.1165761703 -0.6167342499 0.7784914011
18 | -0.3193015137 -0.8568435905 -0.404803168
19 |
--------------------------------------------------------------------------------
/Data/Packing/Pack019.txt:
--------------------------------------------------------------------------------
1 | -0.7952676864 0.566080023 0.2170315981
2 | -0.01615931362 -0.9645717106 0.2633254481
3 | -0.07090131138 -0.6626621481 0.7455547475
4 | 0.7064627512 0.01002144782 0.7076792718
5 | 0.6359144025 0.5517491719 0.5396162748
6 | 0.111357503 0.746961758 0.6554751244
7 | -0.2469544198 -0.2654436867 -0.9319619969
8 | -0.5341246155 0.814475548 -0.2265843701
9 | -0.8771256933 0.3652776392 -0.3118056518
10 | -0.441641244 0.6027371692 0.6645757416
11 | 0.2395859556 -0.9388801532 -0.2471894573
12 | -0.1468836646 -0.1461826412 0.9782923001
13 | 0.9531731589 -0.023293136 -0.3015267136
14 | -0.6018513323 -0.4804654272 0.6379090429
15 | 0.3772744063 0.9091772076 0.1762408226
16 | -0.9542777647 -0.1946531212 -0.2268570261
17 | 0.6318895945 -0.07446663772 -0.7714727865
18 | -0.7769745928 -0.6195077702 0.1118955089
19 | -0.4800828936 0.5147990421 -0.7102832967
20 |
--------------------------------------------------------------------------------
/Data/Packing/Pack020.txt:
--------------------------------------------------------------------------------
1 | -0.5863758596 -0.4391110737 -0.6806943633
2 | -0.4726473935 0.1900499463 0.860514648
3 | -0.9603417923 0.2765154056 0.03581720906
4 | 0.1376117787 -0.9324917193 0.3339493852
5 | -0.2166708281 0.6688664723 0.7111057548
6 | -0.07901961181 -0.2606569237 -0.9621922204
7 | 0.50715355 -0.08974849629 0.8571700439
8 | -0.8613182649 -0.01412771422 0.507869328
9 | -0.7745502539 0.411574986 -0.4802894284
10 | 0.7426291357 0.5500339327 -0.3820531896
11 | 0.1433129705 0.2566822245 -0.9558115024
12 | -0.3886687539 -0.9114778996 0.1347020352
13 | 0.7066472211 -0.5262187957 -0.4730153105
14 | -0.9239345499 -0.1187041957 -0.36366779
15 | -0.6624431591 0.7478910442 -0.04275566594
16 | 0.2732179063 0.7103994587 -0.6486020234
17 | 0.7613140591 0.6240751334 0.1758724857
18 | 0.2103478723 -0.9515869383 -0.2241340479
19 | 0.2669829773 -0.5901032062 0.7619043876
20 | -0.308566216 -0.8536098331 -0.4196869585
21 |
--------------------------------------------------------------------------------
/Data/Packing/Pack021.txt:
--------------------------------------------------------------------------------
1 | 0.9945958579 0.006827122997 -0.1035976341
2 | -0.1256341951 0.3090078203 -0.9427248888
3 | 0.4822921188 0.8384496655 -0.2537645968
4 | -0.7842891787 0.5612098232 0.2644504085
5 | -0.4122692635 0.4955419887 0.7645078101
6 | 0.08952747795 0.7198428386 0.6883393918
7 | 0.5407140143 -0.82626567 0.1578397836
8 | -0.8504147177 -0.5251121545 -0.03243505997
9 | -0.2856954132 -0.6247947046 0.7266427651
10 | 0.4715596448 0.8288919557 0.3009478811
11 | -0.5253143886 -0.3837693749 -0.7594510254
12 | -0.8801888186 0.3987645575 -0.2573994393
13 | -0.3338709204 0.8700692169 0.362642753
14 | 0.788697239 -0.1213373827 -0.6026888955
15 | -0.8941179605 -0.1368120619 -0.4264217776
16 | -0.01903088741 0.9969005437 -0.07633564871
17 | 0.7525526186 0.4235610971 -0.504242554
18 | 0.6351329226 -0.2474346246 0.7316982146
19 | -0.3926549908 -0.1130799111 0.9127075062
20 | 0.03354621023 0.2374748034 0.9708142817
21 | -0.2456362357 0.7446324462 -0.6206330315
22 |
--------------------------------------------------------------------------------
/Data/Packing/Pack022.txt:
--------------------------------------------------------------------------------
1 | -0.2229244559 -0.207076454 -0.952588069
2 | -0.7961940921 0.582121147 0.164954351
3 | -0.02007225908 -0.2978963206 0.9543871785
4 | 0.2567653345 0.7093152887 -0.6564627821
5 | -0.5728595121 -0.5017594612 -0.6481276282
6 | -0.7833109402 0.4848472604 -0.3890335525
7 | 0.5562768444 0.2673949871 -0.7868011142
8 | -0.29267157 0.7028696151 -0.6483191007
9 | 0.4004967346 0.872250071 0.2806816331
10 | 0.5224857978 -0.2341042802 0.8198803431
11 | -0.4579363121 0.8756296239 -0.1535157835
12 | 0.1440169919 -0.945485672 -0.2920889419
13 | -0.5912294042 -0.7743904798 0.2253157261
14 | 0.8805448402 0.3232134777 -0.3466609759
15 | 0.3256806212 -0.2129760875 -0.9211803945
16 | 0.06002194717 0.6818948414 0.7289833956
17 | 0.862688252 0.05820049858 0.5023760363
18 | -0.995491315 0.0944666523 0.008549462943
19 | 0.07974871888 0.974663565 -0.208976259
20 | -0.8495768192 -0.4981618189 -0.1733609831
21 | -0.803383221 0.1869509433 0.565353646
22 | 0.4739206025 -0.6384037684 -0.6064980553
23 |
--------------------------------------------------------------------------------
/Data/Packing/Pack023.txt:
--------------------------------------------------------------------------------
1 | -0.5686185393 -0.2853377315 -0.7715279229
2 | 0.7254734563 -0.4104444787 0.5524704463
3 | 0.07878551483 -0.9824357778 0.1691531409
4 | -0.7784456158 -0.5600867346 -0.2834171359
5 | 0.02992383117 -0.1033026943 -0.9941997373
6 | -0.4353080773 -0.8947870307 0.09931287689
7 | -0.5659368547 0.7923974236 -0.2276440195
8 | -0.5329558075 0.07221261624 0.8430560155
9 | 0.9065434609 -0.4180393095 0.0584986264
10 | 0.3910101493 -0.5652504645 -0.7263628402
11 | 0.1623045662 -0.9237093095 -0.347013457
12 | -0.8458137194 0.2617603912 0.4648447586
13 | 0.3933819624 -0.1942362734 0.8986227805
14 | -0.2924489337 0.6874633029 -0.6647313956
15 | -0.9926654426 -0.07884241623 0.09164710878
16 | 0.8022513787 0.5457300321 -0.2420154075
17 | 0.1282496339 0.5705665447 0.8111755972
18 | 0.2126858841 0.7966077816 -0.5658451705
19 | -0.08525622677 -0.4126144753 0.9069072006
20 | 0.901836827 0.06902059297 0.4265284225
21 | 0.3520649933 0.8378988013 0.4171041108
22 | -0.6404173239 0.712371464 0.2870410224
23 | 0.5684704497 0.4327924395 -0.6996656716
24 |
--------------------------------------------------------------------------------
/Data/Packing/Pack024.txt:
--------------------------------------------------------------------------------
1 | 0.9425740536 0.1226489483 0.310662822
2 | 0.2971839482 0.8887549256 0.3489933856
3 | -0.5675819752 0.8092066241 -0.1517739797
4 | -0.6290589116 0.69320919 0.351775361
5 | -0.4467658966 -0.8820914807 0.1493815698
6 | 0.4130100544 0.6657462482 -0.6214536411
7 | 0.4427948254 -0.207877258 0.8721925179
8 | -0.3707327171 -0.1079279908 0.9224471808
9 | 0.3491310943 -0.4061276626 -0.8444926291
10 | -0.9002967163 0.4351693091 -0.009669282268
11 | 0.001099602074 0.9090499055 -0.4166858052
12 | 0.79310637 -0.3346974232 0.5088810477
13 | -0.9790268697 -0.03417297593 0.2008447063
14 | 0.003941561771 0.4746349279 -0.8801739313
15 | 0.1686643688 -0.8069660539 -0.5660018716
16 | -0.07888014425 -0.1462238079 -0.9861016788
17 | 0.255762989 0.5851102957 0.7695656147
18 | 0.7497176961 0.2693422722 -0.6044651492
19 | 0.1365758817 -0.9874756031 -0.07898709911
20 | -0.4081623927 0.664826642 -0.6256268835
21 | -0.7266937139 -0.5950099533 -0.3433356983
22 | -0.7719783788 0.2501733885 0.5843480627
23 | -0.6475617215 -0.2460670893 -0.7211898532
24 | 0.8312330928 0.531648823 -0.1624840744
25 |
--------------------------------------------------------------------------------
/Data/Packing/Pack025.txt:
--------------------------------------------------------------------------------
1 | -0.7650479821 0.1873686009 0.6161124836
2 | -0.2295685031 0.8805955192 -0.4145477464
3 | -0.03435049127 0.6668933081 0.744361041
4 | 0.907102034 0.006695677486 0.4208575387
5 | 0.8786479854 0.4435503312 -0.1767507325
6 | -0.3007368603 -0.2377538005 0.9235964872
7 | -0.5641020264 0.8247136741 -0.04045070518
8 | -0.5835543692 -0.8120705113 -0.002404757469
9 | 0.2160417024 -0.9254467031 -0.3112464982
10 | -0.9965690817 0.03662298583 0.07422144063
11 | -0.8092670105 -0.4919333507 -0.3210739543
12 | 0.05822104511 0.6488268891 -0.7587054618
13 | 0.8342412375 -0.4734725003 0.2826045807
14 | -0.4807171686 -0.5238519503 -0.7031999275
15 | 0.7070655954 0.3139446315 -0.6336379189
16 | -0.1160521179 -0.9912165769 0.06341611438
17 | -0.5116734204 0.5445848696 -0.6645431744
18 | -0.8408417459 0.4937031095 0.2219062822
19 | 0.3529158792 -0.2638337873 -0.8976870919
20 | -0.5159263703 0.6255144463 0.5852791282
21 | 0.2033596111 -0.258799774 0.944281497
22 | -0.147905423 -0.2428980549 -0.9587098209
23 | 0.4731577058 0.7358469508 -0.4844079381
24 | 0.2783112692 0.8732448027 0.3999829397
25 | 0.5861504619 0.04151901001 0.809137694
26 |
--------------------------------------------------------------------------------
/Data/Packing/Pack026.txt:
--------------------------------------------------------------------------------
1 | -0.9200786472 -0.1579322235 -0.3584866744
2 | -0.1568693178 -0.8075324555 0.5685801178
3 | 0.8170750768 -0.5263297202 -0.2352984161
4 | -0.468685226 0.8697982642 0.1542243121
5 | -0.136594115 -0.4317878045 0.8915723973
6 | 0.2695126943 -0.757721135 -0.5943244814
7 | 0.6362376984 0.115090262 0.7628602904
8 | 0.09793236546 -0.05191263775 -0.9938381809
9 | -0.4557476257 0.3552012695 0.8161655223
10 | 0.01330979684 0.9837808568 0.1788800577
11 | -0.3107396748 0.6759139421 -0.6682673098
12 | -0.2092324223 0.9420265712 -0.2623122808
13 | 0.8233743228 -0.1425570314 -0.5493015723
14 | -0.9903700718 -0.06319566636 0.1231804717
15 | -0.2448865494 -0.3936369985 -0.88604768
16 | 0.5773199839 0.7549969007 -0.3109361929
17 | 0.6468386149 -0.709408942 0.2798906203
18 | 0.4919028581 0.8544193109 0.1673296727
19 | -0.3136095636 0.2261286788 -0.9222336267
20 | 0.8461712773 0.5313572471 0.04066503948
21 | 0.9298800166 -0.3107775796 0.1968259404
22 | -0.8032492138 -0.3484888629 0.4830592231
23 | -0.5299054933 -0.1346693865 0.8372958405
24 | 0.2255237663 0.7830564477 0.5796219721
25 | -0.690170075 0.359133736 -0.6282421724
26 | -0.6571410205 -0.5464759296 -0.5191625348
27 |
--------------------------------------------------------------------------------
/Data/Packing/Pack027.txt:
--------------------------------------------------------------------------------
1 | 0.1041960624 0.6302003266 0.7694093377
2 | 0.3542577242 -0.4677194361 -0.8097777435
3 | -0.466674432 -0.3088040001 -0.8287671953
4 | 0.18742894 0.8351437594 -0.5171124573
5 | -0.3669140431 -0.4784618697 0.7977771144
6 | 0.05411451163 -0.9967859849 0.05907046517
7 | 0.09633324548 -0.9032822726 -0.4180921451
8 | -0.01582050777 -0.1988194987 -0.9799084235
9 | 0.7525500132 0.2209928813 -0.6203471802
10 | -0.749540931 0.2668478049 0.6057892718
11 | -0.5464084186 0.7153079876 0.4356286526
12 | -0.4212022693 -0.005868931505 0.9069477405
13 | -0.5731459682 0.4929813489 -0.6545785582
14 | 0.3849445648 0.8221675504 0.4193545053
15 | -0.2963769581 0.8407998956 -0.4530079847
16 | -0.9714435902 -0.01296455516 0.2369161697
17 | -0.5911521643 0.804836846 -0.05269506526
18 | 0.3477456369 -0.1547212951 0.9247347149
19 | 0.9635825251 0.119165241 0.2393916513
20 | -0.7381998523 -0.4885227378 -0.465195134
21 | 0.8832715933 -0.3580704612 0.3026827336
22 | 0.6296857887 0.6507387005 -0.4243052571
23 | 0.8513597482 0.5245181023 -0.008206063822
24 | -0.4249007137 -0.9032312295 0.06027212918
25 | 0.7573464841 -0.04101725462 0.6517237819
26 | -0.870411483 0.4604155686 0.174359842
27 | -0.1131497961 0.5687084271 -0.8147194907
28 |
--------------------------------------------------------------------------------
/Data/Packing/Pack028.txt:
--------------------------------------------------------------------------------
1 | -0.05086530717 0.8040084232 0.5924383309
2 | 0.2275459875 -0.9566939788 0.181547389
3 | -0.5168446297 0.2056053252 -0.8310223096
4 | -0.6818758195 0.7259647289 -0.0895576866
5 | -0.3461658944 0.7300757942 -0.5892015854
6 | -0.09957256021 -0.9802870977 -0.1706531905
7 | -0.652413147 -0.6813490062 0.3318442668
8 | 0.3938217008 -0.8805755126 -0.2636119016
9 | -0.07054130544 0.4657717714 -0.8820887604
10 | 0.5520495281 0.8256810571 0.1161555444
11 | -0.7950928374 -0.4613670353 -0.3936595466
12 | 0.9513720151 -0.03025198053 -0.306555226
13 | -0.8140684751 0.4914982613 0.3093896847
14 | 0.7180882268 0.3055890113 -0.6252716647
15 | 0.1442884598 0.4653930869 0.873264058
16 | -0.7362208872 0.4658997269 -0.4908322012
17 | -0.4821959711 0.5963346047 0.6417726113
18 | 0.241272078 0.9272935144 -0.2862071323
19 | 0.3198500957 0.6606998996 -0.6790961338
20 | 0.8637612547 -0.002034240968 0.5038971689
21 | -0.2870421905 0.2577192257 0.9225982774
22 | -0.5724486545 -0.2690792012 -0.7745314206
23 | 0.4203708215 0.7104011245 0.5644631208
24 | 0.3422037786 0.2202784379 -0.913440739
25 | 0.700762085 -0.1706067223 -0.6926946272
26 | -0.9208394108 -0.3845726501 0.06448764528
27 | 0.9572521456 -0.2663733911 0.1127543628
28 | -0.1134304373 -0.0004323341889 -0.9935458464
29 |
--------------------------------------------------------------------------------
/Data/Packing/Pack029.txt:
--------------------------------------------------------------------------------
1 | 0.507773005 0.02933993364 -0.8609911403
2 | -0.3933148825 0.2007845384 -0.8972117767
3 | 0.7141910203 0.2131337534 0.6667122241
4 | 0.9356380642 0.2961783784 -0.1919890129
5 | 0.1085648842 0.8485446311 0.5178664643
6 | -0.3149680656 -0.3656302739 -0.8758479437
7 | -0.6425163324 -0.7158564176 0.2733538951
8 | -0.3454745911 -0.6829854039 0.6435668147
9 | 0.9814740815 -0.1679163158 -0.09226450181
10 | 0.8233010165 -0.2262990977 0.5205421737
11 | -0.8396614213 0.07813158915 0.537460838
12 | -0.781163317 0.5409964696 0.3116194667
13 | -0.2213151326 -0.9392378922 0.2623962536
14 | -0.5589327713 0.4204934499 0.7146883347
15 | -0.9537307666 -0.1501656693 -0.2604762879
16 | 0.4259201424 0.8897204824 0.1642848001
17 | 0.5341087978 0.6387953516 0.5537763906
18 | 0.5601360016 -0.6217663798 0.5474068219
19 | -0.07881853677 0.9913943253 0.1045223898
20 | 0.1228645995 -0.6754731633 0.7270765406
21 | -0.8265604344 0.5390330871 -0.1619912937
22 | 0.3641624568 -0.7926805321 -0.4889205244
23 | 0.7941104273 0.5866776499 0.1587386667
24 | 0.07374482 -0.1163574735 -0.9904658701
25 | -0.5295671936 0.8470126189 0.04613253568
26 | -0.7057431902 -0.3751446238 0.6009933949
27 | -0.1592389054 -0.3469771449 0.924256367
28 | 0.2483596553 -0.909820197 0.3324826173
29 | -0.1163215707 0.5589078428 0.8210306422
30 |
--------------------------------------------------------------------------------
/Data/Packing/Pack030.txt:
--------------------------------------------------------------------------------
1 | 0.7681209637 0.5153766775 0.3799698218
2 | 0.7623737643 -0.5137096703 -0.3935589133
3 | 0.3971609245 0.6953322833 0.5989793117
4 | -0.2168476715 0.1389946964 0.9662595726
5 | -0.8467941782 0.08806263326 -0.5245803965
6 | 0.5086356542 0.8438996481 0.1706550768
7 | -0.04965639858 -0.2967221357 0.9536719647
8 | -0.1972814015 -0.3486540116 -0.9162534741
9 | 0.1688335708 -0.6501512994 0.7408093637
10 | 0.9378868056 0.1507523225 -0.3124773225
11 | 0.9665651144 -0.2468365193 -0.06945223142
12 | -0.3662741263 0.08642910152 -0.926484363
13 | 0.4297680905 -0.8142804727 0.3901880319
14 | 0.4953797044 0.2144039994 -0.8418015642
15 | -0.6203049437 -0.2583504983 -0.7405921933
16 | 0.05341896976 -0.6907521232 -0.7211157452
17 | -0.3668141633 0.8364265554 0.4072321045
18 | 0.8063695682 0.5859851447 -0.0799345335
19 | -0.02618335944 -0.913297173 0.4064513569
20 | -0.5781388811 0.4307385998 -0.6929788545
21 | -0.9746157946 -0.1636729339 -0.1527587107
22 | 0.2952993306 0.6594991687 -0.6912735724
23 | -0.2125598042 0.9770931905 -0.01035503351
24 | -0.632488718 0.7740474204 0.0284361147
25 | -0.8168820447 0.4945346173 -0.2968825312
26 | 0.4642018482 -0.4708196412 -0.7502303044
27 | 0.7544435504 -0.1205499576 -0.6451996877
28 | -0.0856121119 -0.9342031614 -0.3463163576
29 | -0.6967908175 -0.4902839884 0.5235495845
30 | 0.4719066652 0.8309790367 -0.2945809564
31 |
--------------------------------------------------------------------------------
/Data/Packing/Pack031.txt:
--------------------------------------------------------------------------------
1 | 0.01857091629 0.3631512645 -0.9315451037
2 | 0.4489953331 0.2197597575 -0.8660882402
3 | 0.5946509467 -0.2056805754 -0.7772295365
4 | 0.4993429933 0.8038360931 -0.3232709551
5 | 0.6684671339 -0.5572717771 -0.4925442694
6 | 0.06051766068 0.9205861495 -0.3858221794
7 | -0.8266346407 -0.547461638 0.1302341188
8 | 0.1432436622 0.5025982859 0.8525703585
9 | -0.9900091499 -0.1238094469 0.06747669238
10 | -0.4293905593 0.3363562306 -0.8381457115
11 | -0.8977393703 -0.2482182783 -0.3639391561
12 | -0.3258164432 -0.77899322 -0.535736137
13 | 0.6899541042 0.4599660832 -0.5589226569
14 | 0.9460470098 -0.1956288186 0.2583107056
15 | 0.1853177491 -0.1397217332 -0.9726947975
16 | -0.8648254157 -0.04030895077 0.5004519846
17 | 0.7049215174 -0.495028502 0.5079689327
18 | -0.2512883934 0.7154451594 -0.6519143865
19 | -0.7718089811 0.631359174 -0.07547509584
20 | -0.7154780714 0.006518136032 -0.6986047833
21 | 0.1209946497 -0.8669615629 -0.4834645212
22 | -0.6960207934 -0.6541773214 -0.2959849443
23 | -0.2683020203 -0.07499834596 -0.9604109922
24 | 0.3769110629 0.9205314536 0.1027613431
25 | 0.480032142 -0.8544332486 -0.1987786868
26 | 0.4237539308 -0.8688765585 0.2559025836
27 | 0.5700602898 0.4281746025 0.7012116484
28 | -0.2756165836 -0.661722382 0.6972510222
29 | 0.3040621004 -0.560116746 -0.7705942317
30 | 0.9282190919 -0.3077682113 -0.2090168547
31 | -0.07164011436 0.9963458723 0.04650372868
32 |
--------------------------------------------------------------------------------
/Data/Packing/Pack032.txt:
--------------------------------------------------------------------------------
1 | -0.7067706855 0.7026391101 -0.08230114883
2 | 0.01764977727 -0.9803600936 -0.1964244696
3 | 0.9720845708 0.226765029 0.06024291488
4 | 0.3261842902 -0.9367479293 0.1269138521
5 | -0.3214540214 -0.3565245166 -0.877244311
6 | -0.4615420762 -0.8543168332 0.2390013816
7 | -0.4945265867 0.5598208059 0.6648639863
8 | -0.7954462914 -0.5541323026 0.2453621585
9 | -0.4574086919 0.8388880776 0.2950323404
10 | -0.6475756958 -0.2274241622 0.7272715921
11 | -0.03636010554 -0.6615270426 0.7490393278
12 | -0.4665337052 -0.625520098 0.6253566254
13 | -0.1169125682 0.4536806209 0.8834621359
14 | 0.7718090672 0.6034688423 0.2003400115
15 | -0.02372235372 -0.04311407326 -0.9987884794
16 | -0.8771114908 0.3602398074 -0.3176518753
17 | 0.4206358227 0.8832418757 0.2072421138
18 | -0.2490804779 -0.3046053452 0.9193337257
19 | 0.34801578 -0.765361476 0.5413934132
20 | -0.1195409504 0.7962071734 0.5930970394
21 | 0.5914619011 0.004802280107 0.8063186452
22 | 0.4117819896 -0.1144328131 -0.9040689821
23 | -0.7553013074 0.1964050886 0.6252559286
24 | 0.6080906126 -0.4232466991 0.6716308797
25 | 0.9764160682 -0.1968542106 -0.08865710132
26 | -0.8813373224 -0.06276176503 -0.4683006352
27 | 0.9152677602 0.1418837967 -0.3770330429
28 | 0.785033268 -0.5280086922 -0.3239283702
29 | -0.2358573736 0.3424511344 -0.9094495697
30 | 0.6686886661 0.4344791035 0.6033932188
31 | -0.3225563734 -0.7203500148 -0.6140466124
32 | -0.0419431268 -0.9225178906 0.383668497
33 |
--------------------------------------------------------------------------------
/Data/Packing/Pack033.txt:
--------------------------------------------------------------------------------
1 | 0.9776170657 -0.2083732593 -0.02907675598
2 | 0.6835307968 -0.298730729 0.6659921931
3 | 0.2036212347 -0.9317084482 0.3007619661
4 | -0.3105860294 -0.5769876043 0.7553950112
5 | 0.0282466135 -0.3553235769 0.9343164799
6 | 0.9224798921 0.079668891 -0.3777349818
7 | 0.1044066522 -0.7164056444 0.6898276623
8 | -0.2046568176 -0.7287352162 -0.6534987159
9 | 0.3722020926 0.1678799685 -0.9128427676
10 | -0.105788189 0.4931734917 0.8634748208
11 | -0.9221043588 0.05609871403 -0.3828530865
12 | 0.5127594339 -0.6811387366 0.5226162879
13 | 0.5962814467 -0.7302671833 -0.3334040752
14 | 0.9726017765 0.227697709 0.04689922958
15 | 0.6936645914 0.1419947676 0.7061635226
16 | -0.83243176 0.3652380313 0.4167235839
17 | -0.3279775015 -0.3543617294 -0.8757045867
18 | -0.5893584723 0.8012159825 -0.1034869103
19 | -0.675862694 -0.3511740942 0.6479863999
20 | -0.5168445674 0.4939597256 0.699196312
21 | -0.2605699648 0.9536156475 0.1507331761
22 | -0.3841484168 0.09256340496 -0.918619622
23 | -0.543565058 -0.8287086862 0.133337696
24 | 0.01565148428 -0.08073551889 -0.9966126665
25 | 0.777461884 0.6057409801 0.1692066308
26 | -0.6834904453 0.08467125188 0.7250321305
27 | 0.6035278867 0.5544327403 0.5730256769
28 | -0.2233544833 0.7959260354 0.5626850993
29 | 0.4319297 0.8525188832 0.2943608126
30 | -0.8210479996 -0.5080388662 0.260339572
31 | -0.8292604753 0.4785461014 -0.28865324
32 | -0.2238052002 -0.8714439067 0.4364593335
33 | -0.147782817 -0.9888825552 0.01647819827
34 |
--------------------------------------------------------------------------------
/Data/Packing/Pack034.txt:
--------------------------------------------------------------------------------
1 | 0.5819376861 -0.7158057979 0.3859670831
2 | -0.7649446568 -0.6161212542 -0.1877612105
3 | -0.1919275849 0.8159551656 0.54532648
4 | 0.7389557188 -0.3513731978 0.5748750487
5 | -0.8688495036 0.4639327505 -0.1728205515
6 | 0.05622620444 0.2176034502 -0.9744164163
7 | 0.6449607837 0.4878979739 0.5882016275
8 | -0.03420351835 0.2190936935 0.9751041343
9 | 0.3718307615 -0.1501186383 0.9160820265
10 | 0.3867529958 0.2851279291 0.8769972544
11 | -0.876671605 0.4045780758 0.2603141899
12 | 0.04357871631 0.6132480221 -0.7886873645
13 | 0.7046670102 -0.2592489287 -0.6604804295
14 | 0.7531973853 0.3901364015 -0.529610505
15 | -0.135973787 -0.9663435319 0.218383396
16 | -0.3320055854 0.490701319 0.8055957465
17 | -0.03104848569 -0.9780737686 -0.2059312864
18 | 0.4424191792 0.8927976661 0.08472070194
19 | -0.6749659403 -0.7005163307 0.2317279652
20 | -0.09184430868 -0.5977378378 -0.7964132722
21 | -0.9200149889 -0.01019378526 0.3917505672
22 | 0.9970173902 -0.07067631571 0.03100293538
23 | -0.9131389439 -0.2320580863 -0.3351511805
24 | -0.5897342313 0.6439684195 0.4873584011
25 | 0.718924446 0.0695348268 0.6916014378
26 | -0.9252125943 -0.3577489992 0.1264804687
27 | 0.3863859965 -0.5501997718 0.7402608141
28 | 0.1804250418 -0.8490940414 0.4964736782
29 | -0.2928229127 0.9522284376 -0.08669339327
30 | 0.6510753563 -0.75585763 -0.06913843761
31 | -0.3638347329 -0.764430658 0.5322312057
32 | 0.3457946501 0.7942348038 0.4996169896
33 | 0.4230502824 -0.0316078435 -0.9055547486
34 | -0.4222393896 -0.3962281407 0.8153018817
35 |
--------------------------------------------------------------------------------
/Data/Packing/Pack035.txt:
--------------------------------------------------------------------------------
1 | -0.8585237487 -0.005754783327 -0.5127415094
2 | -0.6838717354 -0.7135020814 -0.1524277841
3 | -0.8313184475 0.2196243526 0.5105632014
4 | -0.7921058387 -0.5628184226 0.236228202
5 | -0.2006495249 -0.656599226 0.7270606746
6 | 0.5645035532 -0.5814964837 0.5858306734
7 | 0.1356325813 0.2919427827 -0.9467698847
8 | -0.2523967682 0.4543115286 -0.8543400414
9 | -0.576328093 -0.2315974143 -0.7837145953
10 | 0.4619615897 0.8197108293 -0.3386231622
11 | 0.5913464369 -0.1988016255 0.7815288256
12 | -0.1858765961 0.786696634 -0.5886920222
13 | 0.1914368798 0.3830725972 0.9036632704
14 | 0.5449419088 -0.8214854727 -0.1679283605
15 | 0.5232249984 -0.276721421 -0.8060154193
16 | 0.3637839695 -0.9067154216 0.213373775
17 | 0.4452033431 0.6185299626 0.6474678901
18 | 0.1930484192 -0.5531958093 -0.8103744224
19 | -0.8561291753 -0.2086618725 0.4727611005
20 | -0.7804246473 -0.4257190479 -0.4579308487
21 | -0.9470092679 -0.3117161869 -0.07750138937
22 | -0.09483964909 0.9879155952 0.1225896316
23 | -0.2384427116 0.03979643349 -0.9703408253
24 | 0.5277624266 0.1529096333 -0.8355150897
25 | 0.05872819144 0.9585820586 -0.2786959571
26 | -0.7203850467 0.6660717581 -0.1933747592
27 | -0.9879416974 0.05487871359 0.1447740632
28 | 0.2586339135 -0.8327973044 -0.4894457566
29 | 0.3322592471 0.9416683366 0.05352136528
30 | 0.9329758196 -0.291927936 0.2105568813
31 | 0.6129061315 -0.5905165054 -0.5250107911
32 | 0.5930848073 0.5179055192 -0.6164610974
33 | 0.8601915588 -0.4809824601 -0.1694885106
34 | -0.1673755062 -0.8790339828 -0.446413146
35 | 0.1541065059 -0.1371566483 -0.9784882415
36 |
--------------------------------------------------------------------------------
/Data/Packing/Pack036.txt:
--------------------------------------------------------------------------------
1 | 0.006769878301 -0.9996998093 0.02354697411
2 | -0.7470002062 0.02267014697 -0.6644371727
3 | 0.652452768 0.7257992637 -0.2179926931
4 | 0.3913416804 -0.9028389649 0.17813897
5 | 0.9555663861 0.008073441137 0.2946654055
6 | 0.5049375305 0.6525857095 0.5649513094
7 | 0.2896546268 -0.01524180617 -0.9570098665
8 | 0.6159863433 -0.3146023911 -0.7222092221
9 | -0.4904115937 -0.3084824395 -0.8150675146
10 | 0.9912949163 -0.03281644477 -0.1275047838
11 | -0.7999613682 -0.3993426134 0.4478697205
12 | -0.4812122878 -0.6318185621 0.6076512475
13 | -0.1869563738 0.7651712421 0.6160846408
14 | 0.7200214242 0.6651475424 0.1978582715
15 | -0.5936237496 -0.2199643239 0.774097242
16 | -0.1103637813 -0.2005276268 -0.9734518512
17 | 0.1758772141 0.8859416888 0.4291556007
18 | -0.234451933 0.4287423125 0.8724748252
19 | -0.8003053486 -0.3577781113 -0.481150883
20 | 0.3398849259 -0.7451794409 0.5737471901
21 | 0.3275085484 -0.9131805938 -0.2425682457
22 | 0.8489269811 -0.01576404663 -0.5282749999
23 | 0.8629820233 -0.3884267241 -0.3230893182
24 | 0.5857656147 -0.4191000728 0.693710151
25 | -0.28241727 -0.896857288 0.3404225177
26 | -0.1540445803 -0.5850540217 -0.7962299033
27 | 0.3999132503 0.914002565 0.0683279117
28 | -0.2252135096 -0.3998793046 0.8884680168
29 | 0.9246075067 0.3786639881 -0.04140703588
30 | 0.197759225 -0.466328326 0.8622233941
31 | -0.4064672021 0.09824164315 -0.9083683136
32 | -0.5765140775 0.6618208084 0.4791917529
33 | -0.7016948557 0.7085131889 0.07505591712
34 | -0.6839757446 0.6427143598 -0.345102061
35 | -0.07362887594 -0.7349302196 0.6741337857
36 | -0.9173776331 0.3854941134 -0.09905840101
37 |
--------------------------------------------------------------------------------
/Data/Packing/Pack037.txt:
--------------------------------------------------------------------------------
1 | -0.3979208823 -0.3850801952 -0.832689747
2 | 0.2209638979 -0.03639352086 -0.9746027229
3 | -0.01399523772 0.3981410936 0.917217424
4 | -0.7773021796 -0.5795474475 -0.2447980346
5 | -0.1030255847 -0.7255706738 -0.6803917447
6 | -0.1834996992 0.9117408345 -0.3675003552
7 | -0.09155917506 -0.9428690059 -0.3203356914
8 | 0.2287186365 -0.9722517281 -0.04913616285
9 | 0.5514192885 0.7989957022 -0.2398804623
10 | 0.3174599579 0.552874398 -0.7704213621
11 | 0.497965774 0.6748723561 0.5445891946
12 | 0.8502982124 -0.1206089072 0.5122952679
13 | -0.9077723778 0.2721764078 0.3191697246
14 | 0.9812015169 0.1097431252 -0.158745172
15 | 0.009335072888 0.326023247 -0.9453156609
16 | -0.2144792358 -0.8464982295 0.487277544
17 | 0.1996896091 0.04105252373 0.978998851
18 | 0.5357047765 0.1968039949 -0.8211507657
19 | -0.4759079769 -0.8631063956 -0.1689939268
20 | -0.6670794092 0.5886890051 0.4565635959
21 | -0.6079735661 0.2152607792 0.76421917
22 | 0.7368262106 0.3314477621 0.5892618402
23 | -0.2984391072 0.8448743667 0.4439835625
24 | 0.1676295925 0.9815837609 -0.09161681138
25 | 0.9479011855 0.1950524682 0.2518687697
26 | 0.5842469627 0.008483156672 0.8115315906
27 | -0.831995038 -0.07114903357 0.5502018464
28 | 0.08278092705 -0.6765653338 0.7317148811
29 | 0.3629076577 -0.5588252399 -0.7456623789
30 | 0.674668955 0.4912234906 -0.5509276572
31 | -0.8068972479 0.587659467 0.05977609954
32 | -0.788177764 0.5046829079 -0.3522371002
33 | -0.5472518963 0.8177846616 -0.1781673631
34 | 0.845605392 0.5079583804 -0.1641030315
35 | -0.3963633936 0.366725924 -0.8416698622
36 | 0.9695267469 -0.2260622899 0.09441254199
37 | 0.469842422 -0.6766877752 0.566870138
38 |
--------------------------------------------------------------------------------
/Data/Packing/Pack038.txt:
--------------------------------------------------------------------------------
1 | -0.8555184431 -0.07785361726 -0.5118857371
2 | -0.7182500443 -0.6877484259 -0.1054465583
3 | -0.7770970063 0.0585882948 0.626647951
4 | -0.8553495059 -0.468131086 0.221879492
5 | 0.09926953281 -0.6686999253 0.7368758171
6 | 0.8096174669 -0.3607011932 0.4630488165
7 | 0.1559086228 0.3868020166 -0.9088876175
8 | -0.2509809135 0.2949314333 -0.9219674781
9 | -0.4475710397 -0.4754450671 -0.7573850755
10 | 0.5705684979 0.7593253224 -0.3128524316
11 | 0.6201508095 -0.1506408233 0.7698833131
12 | -0.4922188856 0.5384762205 -0.683932693
13 | 0.02415859263 0.408974355 0.9122260352
14 | 0.6781495337 -0.6792383196 -0.2806216583
15 | 0.368237976 -0.267183082 -0.8905133316
16 | 0.2515875294 -0.8771720201 0.4089901736
17 | 0.1299609957 0.7314693692 0.6693748588
18 | 0.273128552 -0.6365917937 -0.7212154202
19 | -0.7183292233 -0.3536710863 0.5990992319
20 | -0.7453815307 -0.4776589661 -0.4650250378
21 | -0.9442528381 -0.2945394487 -0.1470819186
22 | -0.01182144596 0.9959854776 -0.08873095185
23 | -0.3405749791 -0.112513267 -0.9334610053
24 | 0.4841804604 0.1329011153 -0.8648159199
25 | 0.1638615096 0.878572466 -0.4486199145
26 | -0.6246859083 0.7091669845 -0.3268787299
27 | -0.9762454282 -0.0690293021 0.2053772612
28 | 0.3194019632 -0.8690791802 -0.3777350452
29 | 0.3837792629 0.9231514362 0.02247005145
30 | 0.9786461314 -0.1209381129 0.1662098745
31 | 0.6349188453 -0.4509596985 -0.6273064724
32 | 0.4059115378 0.6210003393 -0.6705180102
33 | 0.8899050239 -0.3219201162 -0.323166346
34 | -0.08586315564 -0.9455757929 -0.3138693013
35 | 0.05850985435 -0.009050197604 -0.9982458068
36 | 0.8618114072 -0.504660188 0.05098228277
37 | 0.4577970382 0.7853855186 0.4166430835
38 | 0.4152788265 -0.9093097872 0.02644252337
39 |
--------------------------------------------------------------------------------
/Data/Packing/Pack039.txt:
--------------------------------------------------------------------------------
1 | -0.1810540694 -0.07007702808 -0.9809733096
2 | 0.8259022825 0.5509415996 0.1197863664
3 | 0.8776339182 -0.4724841715 -0.0807304981
4 | 0.5952831977 -0.6464018792 -0.4772866279
5 | 0.4265843792 -0.8621706411 0.273290236
6 | -0.6707095394 -0.4749456384 0.569715152
7 | -0.9381449135 0.2364630815 -0.2529215934
8 | -0.03997661844 0.9109517299 -0.4105713285
9 | -0.3534361947 -0.8042122431 0.4778342018
10 | 0.2857161632 -0.8905874088 -0.3538648633
11 | 0.1004823817 0.2319946612 -0.9675131876
12 | 0.143784103 0.9461732396 0.2899695371
13 | -0.7456656439 0.6002155837 -0.2893509991
14 | 0.06231043548 0.4548135199 0.8884042277
15 | 0.9705058178 0.1676369202 0.1732521878
16 | 0.8309973847 0.09476968718 -0.5481441899
17 | 0.2717714824 0.9568652952 -0.1027086573
18 | -0.1306129386 0.9913110235 -0.01557930951
19 | 0.4578321763 0.3637179306 0.8112329907
20 | -0.4594220759 0.6375208195 -0.6184646803
21 | 0.6101561278 -0.7872469724 -0.08917232852
22 | 0.9818516612 -0.03557930701 -0.1862831936
23 | -0.3231027365 0.547462213 0.7719389529
24 | -0.2210069117 0.1631373503 0.9615311487
25 | -0.398772579 -0.7172687158 -0.5714070524
26 | 0.287762661 -0.350832231 0.8911281595
27 | 0.3211498195 0.5297838105 -0.7849789218
28 | 0.5361050494 0.1792251975 -0.8249058762
29 | -0.7311208643 0.3268995823 -0.5988313159
30 | -0.005738538192 0.7732305935 0.6340989816
31 | -0.8319949373 -0.07078797318 -0.5502485686
32 | 0.06641849954 -0.6664705692 0.7425668747
33 | 0.5276451537 0.8268996598 0.1944930446
34 | 0.8986633606 0.3650950948 -0.2431249391
35 | -0.7218526181 -0.4670159851 -0.5107101598
36 | -0.6684207935 -0.7078262707 0.2284635931
37 | 0.5853603487 -0.2282823251 -0.777972006
38 | -0.5514556369 0.03807481278 -0.8333348601
39 | -0.8334995598 0.309410941 0.4577590561
40 |
--------------------------------------------------------------------------------
/Data/Packing/Pack040.txt:
--------------------------------------------------------------------------------
1 | 0.9399885022 0.03089751569 -0.3398042954
2 | 0.8807709649 0.1894982619 0.4339734048
3 | -0.7786785966 -0.357289713 0.5157554695
4 | -0.2885414105 0.6781510243 0.6759105286
5 | 0.7578060909 0.6185079195 -0.2077928827
6 | -0.8189023761 0.3332467622 0.467274538
7 | 0.7461393855 -0.121473417 0.6546145632
8 | -0.6495559295 -0.5763899004 -0.4958344251
9 | -0.5971951079 -0.7931198768 -0.1196614565
10 | 0.149349512 -0.3517431456 0.9241057747
11 | 0.5030671017 0.3079864431 -0.8075071777
12 | 0.3439953847 0.8335146873 0.4323429674
13 | -0.2020262581 0.9180832121 -0.3410404766
14 | -0.0348509828 -0.02877727035 -0.9989781167
15 | 0.05482256268 -0.900264933 -0.4318767615
16 | -0.4414749685 0.832447409 0.3348599162
17 | 0.7574111002 -0.6238067208 -0.1928564242
18 | 0.5043067867 -0.4318782126 0.7477672594
19 | -0.858302276 -0.4871647042 -0.1612071773
20 | -0.1866038642 0.9807129231 0.05814774573
21 | 0.2173561514 0.9732344988 0.07463855499
22 | -0.7274054848 0.005803907221 0.6861833395
23 | 0.5302692476 -0.7131869581 0.4584527107
24 | -0.933982078 0.1893571784 -0.3030203574
25 | -0.8037564157 0.5590412101 -0.2035891687
26 | 0.5411513901 -0.837699098 0.07358936159
27 | 0.5003367761 0.6437786589 -0.5789750847
28 | 0.1127452064 0.6786962829 0.7257133553
29 | 0.6235891707 0.2544827967 0.7391718693
30 | 0.1823201469 0.5541796144 -0.8121849044
31 | -0.1380148085 0.3863725201 0.9119584356
32 | 0.9912770685 0.1215628663 0.05091407495
33 | -0.5387564186 0.3708730657 0.7564355165
34 | 0.4389486195 0.8642993569 -0.2455824323
35 | 0.4305796063 -0.06215775653 0.9004096934
36 | -0.1935234925 0.6922482663 -0.6952272978
37 | -0.3630389396 0.05090825629 0.9303822213
38 | 0.2642251479 0.3467362151 0.8999772599
39 | 0.95406113 -0.2860572495 -0.08909887916
40 | 0.1485752746 0.8375779048 -0.5257267742
41 |
--------------------------------------------------------------------------------
/Data/Packing/Pack041.txt:
--------------------------------------------------------------------------------
1 | 0.07746938278 -0.9522553404 -0.2953104492
2 | -0.1798912095 0.5121199507 0.8398644586
3 | 0.5155809629 -0.8263567769 -0.2265187584
4 | -0.002257845041 0.1851392302 0.9827097067
5 | 0.1936757159 0.1641379937 -0.9672375283
6 | 0.3926404341 -0.1751883538 -0.902852441
7 | -0.8375187692 0.1704251694 -0.519150819
8 | -0.1536224948 -0.7615088026 0.6296860112
9 | 0.5977497004 0.8016202326 0.01001490578
10 | -0.5471476794 0.4744068119 0.6896140904
11 | 0.9465049785 -0.2069822618 -0.247561445
12 | 0.8503966714 0.210948642 -0.4820022528
13 | 0.761291266 0.5770045447 0.2958062942
14 | 0.04891994591 0.9537519499 -0.2965873512
15 | -0.7788300553 0.1609662711 0.6062290034
16 | 0.9336809117 0.217806663 0.284253782
17 | -0.6910717276 0.5392037805 -0.4813306041
18 | 0.308750931 -0.7672872007 -0.562088262
19 | -0.5582586727 0.2286693759 -0.7975321754
20 | 0.6508361104 0.5539795964 -0.519152159
21 | 0.217912506 0.4876955306 0.84537992
22 | -0.9772554207 0.1535791523 -0.1462370909
23 | 0.4259435427 0.8351099513 -0.3480854316
24 | 0.8316629133 0.530283666 -0.1647301803
25 | -0.600741287 0.7796997453 -0.1765735351
26 | -0.377593089 0.5764163209 -0.7246845411
27 | 0.4380235173 0.157763393 0.8850119265
28 | -0.9803843522 -0.1648494625 0.1080332204
29 | 0.3072702644 -0.844645799 0.4383588244
30 | 0.2048109826 -0.1550557604 0.9664420172
31 | -0.2388920262 -0.9695732751 -0.05346273528
32 | 0.01605002474 -0.4926352966 0.8700878468
33 | -0.8572501135 0.5142319729 -0.02622443334
34 | -0.760240549 0.5411420055 0.3594435109
35 | 0.745929629 0.199676203 0.6353883872
36 | -0.3751988688 -0.4749556524 0.7960169201
37 | 0.2678230721 -0.9619108614 0.05475670517
38 | 0.1101757382 0.7877187788 0.6061026581
39 | 0.5494454978 0.5464580393 0.6320547889
40 | -0.4301093025 -0.8230198123 -0.3710045506
41 | 0.5992850211 0.1454368055 -0.7872138205
42 |
--------------------------------------------------------------------------------
/Data/PreComputedTables/sh3integral.hdr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Data/PreComputedTables/sh3integral.hdr
--------------------------------------------------------------------------------
/Data/PreComputedTables/sh3integral.img:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Data/PreComputedTables/sh3integral.img
--------------------------------------------------------------------------------
/Data/Tessellation/directions_t1.txt:
--------------------------------------------------------------------------------
1 | -0.850651 -0.525731 0
2 | 0.850651 -0.525731 0
3 | 0.525731 0 0.850651
4 | -0.525731 0 0.850651
5 | 0 0.850651 0.525731
6 | 0 -0.850651 0.525731
7 |
--------------------------------------------------------------------------------
/Data/Tessellation/directions_t2.txt:
--------------------------------------------------------------------------------
1 | -0.850651 -0.525731 0
2 | 0.850651 -0.525731 0
3 | 0.525731 0 0.850651
4 | -0.525731 0 0.850651
5 | 0 0.850651 0.525731
6 | 0 -0.850651 0.525731
7 | 0.309017 0.5 0.809017
8 | -0.309017 0.5 0.809017
9 | 0 0 1
10 | -0.309017 -0.5 0.809017
11 | 0.309017 -0.5 0.809017
12 | 0.809017 0.309017 0.5
13 | 0.809017 -0.309017 0.5
14 | 1 0 0
15 | -0.809017 -0.309017 0.5
16 | -0.809017 0.309017 0.5
17 | 0.5 0.809017 0.309017
18 | -0.5 0.809017 0.309017
19 | 0 -1 0
20 | 0.5 -0.809017 0.309017
21 | -0.5 -0.809017 0.309017
22 |
--------------------------------------------------------------------------------
/Documentation/Doxygen/Modules.dox:
--------------------------------------------------------------------------------
1 |
2 | /** \defgroup utl
3 | * \brief helper functions and classes.
4 | **/
5 |
6 | /** \defgroup utlMath
7 | * \brief math related helper functions.
8 | * \ingroup utl Math
9 | **/
10 |
11 | /** \defgroup utlHelperFunctions
12 | * \brief helper functions.
13 | * \ingroup utl
14 | **/
15 |
16 | /**
17 | * \defgroup utlNDArray
18 | * \brief utl::NDArray with supports for expression template, blas, mkl.
19 | * \ingroup utl
20 | **/
21 |
22 | /** \defgroup Math
23 | * \brief math related functions and classes.
24 | **/
25 |
26 | /**
27 | * \defgroup OptimizationSolver
28 | * \brief Solvers for optimization problems.
29 | * \ingroup Math
30 | **/
31 |
32 | /**
33 | * \defgroup SamplingScheme
34 | * \brief Sampling scheme in q-space.
35 | **/
36 |
37 | /** \defgroup DWIProcessing
38 | * \brief simulation and processing of DWI.
39 | **/
40 |
41 | /**
42 | * \defgroup DiffusionModels
43 | * \brief Diffusion models used in diffusion data reconstruction.
44 | **/
45 |
46 | /**
47 | * \defgroup Visualization
48 | * \brief Visualization of diffusion data.
49 | **/
50 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/HelperFunctions.rst:
--------------------------------------------------------------------------------
1 | ../../Modules/HelperFunctions/README.rst
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/GitHub.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/GitHub.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/linux-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/linux-icon.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/theme_overrides.css:
--------------------------------------------------------------------------------
1 | .wy-nav-content {
2 | max-width: 1250px
3 | }
4 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_MSD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_MSD.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_PFA.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_PFA.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_RTO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_RTO.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_eap_r0.015_ROI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_eap_r0.015_ROI.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_eap_r0.015_whole.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Documentation/Sphinx/_static/tutorials/spfi/HCP_DL-SPFI_1e-6_eap_r0.015_whole.png
--------------------------------------------------------------------------------
/Documentation/Sphinx/codemodules.rst:
--------------------------------------------------------------------------------
1 | ============
2 | Code Modules
3 | ============
4 |
5 | .. meta::
6 | :description: code modules of dmritool
7 | .. include:: meta_keywords.txt
8 | .. include:: links.inc
9 |
10 | .. toctree::
11 | :maxdepth: 2
12 |
13 | HelperFunctions
14 |
15 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/developers.rst:
--------------------------------------------------------------------------------
1 | ==========
2 | Developers
3 | ==========
4 |
5 | .. meta::
6 | :description: developers of dmritool
7 | .. include:: meta_keywords.txt
8 | .. include:: links.inc
9 |
10 | DMRITool core development team includes:
11 |
12 | * **Jian Cheng**, `Section on Quantitative Imaging and Tissue Sciences (SQITS)`_, `National Institutes of Health`_
13 |
14 |
15 | Some wonderful contributors:
16 |
17 | * **Pew-Thian Yap**, `MIND Lab`_, `IDEA Group`_, `University of North Carolina at Chapel Hill`_
18 |
19 |
20 | People who are interested in diffusion MRI methodologies are welcome to join the development team.
21 | We can collaborate via `github `__.
22 |
23 | Online web statistics on the DMRITool_ development activity are available below:
24 |
25 | .. raw:: html
26 |
27 |
28 |
29 |
30 |
31 | |
32 |
33 |
34 | |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/license.rst:
--------------------------------------------------------------------------------
1 |
2 | =======
3 | License
4 | =======
5 |
6 | .. meta::
7 | :description: license of dmritool
8 | .. include:: meta_keywords.txt
9 | .. include:: links.inc
10 |
11 | License for DMRITool
12 | ====================
13 |
14 | DMRITool_ is a free open source software. It is currently under the GPL_,
15 | because it uses GSL_ for mathematical special functions and spams_ for some optimization problems.
16 |
17 | The software under the license is distributed on an "as is" basis, without warranties.
18 | It is user's responsibility to validate the behavior of the routines and their accuracy using the released source code.
19 |
20 |
21 | Licenses for third parties
22 | ==========================
23 |
24 | spams
25 | -----
26 |
27 | See folder ``ThirdParty/Spams``.
28 | It was modified from Spams_ which uses GPL_ license.
29 |
30 |
31 | vtkviewer
32 | ---------
33 |
34 | See folder ``QTApplications/vtkviewer``.
35 | It was modified from vtkviewer_ which uses Apache License.
36 |
37 |
38 | Electrostatic point sets
39 | ------------------------
40 |
41 | See folder ``Data/ElectricRepulsion``.
42 | The electrostatic point sets were copied from CAMINO_ which is under Artistic License.
43 |
44 | Spherical packing point sets
45 | ----------------------------
46 |
47 | See folder ``Data/Packing``.
48 | The spherical packing point sets were copied from `Neil J. A. Sloane' collection `__.
49 |
50 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/meta_keywords.txt:
--------------------------------------------------------------------------------
1 | .. meta::
2 | :keywords: Diffusion MRI, software, tool, dmritool, diffusionmritool,
3 | dmri, Spherical Polar Fourier Imaging, Spherical Polar Fourier,
4 | Sampling scheme, Uniform sampling, sphere,
5 | HARDI, Orientation Distribution Function, ODF, Ensemble Average Propagator, EAP, Diffusion Propagator,
6 | q-space, q space,
7 | visualization, spherical function, spherical harmonics
8 |
9 |
10 |
11 | .. |br| raw:: html
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/newCommands.tex:
--------------------------------------------------------------------------------
1 |
2 | \newcommand{\q}{\ensuremath{\mathbf{q}}}
3 | \newcommand{\uu}{\ensuremath{\mathbf{u}}}
4 | \newcommand{\rr}{\ensuremath{\mathbf{r}}}
5 | \newcommand{\RR}{\ensuremath{\mathbf{R}}}
6 |
7 | \newcommand{\VV}[1]{\ensuremath{\textbf{\textit{#1}}}}
8 | \newcommand{\Vt}{\mathbi{t}}
9 | \newcommand{\Vx}{\mathbi{x}}
10 | \newcommand{\Vy}{\mathbi{y}}
11 | \newcommand{\Vz}{\mathbi{z}}
12 | \newcommand{\Vu}{\mathbi{u}}
13 | \newcommand{\Vv}{\mathbi{v}}
14 | \newcommand{\Vc}{\mathbi{c}}
15 | \newcommand{\Vb}{\mathbi{b}}
16 | \newcommand{\Va}{\mathbi{a}}
17 | \newcommand{\Ve}{\mathbi{e}}
18 | \newcommand{\Vw}{\mathbi{w}}
19 | \newcommand{\Vm}{\mathbi{m}}
20 |
21 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/support.rst:
--------------------------------------------------------------------------------
1 |
2 | =======
3 | Support
4 | =======
5 |
6 | .. meta::
7 | :description: support of dmritool
8 | .. include:: meta_keywords.txt
9 | .. include:: links.inc
10 |
11 | Thank you for your interests on DMRITool_.
12 | We are glad to hear your feedback and support you.
13 |
14 | Mailing List
15 | ============
16 |
17 | If you have questions about DMRITool_, please contact us via dmritool-discussion@www.nitrc.org.
18 | We are glad to answer your questions when you post them to the mailing list.
19 | For support and discussion, please subscribe to the dmritool-discussion_ mailing list by `nitrc `__.
20 |
21 | Issue Tracker
22 | =============
23 |
24 | If you want to require a new feature or report a bug, please use `the issue tracker in github `__.
25 |
26 | .. include:: links.inc
27 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/tools/make_tutorial_outputs.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | """
3 | Generate outputs for tutorils.
4 | It may take a long time
5 | """
6 |
7 | import os, subprocess, argparse
8 |
9 | parser = argparse.ArgumentParser(description=__doc__)
10 | parser.add_argument('sphinxDir', nargs=1, help='dmritool sphinx dir')
11 | args = parser.parse_args()
12 |
13 | sphinxDir = os.path.abspath(args.sphinxDir[0])
14 | origWD = os.getcwd()
15 |
16 | f = open(os.path.join(sphinxDir, 'tutoriallist.txt'),"r")
17 | tutorial_list = f.readlines()
18 | f.close()
19 | tutorial_list = [t.strip() for t in tutorial_list if t.strip() ]
20 |
21 | for tutorial in tutorial_list:
22 |
23 | print '\n#Tutorial: ', tutorial
24 | rstfile = os.path.join(sphinxDir, tutorial + '.rst')
25 | if not os.path.isfile(rstfile):
26 | raise Exception('no file: ' + rstfile)
27 |
28 | runpath = os.path.join(sphinxDir, '.' + tutorial)
29 | if os.path.exists(runpath):
30 | subprocess.call(['rm', '-rf', runpath])
31 | os.makedirs(runpath)
32 | os.chdir(runpath)
33 |
34 | shfile = os.path.join(runpath, tutorial + '.sh')
35 | subprocess.call(('python', os.path.join(sphinxDir, 'tools/extract_bash_from_rst.py'), rstfile, shfile, '--with-comments' ))
36 | subprocess.call(['sh', shfile])
37 |
38 | os.chdir(origWD)
39 |
40 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/tools/publish_matlabdemos.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -
2 |
3 | matlab -nosplash -nodesktop -r " \
4 | publish('demo_separate_sets.m');\
5 | publish('demo_separate_t4_1shell.m');\
6 | publish('demo_separate_t4_28x3.m');\
7 | publish('demo_separate_HCPQ390x3_30x3.m');\
8 | publish('demo_separate_HCPQ390x3_45x3.m');\
9 | publish('demo_mutishell_IMOC_1Opt_CNLO.m');\
10 | publish('demo_singleshell_IMOC_1Opt_CNLO.m');\
11 | exit;"
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/tools/upload_doxygen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -
2 |
3 | repo="git@github.com:DiffusionMRITool/dmritool-doxygen.git"
4 |
5 | USAGE="$0 DMRITOOL_BUILD_DIR"
6 | BUILD_DIR=$1
7 | if [ -z "$BUILD_DIR" ]; then
8 | echo $USAGE
9 | exit 1
10 | fi
11 |
12 | HTML_DIR=${BUILD_DIR}/Documentation/Doxygen/html
13 |
14 | if [ ! -e "$HTML_DIR/index.html" ]; then
15 | echo "$HTML_DIR does not contain an index.html"
16 | exit 1
17 | fi
18 |
19 | cd $HTML_DIR
20 | rm -rf .git
21 | git init
22 | git checkout -b gh-pages
23 | git add * -f
24 | touch .nojekyll
25 | git add .nojekyll
26 | git commit -a -m "Doxygen document. No history."
27 | git remote add origin $repo
28 | git push origin gh-pages --force
29 | rm -rf .git
30 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/tools/upload_ghpages.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash -
2 |
3 | repo="git@github.com:DiffusionMRITool/DiffusionMRITool.github.io.git"
4 |
5 | DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6 | HTML_DIR=${DIR}/../_build/html
7 |
8 | if [ ! -e "$HTML_DIR/index.html" ]; then
9 | echo "$HTML_DIR does not contain an index.html"
10 | exit 1
11 | fi
12 |
13 | cd $HTML_DIR
14 | rm -rf .git
15 | git init
16 | git add * -f
17 | touch .nojekyll
18 | git add .nojekyll
19 | git commit -a -m "dmritool homepage by sphinx. No history."
20 | git remote add origin $repo
21 | git push origin master --force
22 | rm -rf .git
23 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/tutoriallist.txt:
--------------------------------------------------------------------------------
1 | tutorial_dwisimulation
2 | tutorial_qspacesampling
3 | tutorial_spfi
4 |
--------------------------------------------------------------------------------
/Documentation/Sphinx/tutorials.rst:
--------------------------------------------------------------------------------
1 | =========
2 | Tutorials
3 | =========
4 |
5 | .. meta::
6 | :description: tutorials of dmritool
7 | .. include:: meta_keywords.txt
8 | .. include:: links.inc
9 |
10 | .. toctree::
11 | :maxdepth: 2
12 |
13 | tutorial_dwisimulation
14 | tutorial_spfi
15 | tutorial_qspacesampling
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Examples/Elec060.txt:
--------------------------------------------------------------------------------
1 | ../Data/ElectricRepulsion/Elec060.txt
--------------------------------------------------------------------------------
/Examples/directions_t3.txt:
--------------------------------------------------------------------------------
1 | ../Data/Tessellation/directions_t3.txt
--------------------------------------------------------------------------------
/Examples/directions_t4.txt:
--------------------------------------------------------------------------------
1 | ../Data/Tessellation/directions_t4.txt
--------------------------------------------------------------------------------
/Examples/dwi_crossingCylinder_3x3.txt:
--------------------------------------------------------------------------------
1 | NDims = 3
2 | DimSize = 3 3 1
3 | ElementSpacing = 1 1 1
4 | Scale = 1
5 | RicianNoiseSigma = 0
6 | BackgroundScale = 1
7 | ModelType = CYLINDER_SPHERICAL_MODEL
8 |
9 | DiffusionParameters = 0 1 0 90 0 1
10 | DiffusionParameters = 2 1 0 90 0 1
11 | DiffusionParameters = 1 0 0 90 90 1
12 | DiffusionParameters = 1 2 0 90 90 1
13 | DiffusionParameters = 1 1 0 90 90 0.5 90 0 0.5
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Examples/dwi_diagonal_spherical.txt:
--------------------------------------------------------------------------------
1 | NDims = 3
2 | DimSize = 4 4 1
3 | ElementSpacing = 2 2 2
4 | Scale = 1
5 | RicianNoiseSigma = 0
6 | BackgroundScale = 1
7 |
8 | ModelType = SYMMETRICAL_TENSOR_IN_SPHERICAL_COORDS
9 |
10 | DiffusionParameters = 1 1 0 90 45 0.0015 0.0003 0.5 90 -15 0.0015 0.0003 0.5
11 | DiffusionParameters = 0 1 0 90 45 0.0015 0.0003 1
12 | DiffusionParameters = 1 0 0 90 -15 0.0015 0.0003 1
13 | DiffusionParameters = 2 2 0 90 45 0.0015 0.0003 1
14 |
15 | BackgroundDiffusionParameters = 0 0 0.0007 0.0007 1
16 |
17 |
18 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright 2013-present by the DMRITOOL development team
4 | *
5 | * Licensed under the GNU General Public License;
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.gnu.org/copyleft/gpl.html
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *
17 | *
18 | */
19 |
--------------------------------------------------------------------------------
/Matlab/Demos/demo_separate_t4_1shell.m:
--------------------------------------------------------------------------------
1 | %% Uniformly select a single subset from a given set
2 | %
3 | % This is a demo to uniformly separate a subset from a given set by
4 | % using Mixed Integer Linear Programming (MILP)
5 | %
6 | %
7 | % Reference:
8 | %
9 | % 1. "Single- and Multiple-Shell Uniform Sampling Schemes for Diffusion MRI Using Spherical Codes",
10 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, Peter J. Basser, IEEE Transactions on Medical Imaging, 2017.
11 | %
12 | % 2. "Designing Single- and Multiple-Shell Sampling Schemes for Diffusion MRI Using Spherical Code",
13 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, MICCAI 2014.
14 | %
15 | % Copyright (c) 2013, Jian Cheng (jian.cheng.1983@gmail.com)
16 | %
17 |
18 | %% read sphere tessellation with 321 samples in the hemisphere
19 | grad_t4 = ReadDirections([getenv('HOME'), '/.dmritool/Data/Tessellation/directions_t4.txt']);
20 |
21 | VisualizeMultiShellScheme(grad_t4);
22 | title(['Sphere tessellation with 321 samples in the hemisphere']);
23 |
24 | %% extract 30 samples from grad_t4 using MILP
25 | clear params grbParams
26 | params.numSamples = 30;
27 | % set a lower bound, it can be 0 or covering radius from an existing scheme
28 | params.lbCost = 0.24;
29 |
30 | % grb parameters
31 | % MIPFocus 1 seems better
32 | grbParams.MIPFocus=1;
33 | % set time limit as 10 minutes or more
34 | grbParams.TimeLimit=600;
35 | % print verbose output from gurobi
36 | grbParams.OutputFlag=true;
37 | % grbParams.OutputFlag=false;
38 | % params.ModelFile='model.mps';
39 |
40 | % run
41 | [grad,grb] = OptimalSamplingSingleSubset(grad_t4, params, grbParams);
42 |
43 | %% visualize the result
44 | VisualizeMultiShellScheme(grad);
45 | title({'Estimated Scheme.', ['Covering radius = ', num2str(CoveringRadius(grad)*180/pi), ' degree']});
46 |
--------------------------------------------------------------------------------
/Matlab/README.md:
--------------------------------------------------------------------------------
1 |
2 | Matlab Codes
3 | ============
4 |
5 | This folder contains some prototype matlab codes.
6 | These codes are mainly used for demos.
7 | Some codes will be re-implemented using c++ in dmritool for better efficiency.
8 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/CartesianToSpherical.m:
--------------------------------------------------------------------------------
1 | function [theta, phi, r] = CartesianToSpherical(x,y,z)
2 | % Convert x,y,z to theta, phi, r.
3 | %
4 | % x = r.*sin(theta).*cos(phi)
5 | % y = r.*sin(theta).*sin(phi)
6 | % z = r.*cos(theta)
7 | %
8 | % USAGE:
9 | % [theta, phi, r] = CartesianToSpherical(x,y,z)
10 | %
11 | % INPUT
12 | % x : Nx1 vector with x coordinates.
13 | % y : Nx1 vector with y coordinates.
14 | % z : Nx1 vector with z coordinates.
15 | %
16 | % OUTPUT
17 | % theta, phi, r : Nx1 vectors
18 | %
19 | % Copyright (c) 2014, Jian Cheng
20 | %
21 |
22 | r = sqrt(x.^2+y.^2+z.^2);
23 | if (r==0)
24 | theta = 0;
25 | phi = 0;
26 | else
27 | theta = acos(z./r);
28 | phi = atan2(y,x);
29 | end
30 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/CoveringRadius.m:
--------------------------------------------------------------------------------
1 | function radius = CoveringRadius(grad, ind)
2 | % Calculate the covering radius of the given samples.
3 | %
4 | % USAGE:
5 | % radius = CoveringRadius(grad)
6 | % radius = CoveringRadius(grad, ind)
7 | %
8 | % INPUT
9 | % grad : Nx3 matrix, each row is a point in sphere.
10 | % ind : If it is given, calculate the minimal distance between
11 | % the ind-th sample and the other samples in grad.
12 | %
13 | %
14 | % OUTPUT
15 | % radius : covering radius, i.e., the minimal spherical distance between any two samples.
16 | %
17 | %
18 | % References:
19 | % 1. http://mathworld.wolfram.com/SphericalCode.html
20 | % 2. "Single- and Multiple-Shell Uniform Sampling Schemes for Diffusion MRI Using Spherical Codes",
21 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, Peter J. Basser, IEEE Transactions on Medical Imaging, 2017.
22 | % 3. "Designing Single- and Multiple-Shell Sampling Schemes for Diffusion MRI Using Spherical Code",
23 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, MICCAI 2014.
24 | % 4. "Novel single and multiple shell uniform sampling schemes for diffusion MRI using spherical codes",
25 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, Peter J. Basser, MICCAI 2015.
26 | %
27 | % Copyright (c) 2014, Jian Cheng
28 | %
29 |
30 | %%
31 | if nargin == 1
32 | innerProductAll = abs(grad*grad');
33 | radius = acos(max(innerProductAll(triu(innerProductAll,1)>0)));
34 | else
35 | if ind>size(grad,1) || ind<=0
36 | error('wrong index');
37 | end
38 | innerProduct = abs(grad(ind,:)*grad');
39 | radius = acos(max([innerProduct(1:ind-1), innerProduct(ind+1:end)]));
40 | end
41 |
42 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/CoveringRadiusUpperBound.m:
--------------------------------------------------------------------------------
1 | function ub = CoveringRadiusUpperBound(N)
2 | % calculate the upper bound () of the minimal distance for a given number of points.
3 | % Note: for N antipodal symmetric samples, use CoveringRadiusUpperBound(2*N).
4 | %
5 | % USAGE:
6 | % ub = CoveringRadiusUpperBound(N)
7 | %
8 | % INPUT
9 | % N : an integer number.
10 | %
11 | %
12 | % OUTPUT
13 | % up : an upper bound (spherical distance in radian)
14 | %
15 | % References:
16 | % 1. http://mathworld.wolfram.com/SphericalCode.html
17 | % 2. "Single- and Multiple-Shell Uniform Sampling Schemes for Diffusion MRI Using Spherical Codes",
18 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, Peter J. Basser, IEEE Transactions on Medical Imaging, 2017.
19 | % 3. "Designing Single- and Multiple-Shell Sampling Schemes for Diffusion MRI Using Spherical Code",
20 | % Jian Cheng, Dinggang Shen, Pew-Thian Yap, MICCAI 2014.
21 | %
22 | %
23 | % Copyright (c) 2014, Jian Cheng
24 | %
25 |
26 | %%
27 | upperBoundEuc = sqrt( 4-csc( pi*N./(6*(N-2)) ).^2 );
28 | ub = acos((2.0-upperBoundEuc.*upperBoundEuc)./2.0);
29 |
30 | end
31 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/GetGradAllShells.m:
--------------------------------------------------------------------------------
1 | function gradAll = GetGradAllShells(gradCell)
2 | % Get Nx3 gradient table from gradients in all shells.
3 | %
4 | % USAGE:
5 | % gradAll = GetGradAllShells(gradCell)
6 | %
7 | % INPUT
8 | % gradCell : a cell array with M gradient matrix from M shells.
9 | %
10 | %
11 | % OUTPUT
12 | % gradAll : Nx3 gradient matrix from all M shells.
13 | %
14 | % Copyright (c) 2014, Jian Cheng
15 | %
16 |
17 | numShells = numel(gradCell);
18 | numSamples = zeros(numShells,1);
19 | for i = 1 : numShells
20 | [numSamples(i),~] = size(gradCell{i});
21 | end
22 |
23 | gradAll = zeros(sum(numSamples),3);
24 | index=1;
25 | for k = 1 : numShells
26 | gradAll(index:index+numSamples(k)-1,:) = gradCell{k};
27 | index = index+numSamples(k);
28 | end
29 |
30 | end
31 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/ReadDirections.m:
--------------------------------------------------------------------------------
1 | function grad = ReadDirections(filename)
2 | % read direction file into a matrix
3 | %
4 | % USAGE:
5 | % grad = ReadDirections(filename)
6 | %
7 | % INPUT
8 | % filename : direction file name (.txt)
9 | %
10 | %
11 | % OUTPUT
12 | % grad : Nx3 matrix, each row is a point in sphere.
13 | %
14 | % Copyright (c) 2014, Jian Cheng
15 | %
16 |
17 |
18 | %%
19 | fid = fopen(filename);
20 | gradC = textscan(fid, '%f %f %f');
21 | fclose(fid);
22 |
23 | % for some directions which the first line shows the number of directions
24 | grad = [gradC{1} gradC{2} gradC{3}];
25 | if int16(grad(1,1)) == grad(1,1) && grad(1,2)~=grad(1,2)
26 | grad = grad(2:end, :);
27 | end
28 |
29 | normFactor = sqrt(sum(grad.^2,2));
30 | for i = 1 : size(grad,1)
31 | if (normFactor(i)>0)
32 | grad(i,:) = grad(i,:) / normFactor(i);
33 | end
34 | end
35 |
36 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/VisualizeMultiShellScheme.m:
--------------------------------------------------------------------------------
1 | function VisualizeMultiShellScheme(varargin)
2 | % visualize single or multiple shell schemes
3 | %
4 | % USAGE:
5 | % VisualizeMultiShellScheme(grad1)
6 | % VisualizeMultiShellScheme(grad1, grad2, grad3)
7 | %
8 | % INPUT
9 | % varargin : One or more matrix for schemes in different shells.
10 | % Each matrix has size N_ix3, N_i is the number of samples in the i-th shell.
11 | %
12 | % Copyright (c) 2014, Jian Cheng
13 | %
14 |
15 |
16 | colors{1} = 'ro';
17 | colors{2} = 'go';
18 | colors{3} = 'bo';
19 | colors{4} = 'co';
20 | colors{5} = 'ko';
21 | ss=100;
22 |
23 | figure;
24 | axis equal;
25 | allDirection = [];
26 | for i = 1 : nargin
27 | direction = varargin{i};
28 | scatter3([direction(:,1);-direction(:,1)], [direction(:,2); -direction(:,2)], [direction(:,3); -direction(:,3)],ss, colors{i}, 'filled'); hold on;
29 | allDirection=[allDirection; direction; -direction; ];
30 | end
31 |
32 | DT=DelaunayTri(allDirection);
33 | tetramesh(DT, 'FaceColor', [0.8 0.8 0.8]); axis equal;
34 | rotate3d
35 |
36 |
--------------------------------------------------------------------------------
/Matlab/SamplingScheme/WriteDirections.m:
--------------------------------------------------------------------------------
1 | function WriteDirections(grad, gradStr)
2 | % Write gradient table to a file
3 | %
4 | % USAGE:
5 | % WriteDirections(grad, gradStr)
6 | %
7 | % INPUT:
8 | % grad : Nx3 matrix
9 | % gradStr : output file name
10 | %
11 | % Copyright (c) 2014, Jian Cheng
12 | %
13 |
14 |
15 | dlmwrite(gradStr, grad, 'delimiter',' ','precision',8);
16 |
17 |
--------------------------------------------------------------------------------
/Matlab/Utils/CopyDefaultStructParams.m:
--------------------------------------------------------------------------------
1 | function paramReal = CopyDefaultStructParams(paramDefault, param)
2 | % Copy default parameter struct into a given user parameter struct
3 | %
4 | % USAGE:
5 | % paramReal = CopyDefaultStructParams(paramDefault, param)
6 | %
7 | % INPUT
8 | % paraDefault : Parameter struct with all default values.
9 | % param : The input parameter
10 | %
11 | % INPUT
12 | % paramReal : Real parameter struct used in the following codes with a combination of paramDefault and param.
13 | % The default values in paramDefault are overriden by param
14 | %
15 | % Copyright (c) 2014, Jian Cheng (jian.cheng.1983@gmail.com)
16 | %
17 |
18 | %%
19 | fields = fieldnames(paramDefault);
20 | paramReal = param;
21 |
22 | for i = 1 : numel(fields)
23 | if ~isfield(param, fields{i})
24 | paramReal = setfield(paramReal, fields{i}, getfield(paramDefault, fields{i}));
25 | end
26 | end
27 |
28 |
--------------------------------------------------------------------------------
/Modules/Common/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_test_application(itkVectorImageRegionIteratorWithIndexTest itkVectorImageRegionIteratorWithIndexTest ${ITK_LIBRARIES})
3 |
4 | add_clp_test_application(itkUnaryFunctorVectorImageFilterTest itkUnaryFunctorVectorImageFilterTest ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
5 |
--------------------------------------------------------------------------------
/Modules/DWIProcessing/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_clp_test_application(itkDWIReaderTest itkDWIReaderTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
2 |
3 |
--------------------------------------------------------------------------------
/Modules/DiffusionModels/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_clp_test_application(itkSHBasisGeneratorTest itkSHBasisGeneratorTest ${ITK_LIBRARIES} ${GSL_LIBRARIES})
2 | add_test_application(itkDiffusionTensorTest itkDiffusionTensorTest ${ITK_LIBRARIES})
3 |
4 |
--------------------------------------------------------------------------------
/Modules/DiffusionModels/test/itkSHBasisGeneratorTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file test_SHBasis.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "09-20-2012
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2012, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 |
19 | #include "itkSHBasisGeneratorTestCLP.h"
20 | #include "utl.h"
21 |
22 |
23 |
24 | /**
25 | * \brief test Spherical Harmonic basis
26 | */
27 | int
28 | main (int argc, char const* argv[])
29 | {
30 |
31 | // GenerateCLP
32 | PARSE_ARGS;
33 |
34 | typedef float TScalarType;
35 |
36 | typedef utl::NDArray MatrixType;
37 | utl_shared_ptr mat = utl::ReadGrad(_dataOrientationsFile, DIRECTION_NODUPLICATE, CARTESIAN_TO_CARTESIAN);
38 | std::cout << "mat = \n" << *mat << std::endl << std::flush;
39 |
40 | utl_shared_ptr matT3 = utl::ReadGrad(3, DIRECTION_NODUPLICATE, CARTESIAN_TO_CARTESIAN);
41 | std::cout << "mat t3 = \n" << *matT3 << std::endl << std::flush;
42 |
43 |
44 | utl_shared_ptr basisMatrix = utl::ComputeSHMatrix(4, *matT3, CARTESIAN_TO_SPHERICAL);
45 |
46 | if (_verbose)
47 | std::cout << "basisMatrix: \n" << *basisMatrix;
48 |
49 | return 0;
50 | }
51 |
--------------------------------------------------------------------------------
/Modules/DiffusionModels/test/itkSHBasisGeneratorTest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Test
4 | Test the Spherical Harmonic Basis
5 | Test the Spherical Harmonic Basis.
6 |
7 | Jian Cheng (jian.cheng.1983@gmail.com)
8 |
9 |
10 |
11 | _dataOrientationsFile
12 |
13 | Text file that contains the gradient orientations of the data
14 | 0
15 | input
16 |
17 |
18 |
19 | _maxOrder
20 | 4
21 |
22 | Maximum order (rank)
23 | r
24 | --maxorder
25 |
26 |
27 |
28 | _verbose
29 |
30 | v
31 | verbose
32 | --verbose
33 | false
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/include/utlConstants.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file utlConstants.h
3 | * @brief
4 | * Created "09-22-2016
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #ifndef __utlConstants_h
12 | #define __utlConstants_h
13 |
14 | #include "utlSTDHeaders.h"
15 |
16 | namespace utl
17 | {
18 |
19 | /** @addtogroup utlMath
20 | @{ */
21 |
22 | /** Pi */
23 | __UTL_constexpr static double PI = 3.14159265358979323846264338328;
24 | /** E */
25 | __UTL_constexpr static double E = 2.71828182845904523536028747135;
26 | /** log_2 (e) */
27 | __UTL_constexpr static double LOG2E = 1.44269504088896340735992468100;
28 | /** log_10 (e) */
29 | __UTL_constexpr static double LOG10E = 0.43429448190325182765112891892;
30 | /** sqrt(2) */
31 | __UTL_constexpr static double SQRT2 = 1.41421356237309504880168872421;
32 | /** sqrt(1/2) */
33 | __UTL_constexpr static double SQRT1_2 = 0.70710678118654752440084436210;
34 | /** sqrt(3) */
35 | __UTL_constexpr static double SQRT3 = 1.73205080756887729352744634151;
36 | /** Pi/2 */
37 | __UTL_constexpr static double PI_2 = 1.57079632679489661923132169164;
38 | /** Pi/4 */
39 | __UTL_constexpr static double PI_4 = 0.78539816339744830961566084582;
40 | /** sqrt(Pi) */
41 | __UTL_constexpr static double SQRTPI = 1.77245385090551602729816748334;
42 |
43 |
44 | /** @} */
45 |
46 | }
47 |
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/include/utlITKConceptChecking.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file utlITKConceptChecking.h
3 | * @brief
4 | * Created "06-10-2016
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #ifndef __utlITKConceptChecking_h
12 | #define __utlITKConceptChecking_h
13 |
14 | #include
15 |
16 | namespace itk
17 | {
18 |
19 | namespace Detail
20 | {
21 | }
22 |
23 | namespace Concept
24 | {
25 |
26 | template< int D1, int D2 >
27 | struct SameInteger
28 | {
29 | struct Constraints
30 | {
31 | typedef Detail::UniqueType_int< D1 > DT1;
32 | typedef Detail::UniqueType_int< D2 > DT2;
33 | void constraints()
34 | {
35 | DT1 a = DT2();
36 |
37 | Detail::IgnoreUnusedVariable(a);
38 | }
39 | };
40 | itkConceptConstraintsMacro();
41 | };
42 |
43 |
44 | }
45 |
46 | }
47 |
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/include/utlOpenMP.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file utlOpenMP.h
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "06-15-2014
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2014, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #ifndef __utlOpenMP_h
19 | #define __utlOpenMP_h
20 |
21 |
22 | #include
23 |
24 | namespace utl
25 | {
26 |
27 | }
28 |
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/include/utlVTKMacro.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file utlVTKMacro.h
3 | * @brief
4 | * Created "02-18-2015
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #ifndef __utlVTKMacro_h
12 | #define __utlVTKMacro_h
13 |
14 | /** @addtogroup utlHelperFunctions
15 | @{ */
16 |
17 | #if VTK_MAJOR_VERSION <= 5
18 | #define vtkSetInputData(x,y) do { (x)->SetInput(y); } while (0)
19 | #define vtkAddInputData(x,y) do { (x)->AddInput(y); } while (0)
20 | #else
21 | #define vtkSetInputData(x,y) do { (x)->SetInputData(y); } while(0)
22 | #define vtkAddInputData(x,y) do { (x)->AddInputData(y); } while(0)
23 | #endif
24 |
25 | /** @} */
26 |
27 | #endif
28 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_test_application(utlVNLBlasTest utlVNLBlasTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES} )
3 | add_test_application(utlGradientTest utlGradientTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES} )
4 |
5 | add_gtest_application(utlDMRIGTest utlDMRIGTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES})
6 | add_gtest_application(utlCoreGTest utlCoreGTest)
7 | add_gtest_application(utlCoreMKLGTest utlCoreMKLGTest ${MKL_LIBRARIES} ${ITK_LIBRARIES})
8 | add_gtest_application(utlGTest utlGTest ${ITK_LIBRARIES} ${GSL_LIBRARIES})
9 | add_gtest_application(utlMathGTest utlMathGTest)
10 | add_gtest_application(utlVNLBlasGTest utlVNLBlasGTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES} )
11 | add_gtest_application(utlVNLLapackGTest utlVNLLapackGTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} )
12 |
13 | add_gtest_application(utlNDArrayGTest utlNDArrayGTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
14 | add_gtest_application(utlVectorGTest utlVectorGTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
15 | add_gtest_application(utlMatrixGTest utlMatrixGTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
16 | add_gtest_application(utl4thOrderTensorGTest utl4thOrderTensorGTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
17 |
18 | # add_gtest_application(utlANNGTest utlANNGTest ANN ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES})
19 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/test/utlDMRIGTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file utlDMRIGTest.cxx
3 | * @brief
4 | * Created "03-01-2015
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 |
12 | #include "gtest/gtest.h"
13 | #include "utlDMRI.h"
14 | #include "itkSphericalHarmonicsGenerator.h"
15 | #include "utlDMRIStoredTables.h"
16 |
17 | TEST(utlDMRI, GetIndexSHlm)
18 | {
19 | std::vector lmVec(2);
20 | int j=0;
21 | for ( int l = 0; l <= 20; l += 2 )
22 | {
23 | for ( int m = -l; m <= l; m += 1 )
24 | {
25 | lmVec = utl::GetIndexSHlm(j);
26 | EXPECT_EQ(lmVec[0], l);
27 | EXPECT_EQ(lmVec[1], m);
28 | int jj = utl::GetIndexSHj(l,m);
29 | EXPECT_EQ(jj, j);
30 | j++;
31 | }
32 | }
33 | }
34 |
35 | TEST(utlDMRIStoredTables, ReadGrad)
36 | {
37 | utl::ReadGrad(3);
38 | }
39 |
40 | TEST(utlDMRIStoredTables_DeathTest, ReadGrad)
41 | {
42 | EXPECT_DEATH(utl::ReadGrad(8), "");
43 | }
44 |
--------------------------------------------------------------------------------
/Modules/HelperFunctions/test/utlGradientTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file utlGradientTest.cxx
3 | * @brief
4 | * Created "10-03-2016
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #include "utlCore.h"
12 | #include "itkSphericalHarmonicsGenerator.h"
13 | #include "utlDMRIStoredTables.h"
14 | #include "utlCommandLineParser.h"
15 |
16 | /**
17 | * \brief test gradient table read
18 | */
19 | int
20 | main (int argc, char const* argv[])
21 | {
22 | utl_usage("test gradient table read");
23 | int tess = utl_option("-t", 3, "tess order");
24 | bool duple = utl_option("-d", false, "DUPLICATE for directions");
25 | bool flipx = utl_option("-flipx", false, "flipx");
26 | bool flipy = utl_option("-flipy", false, "flipy");
27 | bool flipz = utl_option("-flipz", false, "flipz");
28 | int mode = utl_option("-mode", 0, "0: CARTESIAN_TO_CARTESIAN; 1: CARTESIAN_TO_SPHERICAL; 2: SPHERICAL_TO_CARTESIAN; 3: SPHERICAL_TO_SPHERICAL");
29 |
30 | if (utl_option("-h",(const char *)NULL,0)) return 0;
31 |
32 | {
33 | utl::GradientTable::Initialize(tess);
34 | utl_shared_ptr< utl::Matrix > grad = utl::GradientTable::GetGrad(tess, duple, mode, flipx, flipy, flipz);
35 | utl::PrintUtlMatrix(*grad, "grad");
36 | }
37 |
38 | {
39 | utl_shared_ptr< utl::Matrix > grad1 = utl::ReadGrad(tess, duple, mode, flipx, flipy, flipz);
40 | utl::PrintUtlMatrix(*grad1, "grad");
41 | }
42 |
43 | return 0;
44 | }
45 |
46 |
--------------------------------------------------------------------------------
/Modules/Math/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_test_application(itkUnaryFunctorLookUpTableTest itkUnaryFunctorLookUpTableTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES})
3 | add_test_application(itkFunctorHashTableTest itkFunctorHashTableTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES} )
4 |
5 | add_test_application(itkSphericalPolarFourierGeneratorTest itkSphericalPolarFourierGeneratorTest ${ITK_LIBRARIES} ${GSL_LIBRARIES})
6 | add_test_application(itkSphericalHarmonicsGeneratorTest itkSphericalHarmonicsGeneratorTest ${ITK_LIBRARIES} ${GSL_LIBRARIES})
7 |
8 | add_gtest_application(itkSpecialFunctionGeneratorGTest itkSpecialFunctionGeneratorGTest ${ITK_LIBRARIES} ${GSL_LIBRARIES})
9 | add_gtest_application(itkSphericalHarmonicsGeneratorGTest itkSphericalHarmonicsGeneratorGTest ${ITK_LIBRARIES} ${GSL_LIBRARIES})
10 | add_gtest_application(itkSHCoefficientsRotationGTest itkSHCoefficientsRotationGTest ${BLAS_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES})
11 | add_gtest_application(itkUnaryFunctorLookUpTableGTest itkUnaryFunctorLookUpTableGTest ${ITK_LIBRARIES})
12 |
--------------------------------------------------------------------------------
/Modules/Math/test/itkSphericalHarmonicsGeneratorTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file itkSphericalHarmonicsGeneratorTest.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "03-25-2014
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2014, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include "itkSphericalHarmonicsGenerator.h"
19 |
20 | /**
21 | * \brief test itkSphericalHarmonicsGenerator
22 | */
23 | int
24 | main (int argc, char const* argv[])
25 | {
26 | std::cout << "RealTripleIntegration(6,-2,4,0,2,-2,false) = " << itk::SphericalHarmonicsGenerator::RealTripleIntegration(6,-2,4,0,2,-2, false) << std::endl << std::flush;
27 | std::cout << "RealTripleIntegration(6,-2,4,0,2,-2,true) = " << itk::SphericalHarmonicsGenerator::RealTripleIntegration(6,-2,4,0,2,-2, true) << std::endl << std::flush;
28 | return 0;
29 | }
30 |
--------------------------------------------------------------------------------
/Modules/Math/test/itkSphericalPolarFourierGeneratorTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file itkSphericalPolarFourierGeneratorTest.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "05-05-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include "itkSphericalPolarFourierGenerator.h"
19 | #include "utl.h"
20 |
21 |
22 | /**
23 | * \brief test itkSphericalPolarFourierGenerator
24 | */
25 | int
26 | main (int argc, char const* argv[])
27 | {
28 | double md0 = 0.7e-3;
29 | double tau = ONE_OVER_4_PI_2;
30 | double scale = 1.0 / (8*M_PI*M_PI*tau*md0);
31 | int N=1, L=4;
32 | double radius = 0.015;
33 |
34 | typedef itk::SphericalPolarFourierRadialGenerator SPFGenerator;
35 | SPFGenerator::Pointer spf = SPFGenerator::New();
36 | spf->SetScale(scale);
37 | spf->SetSPFType(SPFGenerator::SPF);
38 | spf->SetN(N);
39 | spf->SetL(L);
40 | double spfValue = spf->Evaluate(radius,false);
41 |
42 | utlPrintVar4(true, N, L, radius, spfValue );
43 |
44 | return 0;
45 | }
46 |
--------------------------------------------------------------------------------
/Modules/Solvers/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_test_application(itkL1RegularizedLeastSquaresFISTASolverTest itkL1RegularizedLeastSquaresFISTASolverTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${BLAS_LIBRARIES} )
2 |
3 | add_test_application(itkSpamsWeightedLassoSolverTest itkSpamsWeightedLassoSolverTest ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${BLAS_LIBRARIES} )
4 |
--------------------------------------------------------------------------------
/Modules/Tractography/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_test_application(test_fibertTacksReaderWriter test_fibertTacksReaderWriter ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} )
3 |
--------------------------------------------------------------------------------
/Modules/Tractography/test/test_fibertTacksReaderWriter.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file test_fibertTacksReaderWriter.cxx
3 | * @brief
4 | * Created "08-23-2017
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #include "itkFiberTractsReader.h"
12 | #include "itkFiberTractsWriter.h"
13 |
14 | #include "utlCommandLineParser.h"
15 |
16 |
17 | int
18 | main (int argc, char const* argv[])
19 | {
20 | std::string _fileIn = utl_option("-i", "", "input file of tracks");
21 | std::string _fileOut = utl_option("-o", "", "output file of tracks");
22 |
23 | utl_showdoc("-h");
24 | utl_showdoc("--help");
25 |
26 | itk::FiberTractsReader::Pointer reader = itk::FiberTractsReader::New();
27 | reader->SetFileName(_fileIn);
28 |
29 | reader->Update();
30 |
31 | itk::FiberTracts<>::Pointer fibers = reader->GetOutput();
32 |
33 | fibers->Print(std::cout<<"fibers=\n");
34 |
35 | if (_fileOut!="")
36 | {
37 | itk::FiberTractsWriter::Pointer writer = itk::FiberTractsWriter::New();
38 | writer->SetFileName(_fileOut);
39 | writer->SetFiberTracts(fibers);
40 | writer->Update();
41 | }
42 |
43 | return 0;
44 | }
45 |
--------------------------------------------------------------------------------
/QTApplications/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | ADD_SUBDIRECTORY(vtkviewer)
3 |
--------------------------------------------------------------------------------
/QTApplications/vtkviewer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # VTK Viewer
2 | # Written 2012 Hal Canary
3 | # Copyright 2012 University of North Carolina at Chapel Hill.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License"); you
6 | # may not use this file except in compliance with the License. You
7 | # may obtain a copy of the License at
8 | #
9 | # LICENSE.md in this repository or
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 | # implied. See the License for the specific language governing
16 | # permissions and limitations under the License.
17 | cmake_minimum_required(VERSION 2.6)
18 | project(vtkviewer)
19 | # set(CMAKE_BUILD_TYPE debug)
20 | if (NOT VTK_FOUND)
21 | set(VTK_DIR "VTK_DIR-NOTFOUND" CACHE PATH "location of VTK libraries" )
22 | find_package(VTK REQUIRED)
23 | include(${VTK_USE_FILE})
24 | endif()
25 | set(QT_USE_OPENGL TRUE)
26 | find_package(Qt4 COMPONENTS QtCore QtGui REQUIRED)
27 | include(${QT_USE_FILE})
28 | add_definitions(${QT_DEFINITIONS})
29 | qt4_wrap_cpp(MOC_GENERATED VTKViewer.h)
30 | add_executable(vtkviewer main.cxx VTKViewer.cxx ${MOC_GENERATED})
31 | target_link_libraries(vtkviewer ${VTK_LIBRARIES} ${QT_QTOPENGL_LIBRARY})
32 |
--------------------------------------------------------------------------------
/QTApplications/vtkviewer/VTKViewer.h:
--------------------------------------------------------------------------------
1 | // VTK Viewer
2 | // Written 2012 Hal Canary
3 | // Copyright 2012 University of North Carolina at Chapel Hill.
4 | //
5 | // Licensed under the Apache License, Version 2.0 (the "License"); you
6 | // may not use this file except in compliance with the License. You
7 | // may obtain a copy of the License at
8 | //
9 | // LICENSE.md in this repository or
10 | // http://www.apache.org/licenses/LICENSE-2.0
11 | //
12 | // Unless required by applicable law or agreed to in writing, software
13 | // distributed under the License is distributed on an "AS IS" BASIS,
14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 | // implied. See the License for the specific language governing
16 | // permissions and limitations under the License.
17 | #ifndef VTKVIEWER_H
18 | #define VTKVIEWER_H
19 | #include
20 | #include
21 | #include
22 | #include
23 | #include
24 | class vtkPolyData;
25 |
26 | class VTKViewer : public QVTKWidget {
27 | Q_OBJECT;
28 | public:
29 | VTKViewer();
30 | void add(vtkPolyData * polyData);
31 | void add(const char * file_name);
32 | public slots:
33 | void rotate();
34 | void toggleRotate();
35 | void toggleStereo();
36 | void setStereoType(int vtkStereoType);
37 | void nextStereoType();
38 | void screenshot();
39 | void setsize(double s1, double s2);
40 | private:
41 | QTimer m_timer;
42 | vtkSmartPointer < vtkRenderer > m_renderer;
43 |
44 | double m_size[2];
45 | };
46 |
47 | #endif /* VTKVIEWER_H */
48 |
--------------------------------------------------------------------------------
/Testing/CMakeLists.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/Testing/CMakeLists.txt
--------------------------------------------------------------------------------
/ThirdParty/Spams/README:
--------------------------------------------------------------------------------
1 | SPAMS (SPArse Modeling Software) is an optimization toolbox for solving various sparse estimation problems.
2 | http://spams-devel.gforge.inria.fr/
3 |
4 | It was integrated in dmritool project by Jian Cheng (JC), jian.cheng.1983@gmail.com
5 |
6 | 01/01/2013
7 |
--------------------------------------------------------------------------------
/ThirdParty/Spams/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | ADD_EXECUTABLE(test_spamsCppLasso cppLasso.cpp)
3 | TARGET_LINK_LIBRARIES(test_spamsCppLasso ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
4 |
5 | add_test_application(test_spamsLasso spamsLassoTest ${ITK_LIBRARIES} ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES})
6 | add_test_application(test_spamsMatrix spamsMatrixTest ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
7 |
--------------------------------------------------------------------------------
/ThirdParty/Spams/test/cppLasso.cpp:
--------------------------------------------------------------------------------
1 | #include "linalg.h"
2 | #include "decomp.h"
3 |
4 | int main(int argc, char** argv) {
5 | int m = 10;
6 | int p = 20;
7 | /// external allocation for the matrix
8 | double* prD = new double[m*p];
9 | spams::Matrix D(prD,m,p);
10 | D.setAleat();
11 | D.normalize();
12 |
13 | /// Allocate a matrix of size m x p
14 | spams::Matrix D2(m,p);
15 | D2.setAleat();
16 | D2.normalize();
17 |
18 | int n = 100;
19 | spams::Matrix X(m,n);
20 | X.setAleat();
21 |
22 | /// create empty sparse matrix
23 | spams::SpMatrix spa;
24 |
25 | spams::lasso2(X,D,spa,10,0.15); // first simple example
26 | D.print("D");
27 | X.print("X");
28 | spa.print("spa");
29 |
30 | /// extern allocation for the matrix D requires
31 | /// manually unallocating prD
32 | delete[](prD);
33 | }
34 |
--------------------------------------------------------------------------------
/ThirdParty/Spams/test/spamsLassoTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file spamsLassoTest.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created 01-02-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2012, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include "linalg.h"
19 | #include "decomp.h"
20 |
21 |
22 | int main(int argc, char** argv)
23 | {
24 |
25 |
26 | spams::Matrix D(3,2);
27 | D(0,0) = 1; D(0,1) = 1;
28 | D(1,0) = -1; D(1,1) = 2;
29 | D(2,0) = 2; D(2,1) = 1;
30 | D.print("D");
31 |
32 | double lambda = 1.0;
33 |
34 | spams::Matrix X(3,1);
35 | X(0,0)=2, X(1,0)=2, X(2,0)=-3;
36 | spams::SpMatrix alpha;
37 |
38 | // lasso
39 | spams::lasso2(X,D,alpha,2,lambda);
40 | alpha.print("alpha");
41 |
42 | // lasso (Cholesky-based)
43 | spams::lasso(X,D,alpha,2,lambda);
44 | alpha.print("alpha");
45 |
46 | // lasso (non-negativity)
47 | spams::constraint_type mode = spams::PENALTY;
48 | spams::lasso(X,D,alpha,2,lambda,0.0, mode, true);
49 | alpha.print("alpha");
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/ThirdParty/Spams/test/spamsMatrixTest.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file spamsMatrixTest.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "01-02-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include "utlVNL.h"
19 | #include "linalg.h"
20 | #include "utlITKSpams.h"
21 |
22 |
23 |
24 | /**
25 | * \brief test Vector Matrix in spams
26 | */
27 | int
28 | main (int argc, char const* argv[])
29 | {
30 |
31 | // test matrix
32 | double mmatrix [] =
33 | {
34 | 2.2700 , -1.5400 , 1.1500 , -1.9400,
35 | 0.2800 , -1.6700 , 0.9400 , -0.7800,
36 | -0.4800 , -3.0900 , 0.9900 , -0.2100,
37 | 1.0700 , 1.2200 , 0.7900 , 0.6300,
38 | -2.3500 , 2.9300 , -1.4500 , 2.3000,
39 | 0.6200 , -7.3900 , 1.0300 , -2.5700
40 | };
41 |
42 |
43 | vnl_matrix M (mmatrix, 6, 4);
44 | M.print(std::cout<<"M:\n");
45 |
46 | spams::Matrix DM(mmatrix, 4,6);
47 | DM.print("DM");
48 |
49 | DM.setData(mmatrix, 4,6);
50 | DM.print("DM2");
51 |
52 | spams::VnlMatrixToMatrix(M, DM);
53 | DM.print("DM3");
54 |
55 | spams::MatrixToVnlMatrix(DM, M);
56 | M.print(std::cout<<"M:\n");
57 |
58 | spams::Vector v;
59 | DM.copyCol(2, v);
60 | v.print("v");
61 |
62 | vnl_vector v2;
63 | spams::VectorToVnlVector(v, v2);
64 | utl::PrintVnlVector(v2, "v2");
65 |
66 | return 0;
67 | }
68 |
69 |
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | project(ITKSpatiallyDenseSparseVectorImage)
2 | itk_module_impl()
3 |
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/README.md:
--------------------------------------------------------------------------------
1 | General
2 | -------
3 |
4 |
5 | Spatially Dense Sparse Vector Image
6 | -----------------------------------
7 |
8 | An n-dimensional vector image with a sparse memory model.
9 |
10 | The elements for this image are stored in a hash table, catering to very
11 | large images with a small number of relevant pixels. The image is spatially
12 | dense, allowing fast random access and thread-safe operations.
13 |
14 |
15 | Getting Started
16 | ---------------
17 |
18 | This is a module for ITK: The Insight Toolkit for Segmentation and
19 | Registration. It is designed to work with the ITKv4 modular system and
20 | to be placed in ITK/Modules/External. Build ITK with the module selected.
21 |
22 |
23 | Author
24 | ------
25 |
26 | Pew-Thian Yap
27 |
28 |
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/itk-module.cmake:
--------------------------------------------------------------------------------
1 | # the top-level README is used for describing this module, just
2 | # re-used it for documentation here
3 | get_filename_component( MY_CURENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
4 | file( READ "${MY_CURENT_DIR}/README.md" DOCUMENTATION )
5 |
6 |
7 | itk_module(ITKSpatiallyDenseSparseVectorImage
8 | DEPENDS
9 | ITKIOImageBase
10 | TEST_DEPENDS
11 | ITKTestKernel
12 | DESCRIPTION
13 | "${DOCUMENTATION}"
14 | )
15 |
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/src/CMakeLists.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/ThirdParty/SpatiallyDenseSparseVectorImage/src/CMakeLists.txt
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/test/Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Dense.nii.gz.md5:
--------------------------------------------------------------------------------
1 | 8aa5e9cfc494db5bca20b704fbeba407
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/test/Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse.spr.md5:
--------------------------------------------------------------------------------
1 | f79a0d24bfcb637d8bd4363cdfea1ebe
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/test/Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse_key.nrrd.md5:
--------------------------------------------------------------------------------
1 | c2d8ed2068bddb9d8b761d84d6670d65
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/test/Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse_value.nrrd.md5:
--------------------------------------------------------------------------------
1 | eb124ae62a2ea3305c21a01aac27eb1a
--------------------------------------------------------------------------------
/ThirdParty/SpatiallyDenseSparseVectorImage/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | itk_module_test()
2 | set(ITKSpatiallyDenseSparseVectorImageTests
3 | itkVectorToSparseVectorImageTest.cxx
4 | itkSparseVectorToVectorImageTest.cxx
5 | )
6 |
7 | CreateTestDriver(ITKSpatiallyDenseSparseVectorImage "${ITKSparseVectorImage-Test_LIBRARIES}" "${ITKSparseVectorImageTests}")
8 |
9 | # Test I/O convertor
10 | itk_add_test( NAME itkVectorToSparseVectorImageTest
11 | COMMAND ITKSpatiallyDenseSparseVectorImageTestDriver
12 | --compare DATA{Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse_key.nrrd} ${ITK_TEST_OUTPUT_DIR}/itkSpatiallyDenseSparseVectorImageTestOutput_Sparse_key.nrrd
13 | --compare DATA{Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse_value.nrrd} ${ITK_TEST_OUTPUT_DIR}/itkSpatiallyDenseSparseVectorImageTestOutput_Sparse_value.nrrd
14 | itkVectorToVectorImageTest DATA{Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Dense.nii.gz} ${ITK_TEST_OUTPUT_DIR}/itkSpatiallyDenseSparseVectorImageTestOutput_Sparse.spr
15 | )
16 |
17 | itk_add_test( NAME itkSparseVectorToVectorImageTest
18 | COMMAND ITKSpatiallyDenseSparseVectorImageTestDriver
19 | --compare DATA{Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Dense.nii.gz} ${ITK_TEST_OUTPUT_DIR}/itkSpatiallyDenseSparseVectorImageTestOutput_Dense.nii.gz
20 | itkSparseVectorToVectorImageTest DATA{Baseline/itkSpatiallyDenseSparseVectorImageTestBaseline_Sparse.spr} ${ITK_TEST_OUTPUT_DIR}/itkSpatiallyDenseSparseVectorImageTestOutput_Dense.nii.gz
21 | )
22 |
23 |
--------------------------------------------------------------------------------
/ThirdParty/VariableLengthVectorImage/src/CMakeLists.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DiffusionMRITool/dmritool/860d86b449457312459e40046b41b5ea8b09e930/ThirdParty/VariableLengthVectorImage/src/CMakeLists.txt
--------------------------------------------------------------------------------
/ThirdParty/VariableLengthVectorImage/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_test_application(test_VariableLengthVectorImage test_VariableLengthVectorImage ${ITK_LIBRARIES})
3 |
--------------------------------------------------------------------------------
/ThirdParty/exprtk/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 2.8.8)
2 | project(exprtk_builder C CXX)
3 | include(ExternalProject)
4 |
5 | ExternalProject_Add(exprtk
6 | GIT_REPOSITORY https://github.com/ArashPartow/exprtk.git
7 | CMAKE_ARGS ""
8 | CONFIGURE_COMMAND ""
9 | PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
10 | # Disable install step
11 | BUILD_COMMAND ""
12 | INSTALL_COMMAND ""
13 | UPDATE_COMMAND ""
14 | )
15 |
16 | # Specify include dir
17 | ExternalProject_Get_Property(exprtk source_dir)
18 | message("source_dir=${source_dir}")
19 | set(EXPRTK_INCLUDE_DIRS ${source_dir} PARENT_SCOPE)
20 | set(EXPRTK_INCLUDE_DIRS ${source_dir})
21 |
22 |
23 | message("EXPRTK_INCLUDE_DIRS=${EXPRTK_INCLUDE_DIRS}")
24 | include_directories(${EXPRTK_INCLUDE_DIRS})
25 |
26 | # add_subdirectory(test)
27 |
28 |
--------------------------------------------------------------------------------
/ThirdParty/exprtk/README.md:
--------------------------------------------------------------------------------
1 |
2 | C++ Mathematical Expression Library
3 |
4 | http://partow.net/programming/exprtk/index.html
5 |
6 | Free use of the C++ Mathematical Expression Library is permitted under the guidelines and in accordance with the MIT License.
7 |
--------------------------------------------------------------------------------
/ThirdParty/exprtk/include/exprtk_lib.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file exprtk_lib.h
3 | * @brief
4 | * Created "04-04-2017
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #ifndef __exprtk_lib_h
12 | #define __exprtk_lib_h
13 |
14 | /** http://partow.net/programming/exprtk/index.html */
15 | #include "exprtk.hpp"
16 |
17 |
18 | // use extern to build libs, so that it is fast in building
19 | // Use extern template instantiations (since C++11)
20 | // http://stackoverflow.com/questions/373142/what-techniques-can-be-used-to-speed-up-c-compilation-times
21 |
22 | extern template class exprtk::expression;
23 | //extern template class exprtk::symbol_table;
24 | extern template class exprtk::parser;
25 |
26 | #endif
27 |
28 |
29 |
--------------------------------------------------------------------------------
/ThirdParty/exprtk/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_library(exprtk_lib exprtk_lib.cxx)
3 |
--------------------------------------------------------------------------------
/ThirdParty/exprtk/src/exprtk_lib.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file exprtk_lib.cpp
3 | * @brief
4 | * Created "04-04-2017
5 | *
6 | * @author Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * =====================================================================================
9 | */
10 |
11 | #include "exprtk_lib.h"
12 |
13 | template class exprtk::expression;
14 | // template class exprtk::symbol_table;
15 | template class exprtk::parser;
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ThirdParty/exprtk/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_executable(test_exprtk test_exprtk.cxx)
3 | target_link_libraries(test_exprtk ${EXPRTK_LIBRARY})
4 |
5 |
--------------------------------------------------------------------------------
/ThirdParty/gtest/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 2.8.8)
2 | project(gtest_builder C CXX)
3 | include(ExternalProject)
4 |
5 | ExternalProject_Add(googletest
6 | GIT_REPOSITORY https://github.com/google/googletest.git
7 | CMAKE_ARGS -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG:PATH=DebugLibs
8 | -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE:PATH=ReleaseLibs
9 | -DCMAKE_CXX_FLAGS=${MSVC_COMPILER_DEFS}
10 | -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
11 | -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
12 | -Dgtest_force_shared_crt=ON
13 | PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
14 | # Disable install step
15 | INSTALL_COMMAND ""
16 | UPDATE_COMMAND ""
17 | )
18 |
19 | # Specify include dir
20 | ExternalProject_Get_Property(googletest source_dir)
21 | set(GTEST_INCLUDE_DIRS ${source_dir}/googletest/include PARENT_SCOPE)
22 | set(GTEST_INCLUDE_DIRS ${source_dir}/googletest/include)
23 |
24 | # Specify MainTest's link libraries
25 | ExternalProject_Get_Property(googletest binary_dir)
26 | set(GTEST_LIBS_DIR ${binary_dir}/googlemock/gtest PARENT_SCOPE)
27 | set(GTEST_LIBS_DIR ${binary_dir}/googlemock/gtest)
28 |
29 |
30 | include_directories(${GTEST_INCLUDE_DIRS})
31 |
32 | # add_subdirectory(test)
33 |
--------------------------------------------------------------------------------
/ThirdParty/gtest/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_gtest_application(gtest_test gtest_test)
3 |
--------------------------------------------------------------------------------
/ThirdParty/gtest/test/gtest_test.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file gtest_test.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "07-19-2014
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2014, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include
19 | #include "gtest/gtest.h"
20 | #include
21 |
22 | TEST(gtest_test, build)
23 | {
24 | double a=0.1+0.2, b=0.3;
25 | std::cout << "(0.1+0.2)-0.3 = " << a-b << std::endl << std::flush;
26 | std::cout << "(0.1+0.2) == 0.3 = " << (a==b) << std::endl << std::flush;
27 | EXPECT_LE(std::fabs(0.1+0.2-0.3), 1e-10);
28 | EXPECT_EQ(5*5, 25+1e-15);
29 | }
30 |
31 | TEST(gtest_test, build2)
32 | {
33 | EXPECT_EQ(5+5, 10);
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/ThirdPartyApplications/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | ADD_SUBDIRECTORY(SpatiallyDenseSparseImage)
3 |
--------------------------------------------------------------------------------
/ThirdPartyApplications/SpatiallyDenseSparseImage/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | PROJECT(SparseImage)
2 |
3 | add_clp_application(SparseToVectorImageConverter SparseToVectorImageConverter ${ITK_LIBRARIES})
4 | add_clp_application(VectorToSparseImageConverter VectorToSparseImageConverter ${ITK_LIBRARIES})
5 |
6 |
7 |
--------------------------------------------------------------------------------
/ThirdPartyApplications/SpatiallyDenseSparseImage/SparseToVectorImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Converter
4 | Sparse Image to Vector Image Converter
5 | Convert a sparse image to a vector image.
6 |
7 | http://www.unc.edu/~ptyap
8 |
9 | Pew-Thian Yap (ptyap@med.unc.edu)
10 |
11 |
12 | http://www.unc.edu/~ptyap
13 |
14 |
15 |
16 |
17 | _InputFile
18 |
19 | Input file.
20 | 0
21 | input
22 |
23 |
24 |
25 | _OutputFile
26 |
27 | Output file.
28 | 1
29 | output
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/ThirdPartyApplications/SpatiallyDenseSparseImage/VectorToSparseImageConverter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Converter
4 | Vector Image to sparse Image Converter
5 | Convert a vector image to a sparse image.
6 |
7 | http://www.unc.edu/~ptyap
8 |
9 | Pew-Thian Yap (ptyap@med.unc.edu)
10 |
11 |
12 | http://www.unc.edu/~ptyap
13 |
14 |
15 |
16 |
17 | _InputFile
18 |
19 | Input file.
20 | 0
21 | input
22 |
23 |
24 |
25 | _OutputFile
26 |
27 | Output file.
28 | 1
29 | output
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Utilities/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/Utilities/GUnzip.py:
--------------------------------------------------------------------------------
1 | # Simple gunzip
2 | import gzip
3 | import sys
4 |
5 | input = gzip.open(sys.argv[1], 'rb')
6 | content = input.read()
7 | input.close()
8 | output = open(sys.argv[1][:-3], 'wb')
9 | output.write(content)
10 | output.close()
11 |
--------------------------------------------------------------------------------
/Wrapping/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | SET(DMRITOOL_DIR ${DMRITOOL_BINARY_DIR})
3 |
4 | OPTION(DMRITOOL_WRAP_MATLAB "Build matlab interface" OFF)
5 | IF (DMRITOOL_WRAP_MATLAB)
6 | ADD_SUBDIRECTORY(Matlab)
7 | ENDIF()
8 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/CMake/FindGSL.cmake:
--------------------------------------------------------------------------------
1 | ../../../CMake/FindGSL.cmake
--------------------------------------------------------------------------------
/Wrapping/Matlab/CMake/FindLAPACK.cmake:
--------------------------------------------------------------------------------
1 | ../../../CMake/FindLAPACK.cmake
--------------------------------------------------------------------------------
/Wrapping/Matlab/CMake/FindMKL.cmake:
--------------------------------------------------------------------------------
1 | ../../../CMake/FindMKL.cmake
--------------------------------------------------------------------------------
/Wrapping/Matlab/CMake/FindOpenBLAS.cmake:
--------------------------------------------------------------------------------
1 | ../../../CMake/FindOpenBLAS.cmake
--------------------------------------------------------------------------------
/Wrapping/Matlab/CMake/ProjectCMakeFunctions.cmake:
--------------------------------------------------------------------------------
1 |
2 | FUNCTION(add_matlab_cpp_executable appName mainFile)
3 |
4 | # setup doc for matlab functions
5 | set(MATLAB_FUNCTION_NAME ${appName})
6 | configure_file(${appName}.m ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${appName}.m)
7 |
8 | add_library(${appName} ${mainFile} )
9 | target_link_libraries(${appName} ${MATLAB_LIBRARIES} ${ARGN})
10 |
11 | if(MSYS)
12 | target_link_libraries(${appName} stdc++)
13 | endif()
14 |
15 | add_custom_command(TARGET ${appName}
16 | POST_BUILD
17 | COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/bin
18 | COMMAND ${PROJECT_SOURCE_DIR}/utilsMEX/mex_link.sh ${appName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PROJECT_SOURCE_DIR}/utilsMEX/mex_stub.cpp
19 | )
20 |
21 | ENDFUNCTION(add_matlab_cpp_executable)
22 |
23 |
24 | FUNCTION(add_matlab_c_executable appName mainFile)
25 |
26 | # setup doc for matlab functions
27 | set(MATLAB_FUNCTION_NAME ${appName})
28 | configure_file(${appName}.m ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${appName}.m)
29 |
30 | add_library(${appName} ${mainFile} )
31 | target_link_libraries(${appName} ${MATLAB_LIBRARIES} ${ARGN})
32 |
33 | if(MSYS)
34 | target_link_libraries(${appName} stdc++)
35 | endif()
36 |
37 | add_custom_command(TARGET ${appName}
38 | POST_BUILD
39 | COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/bin
40 | COMMAND ${PROJECT_SOURCE_DIR}/utilsMEX/mex_link.sh ${appName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PROJECT_SOURCE_DIR}/utilsMEX/mex_stub.c
41 | )
42 |
43 | ENDFUNCTION(add_matlab_c_executable)
44 |
45 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Common/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_mex_file(mexITKImageRead mexITKImageRead.cxx ${ITK_LIBRARIES})
3 | add_mex_file(mexITKImageWrite mexITKImageWrite.cxx ${ITK_LIBRARIES})
4 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Common/mexITKImageRead.m:
--------------------------------------------------------------------------------
1 | % @MATLAB_FUNCTION_NAME@: read images stored as any format recognized by ITK
2 | %
3 | % Usage:
4 | % [image, origin, spacing] = @MATLAB_FUNCTION_NAME@('filename')
5 | % or
6 | % image = @MATLAB_FUNCTION_NAME@('filename')
7 | %
8 | % 'filename' is the path to an image readable by ITK
9 | %
10 | % Copyright (c) 2013, Jian Cheng
11 | %
12 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Common/mexITKImageWrite.m:
--------------------------------------------------------------------------------
1 | % @MATLAB_FUNCTION_NAME@: write Matlab image matrix to any image format supported by ITK using itk::Image and itk::VectorImage.
2 | %
3 | % Usage:
4 | % @MATLAB_FUNCTION_NAME@('filename', image, [params])
5 | %
6 | % INPUT
7 | % filename : file name to save.
8 | % image : 4D matlab matrix
9 | %
10 | % params.origin : origin in image
11 | % params.spacing : spacing in image
12 | % params.vectorImage : If it is true, save 3D itk::VectorImage, otherwise save 4D itk::Image (default).
13 | %
14 | % Copyright (c) 2013, Jian Cheng
15 | %
16 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/DWIProcessing/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_mex_file(mexReadDWIList mexReadDWIList.cxx ${BLAS_LIBRARIES} ${ITK_LIBRARIES})
3 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/DiffusionModels/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_mex_file(mexGetSHBasisMatrix mexGetSHBasisMatrix.cxx ${ITK_LIBRARIES} ${GSL_LIBRARIES})
3 | add_mex_file(mexGetSPFBasisMatrix mexGetSPFBasisMatrix.cxx ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES})
4 |
5 | add_mex_file(mexSphericalPolarFourierImaging mexSphericalPolarFourierImaging.cxx ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES} )
6 | add_mex_file(mexGetSamplesFromSPFCoefficients mexGetSamplesFromSPFCoefficients.cxx ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} ${ITK_LIBRARIES} ${GSL_LIBRARIES})
7 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/DiffusionModels/mexGetSHBasisMatrix.m:
--------------------------------------------------------------------------------
1 | % @MATLAB_FUNCTION_NAME@: get sh matrix based on given order and orientationMatrix
2 | %
3 | % Usage:
4 | % shMatrix = @MATLAB_FUNCTION_NAME@(order, orientationMatrix, mode)
5 | %
6 | % Inputs:
7 | % order: SH order
8 | % orientationMatrix : orientation matrix where each row is an orientation (x,y,z)
9 | % mode: 'spherical' or 'cartesian' (default), for the coordinates in orientationMatrix.
10 | %
11 | % Outputs:
12 | % shMatrix: each column is a real SH basis
13 | %
14 | % Copyright (c) 2013, Jian Cheng
15 | %
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/DiffusionModels/mexGetSPFBasisMatrix.m:
--------------------------------------------------------------------------------
1 | % @MATLAB_FUNCTION_NAME@: get SPF basis matrix with given spherical and radial orders, orientationMatrix, bVector
2 | %
3 | % Usage:
4 | % spfMatrix = @MATLAB_FUNCTION_NAME@(shOrder, radialOrder, orientationMatrix, bVector)
5 | % spfMatrix = @MATLAB_FUNCTION_NAME@(shOrder, radialOrder, orientationMatrix, bVector, params)
6 | %
7 | % Inputs:
8 | % shOrder: SH order
9 | % radialOrder: order in radial part
10 | % orientationMatrix : orientation matrix where each row is an orientation (x,y,z), caresian format
11 | % bVector: b values in a vector, each row is a b value
12 | % params.scale : (optional) scale value for the SPF basis in radial part
13 | % params.tau: (optional) tau value to calculate qVector from bVector, b=4\pi^2 \tau q^2
14 | % params.original: (optional) true: (default) original SPF basis matrix
15 | % false: independent SPF basis matrix, considering E(0)=1
16 | %
17 | % Outputs:
18 | % spfMatrix: each column is a SPF basis
19 | %
20 | %
21 | % Reference:
22 | % 1. "Model-Free, Regularized, Fast, and Robust Analytical Orientation Distribution Function Estimation",
23 | % Jian Cheng, Aurobrata Ghosh, Rachid Deriche, Tianzi Jiang, Medical Image Computing and Computer-Assisted Intervention (MICCAI'10), vol. 6361, pp. 648–656, sep, 2010.
24 | % 2. "Model-free and Analytical EAP Reconstruction via Spherical Polar Fourier Diffusion MRI",
25 | % Jian Cheng, Aurobrata Ghosh, Tianzi Jiang, Rachid Deriche, Medical Image Computing and Computer-Assisted Intervention (MICCAI'10), vol. 6361, pp. 590–597, sep, 2010.
26 | %
27 | % Copyright (c) 2013, Jian Cheng
28 | %
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/MEXHelperFunctions/mexSTD.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file mexSTD.h
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "09-27-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #ifndef __mexSTD_h
19 | #define __mexSTD_h
20 |
21 | #include
22 | #include "mexutils.h"
23 | #include "utlCoreMacro.h"
24 |
25 | namespace utl
26 | {
27 |
28 | template
29 | inline void
30 | GetSTDVectorFromMXArray ( const mxArray* pr, std::vector* vec )
31 | {
32 | const mwSize* dims = mxGetDimensions(pr);
33 | int row = static_cast(dims[0]);
34 | int column = static_cast(dims[1]);
35 |
36 | double * data = mxGetPr(pr);
37 |
38 | if (row==1)
39 | {
40 | vec->resize(column);
41 | for ( int i = 0; i < column; i += 1 )
42 | (*vec)[i] = data[i];
43 | }
44 | else if (column==1)
45 | {
46 | vec->resize(row);
47 | for ( int i = 0; i < row; i += 1 )
48 | (*vec)[i] = data[i];
49 | }
50 | else
51 | utlException(true, "the matrix should be a vector");
52 | }
53 |
54 | /** convert a std::vector to a colume vector */
55 | template
56 | inline void
57 | GetMXArrayFromSTDVector ( const std::vector* vec, mxArray*& pr )
58 | {
59 | utlException (!vec || (vec && vec->size()==0), "the vector is null");
60 |
61 | int row = vec->size();
62 | int column = 1;
63 |
64 | pr = CreateMatrix(row, 1);
65 | double * data = mxGetPr(pr);
66 | for ( int i = 0; i < row; i += 1 )
67 | data[i] = (*vec)[i];
68 | }
69 |
70 | }
71 |
72 | #endif
73 |
74 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/README.md:
--------------------------------------------------------------------------------
1 | DMRITOOL matlab interface
2 |
3 | Author: Jian Cheng (jian.cheng.1983@gmail.com)
4 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/SamplingScheme/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_mex_file(mexReadGrad mexReadGrad.cxx ${ITK_LIBRARIES})
3 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/SamplingScheme/mexReadGrad.m:
--------------------------------------------------------------------------------
1 | % @MATLAB_FUNCTION_NAME@: read gradient files into a matrix
2 | %
3 | % Usage:
4 | % gradMatrix = @MATLAB_FUNCTION_NAME@(type, number)
5 | % gradMatrix = @MATLAB_FUNCTION_NAME@('grad.txt')
6 | %
7 | % INPUT
8 | % type : gradient type or gradient file name (.txt)
9 | % 'elec': gradients from camino based on electrostatic energy.
10 | % 'tess': gradients based on tessellation.
11 | %
12 | % number : if type=='elec', then number means the number of samples.
13 | % if type=='tess', then number means tessellation order.
14 | %
15 | % OUTPUT
16 | % grad : Nx3 matrix, each row is a point in sphere.
17 | %
18 | % Copyright (c) 2013, Jian Cheng
19 | %
20 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Tests/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_executable(test_purecpp test_purecpp.cxx)
3 | target_link_libraries(test_purecpp ${ITK_LIBRARIES} ${GSL_LIBRARIES})
4 |
5 | add_mex_file(test_puremex test_puremex )
6 | add_mex_file(test_puremexitk test_puremexitk ${ITK_LIBRARIES})
7 | add_mex_file(test_Spams test_Spams ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
8 | add_mex_file(test_Spams2 test_Spams2 ${ITK_LIBRARIES} ${BLAS_LIBRARIES})
9 |
10 |
11 | if (DMRITOOL_USE_OPENMP)
12 | add_mex_file(test_puremexOpenmp test_puremexOpenmp )
13 | endif()
14 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Tests/test_GetSPFBaissMatrix.m:
--------------------------------------------------------------------------------
1 | % function test_GetSPFBaissMatrix
2 |
3 | grad_t3 = readGrad('tess',3);
4 | bVec = 1500*ones(size(grad_t3,1),1);
5 |
6 | D0 = 0.7e-3;
7 | tau = 0.02533;
8 | param.scale = 1.0 / (8*pi^2*tau*D0);
9 | param.original=false;
10 | % param.original=true;
11 |
12 | qVec = sqrt(bVec./(4*pi*pi*tau));
13 |
14 | spfMatrix = GetSPFBasisMatrix(4,1,grad_t3,bVec,param);
15 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Tests/test_purecpp.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file test_purecpp.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "11-07-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include "utl.h"
19 |
20 | /**
21 | * \brief test pure cpp code
22 | */
23 | int
24 | main (int argc, char const* argv[])
25 | {
26 | std::vector > strMatrix;
27 | utl::ReadLines("aa.txt", strMatrix);
28 | utlGlobalException(true, "adad");
29 | return 0;
30 | }
31 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Tests/test_puremex.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file test_puremex.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "11-09-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include
19 | #include "mex.h"
20 | // #include "mexutils.h"
21 |
22 | void mexFunction(int nlhs, mxArray *plhs[],
23 | int nrhs, const mxArray *prhs[])
24 | {
25 | // utlGlobalException(nrhs!=1, "Bad number of inputs arguments");
26 | // double num = mxGetScalar(prhs[0]);
27 | std::cout << "num = " << 15 << std::endl << std::flush;
28 | }
29 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Tests/test_puremexOpenmp.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file test_puremexOpenmp.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "11-09-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include "mex.h"
19 | #include
20 |
21 | void mexFunction(int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[])
22 | {
23 | // omp_set_dynamic(1);
24 | // omp_set_num_threads(3);
25 | #pragma omp parallel
26 | {
27 | mexPrintf("Max num threads %d.\n", omp_get_max_threads());
28 | #pragma omp for
29 | for (int i = 0; i < 10; i++)
30 | {
31 | mexPrintf("Num threads %d, thread ID %d.\n", omp_get_num_threads(), omp_get_thread_num());
32 | }
33 | }
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/Wrapping/Matlab/Tests/test_puremexitk.cxx:
--------------------------------------------------------------------------------
1 | /**
2 | * @file test_puremex.cxx
3 | * @brief
4 | *
5 | *
6 | * @author Dr. Jian Cheng (JC), jian.cheng.1983@gmail.com
7 | *
8 | * @internal
9 | * Created "11-09-2013
10 | * Revision 1.0
11 | * Compiler gcc/g++
12 | * Company IDEA@UNC-CH
13 | * Copyright Copyright (c) 2013, Jian Cheng
14 | *
15 | * =====================================================================================
16 | */
17 |
18 | #include
19 | #include "mex.h"
20 | #include "tr1/memory"
21 | #include
22 | #include "itkImage.h"
23 |
24 | void mexFunction(int nlhs, mxArray *plhs[],
25 | int nrhs, const mxArray *prhs[])
26 | {
27 | // utlGlobalException(nrhs!=1, "Bad number of inputs arguments");
28 | // double num = mxGetScalar(prhs[0]);
29 | std::tr1::shared_ptr > pp(new std::vector());
30 | std::cout << "num = " << 15 << std::endl << std::flush;
31 |
32 | typedef itk::Image ImageType;
33 | ImageType::Pointer image = ImageType::New();
34 |
35 | }
36 |
--------------------------------------------------------------------------------