pyxmipp3 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyxmipp3-0.1.0/.github/workflows/build-and-test.yml +90 -0
- pyxmipp3-0.1.0/.github/workflows/release.yml +95 -0
- pyxmipp3-0.1.0/.gitignore +48 -0
- pyxmipp3-0.1.0/CMakeLists.txt +45 -0
- pyxmipp3-0.1.0/LICENSE +674 -0
- pyxmipp3-0.1.0/PKG-INFO +27 -0
- pyxmipp3-0.1.0/README.md +2 -0
- pyxmipp3-0.1.0/VERSION +1 -0
- pyxmipp3-0.1.0/cmake/modules/fetch_fftw3.cmake +84 -0
- pyxmipp3-0.1.0/cmake/modules/fetch_hdf5.cmake +48 -0
- pyxmipp3-0.1.0/cmake/modules/fetch_libjpeg.cmake +40 -0
- pyxmipp3-0.1.0/cmake/modules/fetch_libtiff.cmake +17 -0
- pyxmipp3-0.1.0/cmake/modules/fetch_sqlite3.cmake +16 -0
- pyxmipp3-0.1.0/pyproject.toml +52 -0
- pyxmipp3-0.1.0/src/CMakeLists.txt +45 -0
- pyxmipp3-0.1.0/src/core/alglib/alglibinternal.cpp +15919 -0
- pyxmipp3-0.1.0/src/core/alglib/alglibinternal.h +1074 -0
- pyxmipp3-0.1.0/src/core/alglib/alglibmisc.cpp +3611 -0
- pyxmipp3-0.1.0/src/core/alglib/alglibmisc.h +769 -0
- pyxmipp3-0.1.0/src/core/alglib/ap.cpp +10661 -0
- pyxmipp3-0.1.0/src/core/alglib/ap.h +1575 -0
- pyxmipp3-0.1.0/src/core/alglib/dataanalysis.cpp +35078 -0
- pyxmipp3-0.1.0/src/core/alglib/dataanalysis.h +7394 -0
- pyxmipp3-0.1.0/src/core/alglib/diffequations.cpp +1187 -0
- pyxmipp3-0.1.0/src/core/alglib/diffequations.h +267 -0
- pyxmipp3-0.1.0/src/core/alglib/fasttransforms.cpp +3554 -0
- pyxmipp3-0.1.0/src/core/alglib/fasttransforms.h +691 -0
- pyxmipp3-0.1.0/src/core/alglib/integration.cpp +3961 -0
- pyxmipp3-0.1.0/src/core/alglib/integration.h +837 -0
- pyxmipp3-0.1.0/src/core/alglib/interpolation.cpp +30715 -0
- pyxmipp3-0.1.0/src/core/alglib/interpolation.h +5906 -0
- pyxmipp3-0.1.0/src/core/alglib/linalg.cpp +33805 -0
- pyxmipp3-0.1.0/src/core/alglib/linalg.h +5187 -0
- pyxmipp3-0.1.0/src/core/alglib/optimization.cpp +25034 -0
- pyxmipp3-0.1.0/src/core/alglib/optimization.h +4379 -0
- pyxmipp3-0.1.0/src/core/alglib/solvers.cpp +8709 -0
- pyxmipp3-0.1.0/src/core/alglib/solvers.h +2016 -0
- pyxmipp3-0.1.0/src/core/alglib/specialfunctions.cpp +9637 -0
- pyxmipp3-0.1.0/src/core/alglib/specialfunctions.h +1976 -0
- pyxmipp3-0.1.0/src/core/alglib/statistics.cpp +19718 -0
- pyxmipp3-0.1.0/src/core/alglib/statistics.h +1305 -0
- pyxmipp3-0.1.0/src/core/alglib/stdafx.h +2 -0
- pyxmipp3-0.1.0/src/core/args.cpp +469 -0
- pyxmipp3-0.1.0/src/core/args.h +421 -0
- pyxmipp3-0.1.0/src/core/argsparser.cpp +1060 -0
- pyxmipp3-0.1.0/src/core/argsparser.h +275 -0
- pyxmipp3-0.1.0/src/core/argsprinter.cpp +596 -0
- pyxmipp3-0.1.0/src/core/argsprinter.h +120 -0
- pyxmipp3-0.1.0/src/core/axis_view.h +43 -0
- pyxmipp3-0.1.0/src/core/bilib/changebasis.cc +637 -0
- pyxmipp3-0.1.0/src/core/bilib/changebasis.h +62 -0
- pyxmipp3-0.1.0/src/core/bilib/configs.h +94 -0
- pyxmipp3-0.1.0/src/core/bilib/convert.cc +375 -0
- pyxmipp3-0.1.0/src/core/bilib/convert.h +60 -0
- pyxmipp3-0.1.0/src/core/bilib/debug.h +353 -0
- pyxmipp3-0.1.0/src/core/bilib/dft.cc +2905 -0
- pyxmipp3-0.1.0/src/core/bilib/dft.h +1030 -0
- pyxmipp3-0.1.0/src/core/bilib/dht.cc +862 -0
- pyxmipp3-0.1.0/src/core/bilib/dht.h +34 -0
- pyxmipp3-0.1.0/src/core/bilib/error.h +73 -0
- pyxmipp3-0.1.0/src/core/bilib/findroot.cc +640 -0
- pyxmipp3-0.1.0/src/core/bilib/findroot.h +210 -0
- pyxmipp3-0.1.0/src/core/bilib/firconvolve.cc +2423 -0
- pyxmipp3-0.1.0/src/core/bilib/firconvolve.h +173 -0
- pyxmipp3-0.1.0/src/core/bilib/flip.cc +169 -0
- pyxmipp3-0.1.0/src/core/bilib/flip.h +30 -0
- pyxmipp3-0.1.0/src/core/bilib/fold.cc +288 -0
- pyxmipp3-0.1.0/src/core/bilib/fold.h +32 -0
- pyxmipp3-0.1.0/src/core/bilib/fourierconvolve.cc +395 -0
- pyxmipp3-0.1.0/src/core/bilib/fourierconvolve.h +115 -0
- pyxmipp3-0.1.0/src/core/bilib/geometry.cc +1740 -0
- pyxmipp3-0.1.0/src/core/bilib/geometry.h +425 -0
- pyxmipp3-0.1.0/src/core/bilib/getpoles.cc +319 -0
- pyxmipp3-0.1.0/src/core/bilib/getpoles.h +33 -0
- pyxmipp3-0.1.0/src/core/bilib/getput.cc +1309 -0
- pyxmipp3-0.1.0/src/core/bilib/getput.h +302 -0
- pyxmipp3-0.1.0/src/core/bilib/getputd.cc +742 -0
- pyxmipp3-0.1.0/src/core/bilib/getputd.h +166 -0
- pyxmipp3-0.1.0/src/core/bilib/gradient.cc +701 -0
- pyxmipp3-0.1.0/src/core/bilib/gradient.h +67 -0
- pyxmipp3-0.1.0/src/core/bilib/histogram.cc +761 -0
- pyxmipp3-0.1.0/src/core/bilib/histogram.h +139 -0
- pyxmipp3-0.1.0/src/core/bilib/iirconvolve.cc +853 -0
- pyxmipp3-0.1.0/src/core/bilib/iirconvolve.h +81 -0
- pyxmipp3-0.1.0/src/core/bilib/interpolate.cc +1974 -0
- pyxmipp3-0.1.0/src/core/bilib/interpolate.h +59 -0
- pyxmipp3-0.1.0/src/core/bilib/kernel.cc +2185 -0
- pyxmipp3-0.1.0/src/core/bilib/kernel.h +442 -0
- pyxmipp3-0.1.0/src/core/bilib/kerneldiff.cc +695 -0
- pyxmipp3-0.1.0/src/core/bilib/kerneldiff.h +82 -0
- pyxmipp3-0.1.0/src/core/bilib/kerneldiff1.cc +1094 -0
- pyxmipp3-0.1.0/src/core/bilib/kerneldiff1.h +186 -0
- pyxmipp3-0.1.0/src/core/bilib/kerneldiff2.cc +1145 -0
- pyxmipp3-0.1.0/src/core/bilib/kerneldiff2.h +168 -0
- pyxmipp3-0.1.0/src/core/bilib/kernelintegrate.cc +1015 -0
- pyxmipp3-0.1.0/src/core/bilib/kernelintegrate.h +210 -0
- pyxmipp3-0.1.0/src/core/bilib/linearalgebra.cc +2380 -0
- pyxmipp3-0.1.0/src/core/bilib/linearalgebra.h +405 -0
- pyxmipp3-0.1.0/src/core/bilib/messagedisplay.cc +7 -0
- pyxmipp3-0.1.0/src/core/bilib/messagedisplay.h +7 -0
- pyxmipp3-0.1.0/src/core/bilib/minmax.cc +207 -0
- pyxmipp3-0.1.0/src/core/bilib/minmax.h +70 -0
- pyxmipp3-0.1.0/src/core/bilib/morphology.cc +3435 -0
- pyxmipp3-0.1.0/src/core/bilib/morphology.h +793 -0
- pyxmipp3-0.1.0/src/core/bilib/movingaverage.cc +603 -0
- pyxmipp3-0.1.0/src/core/bilib/movingaverage.h +72 -0
- pyxmipp3-0.1.0/src/core/bilib/polynomial.cc +611 -0
- pyxmipp3-0.1.0/src/core/bilib/polynomial.h +104 -0
- pyxmipp3-0.1.0/src/core/bilib/positivepower.cc +137 -0
- pyxmipp3-0.1.0/src/core/bilib/positivepower.h +10 -0
- pyxmipp3-0.1.0/src/core/bilib/pyramidfilters.cc +867 -0
- pyxmipp3-0.1.0/src/core/bilib/pyramidfilters.h +103 -0
- pyxmipp3-0.1.0/src/core/bilib/pyramidtools.cc +1170 -0
- pyxmipp3-0.1.0/src/core/bilib/pyramidtools.h +184 -0
- pyxmipp3-0.1.0/src/core/bilib/round.cc +99 -0
- pyxmipp3-0.1.0/src/core/bilib/round.h +18 -0
- pyxmipp3-0.1.0/src/core/bilib/swap.cc +195 -0
- pyxmipp3-0.1.0/src/core/bilib/swap.h +48 -0
- pyxmipp3-0.1.0/src/core/bilib/tboundaryconvention.h +17 -0
- pyxmipp3-0.1.0/src/core/bilib/timestamp.cc +191 -0
- pyxmipp3-0.1.0/src/core/bilib/timestamp.h +19 -0
- pyxmipp3-0.1.0/src/core/bilib/traceline.cc +1072 -0
- pyxmipp3-0.1.0/src/core/bilib/traceline.h +14 -0
- pyxmipp3-0.1.0/src/core/bilib/tsplinebasis.h +14 -0
- pyxmipp3-0.1.0/src/core/bilib/ttimestamp.h +11 -0
- pyxmipp3-0.1.0/src/core/bilib/ttraceline.h +12 -0
- pyxmipp3-0.1.0/src/core/bilib/wavelet.cc +229 -0
- pyxmipp3-0.1.0/src/core/bilib/wavelet.h +71 -0
- pyxmipp3-0.1.0/src/core/bilib/waveletfilters.cc +1081 -0
- pyxmipp3-0.1.0/src/core/bilib/waveletfilters.h +11 -0
- pyxmipp3-0.1.0/src/core/bilib/waveletfiltersfract.cc +486 -0
- pyxmipp3-0.1.0/src/core/bilib/waveletfiltersfract.h +13 -0
- pyxmipp3-0.1.0/src/core/bilib/wavelettools.cc +1232 -0
- pyxmipp3-0.1.0/src/core/bilib/wavelettools.h +22 -0
- pyxmipp3-0.1.0/src/core/bilib/window.cc +297 -0
- pyxmipp3-0.1.0/src/core/bilib/window.h +59 -0
- pyxmipp3-0.1.0/src/core/choose.h +23 -0
- pyxmipp3-0.1.0/src/core/comment_list.cpp +51 -0
- pyxmipp3-0.1.0/src/core/comment_list.h +45 -0
- pyxmipp3-0.1.0/src/core/gcc_version.h +48 -0
- pyxmipp3-0.1.0/src/core/geometry.cpp +1328 -0
- pyxmipp3-0.1.0/src/core/geometry.h +845 -0
- pyxmipp3-0.1.0/src/core/histogram.cpp +588 -0
- pyxmipp3-0.1.0/src/core/histogram.h +1002 -0
- pyxmipp3-0.1.0/src/core/linear_system_helper.cpp +364 -0
- pyxmipp3-0.1.0/src/core/linear_system_helper.h +102 -0
- pyxmipp3-0.1.0/src/core/matrix1d.cpp +916 -0
- pyxmipp3-0.1.0/src/core/matrix1d.h +1251 -0
- pyxmipp3-0.1.0/src/core/matrix2d.cpp +1348 -0
- pyxmipp3-0.1.0/src/core/matrix2d.h +1329 -0
- pyxmipp3-0.1.0/src/core/metadata_base.cpp +657 -0
- pyxmipp3-0.1.0/src/core/metadata_base.h +811 -0
- pyxmipp3-0.1.0/src/core/metadata_base_it.h +57 -0
- pyxmipp3-0.1.0/src/core/metadata_db.cpp +1730 -0
- pyxmipp3-0.1.0/src/core/metadata_db.h +856 -0
- pyxmipp3-0.1.0/src/core/metadata_extension.cpp +568 -0
- pyxmipp3-0.1.0/src/core/metadata_extension.h +106 -0
- pyxmipp3-0.1.0/src/core/metadata_generator.cpp +115 -0
- pyxmipp3-0.1.0/src/core/metadata_generator.h +96 -0
- pyxmipp3-0.1.0/src/core/metadata_label.h +1010 -0
- pyxmipp3-0.1.0/src/core/metadata_object.cpp +654 -0
- pyxmipp3-0.1.0/src/core/metadata_object.h +174 -0
- pyxmipp3-0.1.0/src/core/metadata_query.cpp +34 -0
- pyxmipp3-0.1.0/src/core/metadata_query.h +366 -0
- pyxmipp3-0.1.0/src/core/metadata_row_base.h +205 -0
- pyxmipp3-0.1.0/src/core/metadata_row_sql.cpp +162 -0
- pyxmipp3-0.1.0/src/core/metadata_row_sql.h +103 -0
- pyxmipp3-0.1.0/src/core/metadata_row_vec.cpp +231 -0
- pyxmipp3-0.1.0/src/core/metadata_row_vec.h +120 -0
- pyxmipp3-0.1.0/src/core/metadata_sql.cpp +1603 -0
- pyxmipp3-0.1.0/src/core/metadata_sql.h +345 -0
- pyxmipp3-0.1.0/src/core/metadata_sql_operations.h +47 -0
- pyxmipp3-0.1.0/src/core/metadata_static.cpp +325 -0
- pyxmipp3-0.1.0/src/core/metadata_static.h +1195 -0
- pyxmipp3-0.1.0/src/core/metadata_vec.cpp +983 -0
- pyxmipp3-0.1.0/src/core/metadata_vec.h +576 -0
- pyxmipp3-0.1.0/src/core/metadata_writemode.h +38 -0
- pyxmipp3-0.1.0/src/core/multidim_array.cpp +1182 -0
- pyxmipp3-0.1.0/src/core/multidim_array.h +4076 -0
- pyxmipp3-0.1.0/src/core/multidim_array_base.cpp +304 -0
- pyxmipp3-0.1.0/src/core/multidim_array_base.h +1078 -0
- pyxmipp3-0.1.0/src/core/multidim_array_generic.cpp +170 -0
- pyxmipp3-0.1.0/src/core/multidim_array_generic.h +525 -0
- pyxmipp3-0.1.0/src/core/numerical_recipes.cpp +9426 -0
- pyxmipp3-0.1.0/src/core/numerical_recipes.h +343 -0
- pyxmipp3-0.1.0/src/core/optional.h +99 -0
- pyxmipp3-0.1.0/src/core/rerunable_program.h +86 -0
- pyxmipp3-0.1.0/src/core/rwDM3.cpp +636 -0
- pyxmipp3-0.1.0/src/core/rwDM3.h +42 -0
- pyxmipp3-0.1.0/src/core/rwDM4.cpp +679 -0
- pyxmipp3-0.1.0/src/core/rwDM4.h +42 -0
- pyxmipp3-0.1.0/src/core/rwEER.cpp +670 -0
- pyxmipp3-0.1.0/src/core/rwEER.h +51 -0
- pyxmipp3-0.1.0/src/core/rwEM.cpp +152 -0
- pyxmipp3-0.1.0/src/core/rwEM.h +133 -0
- pyxmipp3-0.1.0/src/core/rwHDF5.cpp +324 -0
- pyxmipp3-0.1.0/src/core/rwHDF5.h +52 -0
- pyxmipp3-0.1.0/src/core/rwIMAGIC.cpp +506 -0
- pyxmipp3-0.1.0/src/core/rwIMAGIC.h +65 -0
- pyxmipp3-0.1.0/src/core/rwINF.cpp +282 -0
- pyxmipp3-0.1.0/src/core/rwINF.h +43 -0
- pyxmipp3-0.1.0/src/core/rwJPEG.cpp +220 -0
- pyxmipp3-0.1.0/src/core/rwJPEG.h +32 -0
- pyxmipp3-0.1.0/src/core/rwMRC.cpp +694 -0
- pyxmipp3-0.1.0/src/core/rwMRC.h +27 -0
- pyxmipp3-0.1.0/src/core/rwPIF.cpp +165 -0
- pyxmipp3-0.1.0/src/core/rwPIF.h +172 -0
- pyxmipp3-0.1.0/src/core/rwRAW.cpp +142 -0
- pyxmipp3-0.1.0/src/core/rwRAW.h +49 -0
- pyxmipp3-0.1.0/src/core/rwSPE.cpp +87 -0
- pyxmipp3-0.1.0/src/core/rwSPE.h +42 -0
- pyxmipp3-0.1.0/src/core/rwSPIDER.cpp +600 -0
- pyxmipp3-0.1.0/src/core/rwSPIDER.h +142 -0
- pyxmipp3-0.1.0/src/core/rwTIA.cpp +257 -0
- pyxmipp3-0.1.0/src/core/rwTIA.h +44 -0
- pyxmipp3-0.1.0/src/core/rwTIFF.cpp +539 -0
- pyxmipp3-0.1.0/src/core/rwTIFF.h +91 -0
- pyxmipp3-0.1.0/src/core/sqlite3-extension-functions.c +1945 -0
- pyxmipp3-0.1.0/src/core/symmetries.cpp +1285 -0
- pyxmipp3-0.1.0/src/core/symmetries.h +357 -0
- pyxmipp3-0.1.0/src/core/transformations.cpp +1465 -0
- pyxmipp3-0.1.0/src/core/transformations.h +1952 -0
- pyxmipp3-0.1.0/src/core/transformations_defines.h +43 -0
- pyxmipp3-0.1.0/src/core/userSettings.cpp +64 -0
- pyxmipp3-0.1.0/src/core/userSettings.h +178 -0
- pyxmipp3-0.1.0/src/core/utils/half.hpp +3261 -0
- pyxmipp3-0.1.0/src/core/utils/memory_utils.h +136 -0
- pyxmipp3-0.1.0/src/core/utils/sql_utils.cpp +343 -0
- pyxmipp3-0.1.0/src/core/utils/sql_utils.h +190 -0
- pyxmipp3-0.1.0/src/core/utils/time_utils.cpp +30 -0
- pyxmipp3-0.1.0/src/core/utils/time_utils.h +187 -0
- pyxmipp3-0.1.0/src/core/xmipp_array_coord.h +47 -0
- pyxmipp3-0.1.0/src/core/xmipp_array_dim.h +74 -0
- pyxmipp3-0.1.0/src/core/xmipp_color.cpp +36 -0
- pyxmipp3-0.1.0/src/core/xmipp_color.h +57 -0
- pyxmipp3-0.1.0/src/core/xmipp_datatype.cpp +214 -0
- pyxmipp3-0.1.0/src/core/xmipp_datatype.h +76 -0
- pyxmipp3-0.1.0/src/core/xmipp_error.cpp +200 -0
- pyxmipp3-0.1.0/src/core/xmipp_error.h +242 -0
- pyxmipp3-0.1.0/src/core/xmipp_fft.cpp +518 -0
- pyxmipp3-0.1.0/src/core/xmipp_fft.h +596 -0
- pyxmipp3-0.1.0/src/core/xmipp_fftw.cpp +1006 -0
- pyxmipp3-0.1.0/src/core/xmipp_fftw.h +719 -0
- pyxmipp3-0.1.0/src/core/xmipp_filename.cpp +941 -0
- pyxmipp3-0.1.0/src/core/xmipp_filename.h +795 -0
- pyxmipp3-0.1.0/src/core/xmipp_funcs.cpp +1194 -0
- pyxmipp3-0.1.0/src/core/xmipp_funcs.h +1240 -0
- pyxmipp3-0.1.0/src/core/xmipp_hdf5.cpp +236 -0
- pyxmipp3-0.1.0/src/core/xmipp_hdf5.h +111 -0
- pyxmipp3-0.1.0/src/core/xmipp_image.cpp +420 -0
- pyxmipp3-0.1.0/src/core/xmipp_image.h +1571 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_base.cpp +1208 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_base.h +882 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_extension.cpp +195 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_extension.h +66 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_generic.cpp +637 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_generic.h +477 -0
- pyxmipp3-0.1.0/src/core/xmipp_image_macros.h +44 -0
- pyxmipp3-0.1.0/src/core/xmipp_log.cpp +75 -0
- pyxmipp3-0.1.0/src/core/xmipp_log.h +94 -0
- pyxmipp3-0.1.0/src/core/xmipp_macros.h +472 -0
- pyxmipp3-0.1.0/src/core/xmipp_marsaglia.h +237 -0
- pyxmipp3-0.1.0/src/core/xmipp_memory.cpp +63 -0
- pyxmipp3-0.1.0/src/core/xmipp_memory.h +151 -0
- pyxmipp3-0.1.0/src/core/xmipp_metadata_program.cpp +445 -0
- pyxmipp3-0.1.0/src/core/xmipp_metadata_program.h +192 -0
- pyxmipp3-0.1.0/src/core/xmipp_program.cpp +435 -0
- pyxmipp3-0.1.0/src/core/xmipp_program.h +266 -0
- pyxmipp3-0.1.0/src/core/xmipp_program_sql.cpp +227 -0
- pyxmipp3-0.1.0/src/core/xmipp_program_sql.h +93 -0
- pyxmipp3-0.1.0/src/core/xmipp_random_mode.h +38 -0
- pyxmipp3-0.1.0/src/core/xmipp_strings.cpp +689 -0
- pyxmipp3-0.1.0/src/core/xmipp_strings.h +419 -0
- pyxmipp3-0.1.0/src/core/xmipp_threads.cpp +402 -0
- pyxmipp3-0.1.0/src/core/xmipp_threads.h +493 -0
- pyxmipp3-0.1.0/src/core/xmipp_types.h +37 -0
- pyxmipp3-0.1.0/src/core/xmipp_write_mode.h +44 -0
- pyxmipp3-0.1.0/src/core/xvsmooth.cpp +422 -0
- pyxmipp3-0.1.0/src/core/xvsmooth.h +30 -0
- pyxmipp3-0.1.0/src/data/aft.h +69 -0
- pyxmipp3-0.1.0/src/data/basic_pca.cpp +574 -0
- pyxmipp3-0.1.0/src/data/basic_pca.h +189 -0
- pyxmipp3-0.1.0/src/data/basis.cpp +437 -0
- pyxmipp3-0.1.0/src/data/basis.h +164 -0
- pyxmipp3-0.1.0/src/data/blobs.cpp +1431 -0
- pyxmipp3-0.1.0/src/data/blobs.h +410 -0
- pyxmipp3-0.1.0/src/data/cpu.cpp +71 -0
- pyxmipp3-0.1.0/src/data/cpu.h +72 -0
- pyxmipp3-0.1.0/src/data/ctf.cpp +1896 -0
- pyxmipp3-0.1.0/src/data/ctf.h +1304 -0
- pyxmipp3-0.1.0/src/data/dimensions.h +179 -0
- pyxmipp3-0.1.0/src/data/fft_settings.cpp +18 -0
- pyxmipp3-0.1.0/src/data/fft_settings.h +179 -0
- pyxmipp3-0.1.0/src/data/fftwT.cpp +466 -0
- pyxmipp3-0.1.0/src/data/fftwT.h +156 -0
- pyxmipp3-0.1.0/src/data/filters.cpp +4370 -0
- pyxmipp3-0.1.0/src/data/filters.h +1624 -0
- pyxmipp3-0.1.0/src/data/fourier_filter.cpp +948 -0
- pyxmipp3-0.1.0/src/data/fourier_filter.h +240 -0
- pyxmipp3-0.1.0/src/data/fourier_projection.cpp +331 -0
- pyxmipp3-0.1.0/src/data/fourier_projection.h +182 -0
- pyxmipp3-0.1.0/src/data/grids.cpp +481 -0
- pyxmipp3-0.1.0/src/data/grids.h +1514 -0
- pyxmipp3-0.1.0/src/data/hw.h +87 -0
- pyxmipp3-0.1.0/src/data/integration.cpp +184 -0
- pyxmipp3-0.1.0/src/data/integration.h +239 -0
- pyxmipp3-0.1.0/src/data/mask.cpp +1940 -0
- pyxmipp3-0.1.0/src/data/mask.h +1064 -0
- pyxmipp3-0.1.0/src/data/morphology.cpp +563 -0
- pyxmipp3-0.1.0/src/data/morphology.h +133 -0
- pyxmipp3-0.1.0/src/data/normalize.cpp +959 -0
- pyxmipp3-0.1.0/src/data/normalize.h +309 -0
- pyxmipp3-0.1.0/src/data/numerical_tools.cpp +2505 -0
- pyxmipp3-0.1.0/src/data/numerical_tools.h +453 -0
- pyxmipp3-0.1.0/src/data/point.h +36 -0
- pyxmipp3-0.1.0/src/data/point2D.h +103 -0
- pyxmipp3-0.1.0/src/data/polar.cpp +385 -0
- pyxmipp3-0.1.0/src/data/polar.h +903 -0
- pyxmipp3-0.1.0/src/data/projection.cpp +1967 -0
- pyxmipp3-0.1.0/src/data/projection.h +369 -0
- pyxmipp3-0.1.0/src/data/rectangle.h +56 -0
- pyxmipp3-0.1.0/src/data/splines.cpp +449 -0
- pyxmipp3-0.1.0/src/data/splines.h +94 -0
- pyxmipp3-0.1.0/src/data/wavelet.cpp +1025 -0
- pyxmipp3-0.1.0/src/data/wavelet.h +389 -0
- pyxmipp3-0.1.0/src/data/xmipp_image_over.cpp +123 -0
- pyxmipp3-0.1.0/src/data/xmipp_image_over.h +430 -0
- pyxmipp3-0.1.0/src/data/xmipp_polynomials.cpp +257 -0
- pyxmipp3-0.1.0/src/data/xmipp_polynomials.h +88 -0
- pyxmipp3-0.1.0/src/python/python_constants.cpp +869 -0
- pyxmipp3-0.1.0/src/python/python_filename.cpp +347 -0
- pyxmipp3-0.1.0/src/python/python_filename.h +110 -0
- pyxmipp3-0.1.0/src/python/python_fourierprojector.cpp +150 -0
- pyxmipp3-0.1.0/src/python/python_fourierprojector.h +70 -0
- pyxmipp3-0.1.0/src/python/python_image.cpp +1995 -0
- pyxmipp3-0.1.0/src/python/python_image.h +280 -0
- pyxmipp3-0.1.0/src/python/python_metadata.cpp +2414 -0
- pyxmipp3-0.1.0/src/python/python_metadata.h +371 -0
- pyxmipp3-0.1.0/src/python/python_program.cpp +431 -0
- pyxmipp3-0.1.0/src/python/python_program.h +120 -0
- pyxmipp3-0.1.0/src/python/python_symmetry.cpp +336 -0
- pyxmipp3-0.1.0/src/python/python_symmetry.h +70 -0
- pyxmipp3-0.1.0/src/python/xmippmodule.cpp +1544 -0
- pyxmipp3-0.1.0/src/python/xmippmodule.h +184 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_enhance_psd.cpp +217 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_enhance_psd.h +86 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_micrograph.cpp +994 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_micrograph.h +111 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_psd.cpp +2536 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_psd.h +133 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_psd_base.cpp +373 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_psd_base.h +163 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_psd_fast.cpp +1696 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_from_psd_fast.h +111 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_psd_with_arma.cpp +274 -0
- pyxmipp3-0.1.0/src/reconstruction/ctf_estimate_psd_with_arma.h +132 -0
- pyxmipp3-0.1.0/src/reconstruction/fringe_processing.cpp +1249 -0
- pyxmipp3-0.1.0/src/reconstruction/fringe_processing.h +120 -0
- pyxmipp3-0.1.0/src/reconstruction/psd_estimator.cpp +152 -0
- pyxmipp3-0.1.0/src/reconstruction/psd_estimator.h +75 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
name: Build and test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build_with_cmake:
|
|
10
|
+
name: CMake
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
os:
|
|
14
|
+
- ubuntu-latest
|
|
15
|
+
compiler:
|
|
16
|
+
- {cc: gcc, cxx: g++}
|
|
17
|
+
- {cc: clang, cxx: clang++}
|
|
18
|
+
|
|
19
|
+
#include:
|
|
20
|
+
#- os: macos-latest
|
|
21
|
+
# compiler: {cc: clang, cxx: clang++}
|
|
22
|
+
#- os: windows-latest
|
|
23
|
+
# compiler: {cc: cl, cxx: cl}
|
|
24
|
+
|
|
25
|
+
runs-on: ${{ matrix.os }}
|
|
26
|
+
env:
|
|
27
|
+
BUILD_TYPE: Debug
|
|
28
|
+
defaults:
|
|
29
|
+
run:
|
|
30
|
+
shell: bash -el {0}
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout repository
|
|
33
|
+
uses: actions/checkout@v6
|
|
34
|
+
|
|
35
|
+
- name: Set up Python
|
|
36
|
+
uses: actions/setup-python@v5
|
|
37
|
+
with:
|
|
38
|
+
python-version: '3.12'
|
|
39
|
+
|
|
40
|
+
- name: Install NumPy
|
|
41
|
+
run: |
|
|
42
|
+
pip install numpy
|
|
43
|
+
|
|
44
|
+
- name: Configure and build with CMake
|
|
45
|
+
uses: threeal/cmake-action@v2
|
|
46
|
+
with:
|
|
47
|
+
source-dir: ${{ github.workspace }}
|
|
48
|
+
build-dir: "${{ github.workspace }}/build"
|
|
49
|
+
c-compiler: ${{ matrix.compiler.cc }}
|
|
50
|
+
cxx-compiler: ${{ matrix.compiler.cxx }}
|
|
51
|
+
options: |
|
|
52
|
+
CMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
|
|
53
|
+
run-build: true
|
|
54
|
+
build-args: --config ${{ env.BUILD_TYPE }}
|
|
55
|
+
|
|
56
|
+
build_with_pip:
|
|
57
|
+
name: pip
|
|
58
|
+
strategy:
|
|
59
|
+
matrix:
|
|
60
|
+
os:
|
|
61
|
+
- ubuntu-latest
|
|
62
|
+
- ubuntu-22.04
|
|
63
|
+
#- macos-latest
|
|
64
|
+
#- windows-latest
|
|
65
|
+
python-version:
|
|
66
|
+
- '3.14'
|
|
67
|
+
|
|
68
|
+
runs-on: ${{ matrix.os }}
|
|
69
|
+
defaults:
|
|
70
|
+
run:
|
|
71
|
+
shell: bash -el {0}
|
|
72
|
+
steps:
|
|
73
|
+
- name: Checkout repository
|
|
74
|
+
uses: actions/checkout@v6
|
|
75
|
+
|
|
76
|
+
- name: Set up Python
|
|
77
|
+
uses: actions/setup-python@v6
|
|
78
|
+
with:
|
|
79
|
+
python-version: ${{ matrix.python-version }}
|
|
80
|
+
|
|
81
|
+
- name: Upgrade pip
|
|
82
|
+
if: matrix.os == 'ubuntu-22.04'
|
|
83
|
+
run: python -m pip install --upgrade pip packaging
|
|
84
|
+
|
|
85
|
+
- name: Install with pip
|
|
86
|
+
run: pip install . -v
|
|
87
|
+
|
|
88
|
+
- name: Test installation
|
|
89
|
+
run: python -c "import xmippLib"
|
|
90
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
name: Deploy release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v[0-9]+.[0-9]+.[0-9]+'
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
|
|
10
|
+
pull_request:
|
|
11
|
+
branches:
|
|
12
|
+
- main
|
|
13
|
+
paths:
|
|
14
|
+
- 'pyproject.toml'
|
|
15
|
+
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
build_wheels:
|
|
20
|
+
name: Build wheels on ${{ matrix.os }} (${{ matrix.architectures }})
|
|
21
|
+
strategy:
|
|
22
|
+
matrix:
|
|
23
|
+
include:
|
|
24
|
+
- os: ubuntu-latest
|
|
25
|
+
architectures: "x86_64"
|
|
26
|
+
- os: ubuntu-24.04-arm
|
|
27
|
+
architectures: "aarch64"
|
|
28
|
+
#- os: macos-latest
|
|
29
|
+
# architectures: "x86_64 arm64 universal2"
|
|
30
|
+
#- os: windows-latest
|
|
31
|
+
# architectures: "AMD64 ARM64"
|
|
32
|
+
|
|
33
|
+
runs-on: ${{ matrix.os }}
|
|
34
|
+
steps:
|
|
35
|
+
- name: Checkout repository
|
|
36
|
+
uses: actions/checkout@v6
|
|
37
|
+
|
|
38
|
+
- name: Build wheels
|
|
39
|
+
uses: pypa/cibuildwheel@v3.3.1
|
|
40
|
+
env:
|
|
41
|
+
CIBW_ARCHS: "${{ matrix.architectures }}"
|
|
42
|
+
CIBW_SKIP: "cp3??t-* *musllinux*"
|
|
43
|
+
CIBW_TEST_COMMAND: "python -c \"import xmippLib\""
|
|
44
|
+
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >
|
|
45
|
+
auditwheel repair -w {dest_dir} {wheel}
|
|
46
|
+
CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
|
|
47
|
+
delocate-wheel --require-archs {delocate_archs}
|
|
48
|
+
-w {dest_dir} -v {wheel}
|
|
49
|
+
--ignore-missing-dependencies
|
|
50
|
+
|
|
51
|
+
- name: Upload wheels
|
|
52
|
+
uses: actions/upload-artifact@v6
|
|
53
|
+
with:
|
|
54
|
+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
|
|
55
|
+
path: ./wheelhouse/*.whl
|
|
56
|
+
|
|
57
|
+
build_sdist:
|
|
58
|
+
name: Build source distribution
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
steps:
|
|
61
|
+
- uses: actions/checkout@v6
|
|
62
|
+
|
|
63
|
+
- name: Install build tool
|
|
64
|
+
run: pip install build
|
|
65
|
+
|
|
66
|
+
- name: Build sdist
|
|
67
|
+
run: python -m build --sdist
|
|
68
|
+
|
|
69
|
+
- uses: actions/upload-artifact@v6
|
|
70
|
+
with:
|
|
71
|
+
name: cibw-sdist
|
|
72
|
+
path: dist/*.tar.gz
|
|
73
|
+
|
|
74
|
+
upload_pypi:
|
|
75
|
+
name: Upload to PyPI
|
|
76
|
+
needs: [build_wheels, build_sdist]
|
|
77
|
+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
|
|
78
|
+
runs-on: ubuntu-latest
|
|
79
|
+
environment:
|
|
80
|
+
name: pypi
|
|
81
|
+
url: https://pypi.org/p/pyxmipp3
|
|
82
|
+
permissions:
|
|
83
|
+
id-token: write
|
|
84
|
+
steps:
|
|
85
|
+
- uses: actions/download-artifact@v7
|
|
86
|
+
with:
|
|
87
|
+
pattern: cibw-*
|
|
88
|
+
path: dist
|
|
89
|
+
merge-multiple: true
|
|
90
|
+
|
|
91
|
+
- name: List artifacts
|
|
92
|
+
run: ls -l ./dist
|
|
93
|
+
|
|
94
|
+
- name: Upload to PyPI
|
|
95
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Prerequisites
|
|
2
|
+
*.d
|
|
3
|
+
|
|
4
|
+
# Compiled Object files
|
|
5
|
+
*.slo
|
|
6
|
+
*.lo
|
|
7
|
+
*.o
|
|
8
|
+
*.obj
|
|
9
|
+
|
|
10
|
+
# Precompiled Headers
|
|
11
|
+
*.gch
|
|
12
|
+
*.pch
|
|
13
|
+
|
|
14
|
+
# Linker files
|
|
15
|
+
*.ilk
|
|
16
|
+
|
|
17
|
+
# Debugger Files
|
|
18
|
+
*.pdb
|
|
19
|
+
|
|
20
|
+
# Compiled Dynamic libraries
|
|
21
|
+
*.so
|
|
22
|
+
*.dylib
|
|
23
|
+
*.dll
|
|
24
|
+
|
|
25
|
+
# Fortran module files
|
|
26
|
+
*.mod
|
|
27
|
+
*.smod
|
|
28
|
+
|
|
29
|
+
# Compiled Static libraries
|
|
30
|
+
*.lai
|
|
31
|
+
*.la
|
|
32
|
+
*.a
|
|
33
|
+
*.lib
|
|
34
|
+
|
|
35
|
+
# Executables
|
|
36
|
+
*.exe
|
|
37
|
+
*.out
|
|
38
|
+
*.app
|
|
39
|
+
|
|
40
|
+
# debug information files
|
|
41
|
+
*.dwo
|
|
42
|
+
|
|
43
|
+
# CMake build
|
|
44
|
+
build/*
|
|
45
|
+
|
|
46
|
+
# Python virtual environments used for testing
|
|
47
|
+
env
|
|
48
|
+
venv
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.18)
|
|
2
|
+
|
|
3
|
+
# Define the project
|
|
4
|
+
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/VERSION PROJECT_VERSION)
|
|
5
|
+
string(STRIP "${PROJECT_VERSION}" PROJECT_VERSION)
|
|
6
|
+
project(
|
|
7
|
+
pyxmipp3
|
|
8
|
+
VERSION ${PROJECT_VERSION}
|
|
9
|
+
LANGUAGES C CXX
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
# Include CTest to provide BUILD_TESTING option
|
|
13
|
+
include(FetchContent)
|
|
14
|
+
include(GNUInstallDirs)
|
|
15
|
+
|
|
16
|
+
# Set the module path
|
|
17
|
+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
|
|
18
|
+
|
|
19
|
+
find_package(Threads REQUIRED)
|
|
20
|
+
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module NumPy)
|
|
21
|
+
|
|
22
|
+
include(fetch_hdf5)
|
|
23
|
+
include(fetch_sqlite3)
|
|
24
|
+
include(fetch_fftw3)
|
|
25
|
+
include(fetch_libtiff)
|
|
26
|
+
include(fetch_libjpeg)
|
|
27
|
+
|
|
28
|
+
fetch_hdf5()
|
|
29
|
+
fetch_sqlite3()
|
|
30
|
+
fetch_fftw3()
|
|
31
|
+
fetch_libtiff()
|
|
32
|
+
fetch_libjpeg()
|
|
33
|
+
|
|
34
|
+
if(SKBUILD_PLATLIB_DIR)
|
|
35
|
+
set(PYTHON_INSTALL_DIR "${SKBUILD_PLATLIB_DIR}")
|
|
36
|
+
else()
|
|
37
|
+
set(PYTHON_INSTALL_DIR "${Python_SITEARCH}")
|
|
38
|
+
endif()
|
|
39
|
+
|
|
40
|
+
# Set project-wide compilation options
|
|
41
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
42
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
43
|
+
|
|
44
|
+
# Add sources
|
|
45
|
+
add_subdirectory(src)
|