reflectorch 1.0.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.
Potentially problematic release.
This version of reflectorch might be problematic. Click here for more details.
- reflectorch-1.0.0/.dockerignore +3 -0
- reflectorch-1.0.0/.github/workflows/ci.yml +40 -0
- reflectorch-1.0.0/.gitignore +40 -0
- reflectorch-1.0.0/CODE_OF_CONDUCT.md +12 -0
- reflectorch-1.0.0/Dockerfile +13 -0
- reflectorch-1.0.0/LICENSE.txt +621 -0
- reflectorch-1.0.0/MANIFEST.in +4 -0
- reflectorch-1.0.0/PKG-INFO +115 -0
- reflectorch-1.0.0/README.md +75 -0
- reflectorch-1.0.0/configs/c1.yaml +103 -0
- reflectorch-1.0.0/configs/c1_trained.yaml +98 -0
- reflectorch-1.0.0/configs/c_L10_d100_s150_r30_ws5_q03_nq256.yaml +94 -0
- reflectorch-1.0.0/configs/c_L3_d200_s150_r60_ws5_q03_nq128.yaml +91 -0
- reflectorch-1.0.0/configs/c_L5_d200_s150_r60_ws5_q03_nq256.yaml +94 -0
- reflectorch-1.0.0/configs/c_absorption.yaml +104 -0
- reflectorch-1.0.0/configs/c_absorption_L2_d500_s150_is30_r60_ws5_q03_nq256.yaml +98 -0
- reflectorch-1.0.0/configs/c_absorption_L5_d200_s150_is30_r60_ws5_q03_nq256.yaml +98 -0
- reflectorch-1.0.0/configs/c_ae.yaml +96 -0
- reflectorch-1.0.0/configs/c_fno.yaml +97 -0
- reflectorch-1.0.0/configs/c_model_with_shifts.yaml +107 -0
- reflectorch-1.0.0/configs/c_repeating_multilayer.yaml +126 -0
- reflectorch-1.0.0/configs/c_repeating_multilayer_trained1.yaml +120 -0
- reflectorch-1.0.0/configs/l2q109_exp_1.yaml +86 -0
- reflectorch-1.0.0/configs/l2q256_absorption_1.yaml +87 -0
- reflectorch-1.0.0/configs/l2q256_exp_2.yaml +77 -0
- reflectorch-1.0.0/configs/l2q256_exp_3.yaml +85 -0
- reflectorch-1.0.0/configs/l2q256_exp_3_02.yaml +78 -0
- reflectorch-1.0.0/configs/l2q256_exp_4.yaml +77 -0
- reflectorch-1.0.0/configs/l2q256_exp_5.yaml +77 -0
- reflectorch-1.0.0/configs/l2q256_exp_sm_2.yaml +76 -0
- reflectorch-1.0.0/configs/l2q256_new_1.yaml +78 -0
- reflectorch-1.0.0/configs/l2q64_new_sub_1.yaml +77 -0
- reflectorch-1.0.0/configs/l5q256_new_sub_1.yaml +95 -0
- reflectorch-1.0.0/configs/mc-o1.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o10.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o11.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o12.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o13.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o14.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o15.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o16.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o2.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o3.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o4.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o5.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o7.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o8.yaml +102 -0
- reflectorch-1.0.0/configs/mc-o9.yaml +102 -0
- reflectorch-1.0.0/configs/mc1.yaml +105 -0
- reflectorch-1.0.0/configs/mc10.yaml +105 -0
- reflectorch-1.0.0/configs/mc11.yaml +105 -0
- reflectorch-1.0.0/configs/mc12.yaml +105 -0
- reflectorch-1.0.0/configs/mc13.yaml +105 -0
- reflectorch-1.0.0/configs/mc14.yaml +105 -0
- reflectorch-1.0.0/configs/mc15.yaml +105 -0
- reflectorch-1.0.0/configs/mc16.yaml +105 -0
- reflectorch-1.0.0/configs/mc17.yaml +105 -0
- reflectorch-1.0.0/configs/mc18.yaml +105 -0
- reflectorch-1.0.0/configs/mc19.yaml +105 -0
- reflectorch-1.0.0/configs/mc2.yaml +105 -0
- reflectorch-1.0.0/configs/mc20.yaml +105 -0
- reflectorch-1.0.0/configs/mc21.yaml +105 -0
- reflectorch-1.0.0/configs/mc22.yaml +105 -0
- reflectorch-1.0.0/configs/mc23.yaml +105 -0
- reflectorch-1.0.0/configs/mc24.yaml +105 -0
- reflectorch-1.0.0/configs/mc25.yaml +105 -0
- reflectorch-1.0.0/configs/mc26.yaml +105 -0
- reflectorch-1.0.0/configs/mc27.yaml +105 -0
- reflectorch-1.0.0/configs/mc28.yaml +105 -0
- reflectorch-1.0.0/configs/mc29.yaml +105 -0
- reflectorch-1.0.0/configs/mc3.yaml +105 -0
- reflectorch-1.0.0/configs/mc30.yaml +105 -0
- reflectorch-1.0.0/configs/mc31.yaml +105 -0
- reflectorch-1.0.0/configs/mc32.yaml +105 -0
- reflectorch-1.0.0/configs/mc33.yaml +105 -0
- reflectorch-1.0.0/configs/mc34.yaml +105 -0
- reflectorch-1.0.0/configs/mc35.yaml +105 -0
- reflectorch-1.0.0/configs/mc36.yaml +105 -0
- reflectorch-1.0.0/configs/mc37.yaml +105 -0
- reflectorch-1.0.0/configs/mc38.yaml +105 -0
- reflectorch-1.0.0/configs/mc39.yaml +105 -0
- reflectorch-1.0.0/configs/mc4.yaml +105 -0
- reflectorch-1.0.0/configs/mc40.yaml +105 -0
- reflectorch-1.0.0/configs/mc41.yaml +105 -0
- reflectorch-1.0.0/configs/mc42.yaml +105 -0
- reflectorch-1.0.0/configs/mc43.yaml +105 -0
- reflectorch-1.0.0/configs/mc44.yaml +105 -0
- reflectorch-1.0.0/configs/mc45.yaml +105 -0
- reflectorch-1.0.0/configs/mc46.yaml +105 -0
- reflectorch-1.0.0/configs/mc47.yaml +105 -0
- reflectorch-1.0.0/configs/mc48.yaml +105 -0
- reflectorch-1.0.0/configs/mc49.yaml +105 -0
- reflectorch-1.0.0/configs/mc5.yaml +105 -0
- reflectorch-1.0.0/configs/mc50.yaml +105 -0
- reflectorch-1.0.0/configs/mc51.yaml +105 -0
- reflectorch-1.0.0/configs/mc52.yaml +105 -0
- reflectorch-1.0.0/configs/mc53.yaml +105 -0
- reflectorch-1.0.0/configs/mc54.yaml +105 -0
- reflectorch-1.0.0/configs/mc55.yaml +105 -0
- reflectorch-1.0.0/configs/mc56.yaml +105 -0
- reflectorch-1.0.0/configs/mc57.yaml +105 -0
- reflectorch-1.0.0/configs/mc58.yaml +105 -0
- reflectorch-1.0.0/configs/mc59.yaml +105 -0
- reflectorch-1.0.0/configs/mc6.yaml +105 -0
- reflectorch-1.0.0/configs/mc60.yaml +105 -0
- reflectorch-1.0.0/configs/mc61.yaml +105 -0
- reflectorch-1.0.0/configs/mc62.yaml +105 -0
- reflectorch-1.0.0/configs/mc63.yaml +105 -0
- reflectorch-1.0.0/configs/mc64.yaml +105 -0
- reflectorch-1.0.0/configs/mc65.yaml +105 -0
- reflectorch-1.0.0/configs/mc66.yaml +105 -0
- reflectorch-1.0.0/configs/mc67.yaml +105 -0
- reflectorch-1.0.0/configs/mc7.yaml +105 -0
- reflectorch-1.0.0/configs/mc8.yaml +105 -0
- reflectorch-1.0.0/configs/mc9.yaml +105 -0
- reflectorch-1.0.0/configs/multilayer_test_1.yaml +75 -0
- reflectorch-1.0.0/configs/multilayer_test_1_1.yaml +75 -0
- reflectorch-1.0.0/configs/multilayer_test_2.yaml +79 -0
- reflectorch-1.0.0/configs/multilayer_test_2_2.yaml +79 -0
- reflectorch-1.0.0/configs/multilayer_test_3.yaml +79 -0
- reflectorch-1.0.0/configs/time_val_exp_L2_q128-015_d500_r60_s25n_bs4_budist_noise-poisson02-sh03-sc002-qs1e3-qn1e3.yaml +130 -0
- reflectorch-1.0.0/configs/time_val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02_LONGER.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q128-015_d500_r60_s25n_bs4_budist_noise-poisson02-sh03-sc002-qs1e3-qn1e3.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q128_d300_r60_s25_bs4_budist_noise-poisson02-various-noises.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q128_d300_r60_s25_bs4_budist_noise-poisson02-various-noises2.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson01.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +131 -0
- reflectorch-1.0.0/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson03.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q64_d300_r60_s25_bs25_budist_noise-poisson03_scale002.yaml +127 -0
- reflectorch-1.0.0/configs/val_exp_L2_q64_d300_r60_s25_bs4_blogdist_noise-poisson04.yaml +130 -0
- reflectorch-1.0.0/configs/val_exp_L2_q64_d300_r60_s25_bs4_budist_noise-poisson04.yaml +130 -0
- reflectorch-1.0.0/configs/val_multilayer_V1.yaml +116 -0
- reflectorch-1.0.0/configs/val_multilayer_V2.yaml +118 -0
- reflectorch-1.0.0/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +159 -0
- reflectorch-1.0.0/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02_V2.yaml +160 -0
- reflectorch-1.0.0/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02_varyQ.yaml +160 -0
- reflectorch-1.0.0/configs/val_sim_FNO_L2_q64-512_015-05_d300_r60_s25_bs4_budist_noise-poisson02_varyall.yaml +160 -0
- reflectorch-1.0.0/configs/val_sim_FNO_L2_q64-512_015-05_d500_r60_s25n_bs4_budist_noise-poisson02_varyall_V2.yaml +160 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_br20_bs4_budist_noise-none.yaml +129 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs25_budist_noise-none.yaml +129 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_blogdist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-none.yaml +129 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02-hz512.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02-rb10.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-none.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-poisson02-TRY2.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L5_q1024_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L5_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02-Copy1.yaml +130 -0
- reflectorch-1.0.0/configs/val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02_LONGER.yaml +130 -0
- reflectorch-1.0.0/debug.py +6 -0
- reflectorch-1.0.0/docs/.buildinfo +4 -0
- reflectorch-1.0.0/docs/.nojekyll +0 -0
- reflectorch-1.0.0/docs/_images/099e7c02597f512ca4bf329e5e70eabf2526b801bc2e41a4b60faf1fd2a0d5b1.png +0 -0
- reflectorch-1.0.0/docs/_images/1ac30c6dc424753591b75155c55218b97af8a9d4f39ba1f550e3726b99a8c203.png +0 -0
- reflectorch-1.0.0/docs/_images/3032465085654ffdb6867123c628f2cf254e999fbed6a3e83f086fbefff32f60.png +0 -0
- reflectorch-1.0.0/docs/_images/462e9fd6dbc00234aca3b1cae4463c91412d09f837f308179bec64ac6c0e2131.png +0 -0
- reflectorch-1.0.0/docs/_images/4d27eb91adf7ec25746b09811fb942ba4f3cbf658a3863b2c2187d81b8cbcf01.png +0 -0
- reflectorch-1.0.0/docs/_images/51d11b6255a573c0f8781fe74c1711151fbc2bc20db8ad460609c5fd5fcba04f.png +0 -0
- reflectorch-1.0.0/docs/_images/570b83780084f56a287d652d7580aa1858691a18cbc5cab9ceb4a7444baa0090.png +0 -0
- reflectorch-1.0.0/docs/_images/5a15129c3f2683e9a278d594c69424c4a81058c3f8d86a555ff3efd8e2343a0b.png +0 -0
- reflectorch-1.0.0/docs/_images/69d7c263b51df1bddc93a007ae2fecfd0545cf92af67c8882a0df8552576fa66.png +0 -0
- reflectorch-1.0.0/docs/_images/96a843c24bb16816e4ec21c2b6b5c481326b522c884f1655ff3105627ceabe0d.png +0 -0
- reflectorch-1.0.0/docs/_images/97a75e185ec40a99a279ded3b8e62245aa03f9f8d10d001217300c9383d0d765.png +0 -0
- reflectorch-1.0.0/docs/_images/FigureReflectometryNetwork.png +0 -0
- reflectorch-1.0.0/docs/_images/FigureReflectometryNetwork1.png +0 -0
- reflectorch-1.0.0/docs/_images/a4da539228f5cd6bedde145b371d42caf707eac2a4a9b6574589593efd850d6b.png +0 -0
- reflectorch-1.0.0/docs/_images/a8216c88102285c58af52732aad1a43ad5d47aa8b2d194ec59cf6475ab1575b9.png +0 -0
- reflectorch-1.0.0/docs/_images/c6ab9d1f271ac67ea566420b728be4083f1687e08889123058c64db9c0e61210.png +0 -0
- reflectorch-1.0.0/docs/_images/d06c461edbc6816f6bfffbb91ede2b62e2e5bce5bd1b258a1f77c64beb4203be.png +0 -0
- reflectorch-1.0.0/docs/_images/d0c0eef87034c8193308e5448c4cc7ca570131a67e594a3341a87be7df0c92c8.png +0 -0
- reflectorch-1.0.0/docs/_images/df92d9cc76ed41a7fe7e0782cb88350e1f3561df2a8e3eefb21b9837ec23ac41.png +0 -0
- reflectorch-1.0.0/docs/_images/e3c28ca591b3b7551f82ca4aa1c2bbbd7f8001fb3383fa3e47139ac76903cc79.png +0 -0
- reflectorch-1.0.0/docs/_images/f804fe4cf583d38dfe1719a535dd91976693adb6889bccb26ba3ba0e0fb1e647.png +0 -0
- reflectorch-1.0.0/docs/_images/fig_reflectometry_embedding_networks.png +0 -0
- reflectorch-1.0.0/docs/_images/fig_reflectometry_embedding_networks1.png +0 -0
- reflectorch-1.0.0/docs/_images/jupyter_widget_reflectorch.png +0 -0
- reflectorch-1.0.0/docs/_images/sketch_multilayer_0.png +0 -0
- reflectorch-1.0.0/docs/_modules/index.html +405 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/dataset.html +579 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/likelihoods.html +472 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/noise.html +775 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/base.html +447 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/parametric_models.html +1156 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/parametric_subpriors.html +758 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/params.html +656 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/sampler_strategies.html +701 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/subprior_sampler.html +781 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/q_generator.html +630 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/reflectivity.html +433 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/scale_curves.html +516 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/smearing.html +444 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/utils.html +531 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/inference/inference_model.html +1120 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/attenuation.html +413 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/footprint.html +458 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/interpolation.html +393 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/preprocess.html +498 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/inference/torch_fitter.html +467 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/ml/basic_trainer.html +696 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/ml/callbacks.html +475 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/ml/dataloaders.html +404 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/ml/loggers.html +421 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/ml/schedulers.html +656 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/ml/trainers.html +515 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/models/encoders/conv_encoder.html +588 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/models/encoders/conv_fc_encoder.html +818 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/models/encoders/fno.html +504 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/models/networks/mlp_networks.html +642 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/runs/config.html +408 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/runs/utils.html +689 -0
- reflectorch-1.0.0/docs/_modules/reflectorch/utils.html +466 -0
- reflectorch-1.0.0/docs/_sources/advanced_functionality.ipynb +1402 -0
- reflectorch-1.0.0/docs/_sources/api.rst +76 -0
- reflectorch-1.0.0/docs/_sources/installation.ipynb +155 -0
- reflectorch-1.0.0/docs/_sources/intro.md +37 -0
- reflectorch-1.0.0/docs/_sources/training_reflectorch.ipynb +942 -0
- reflectorch-1.0.0/docs/_sources/using_reflectorch.ipynb +1135 -0
- reflectorch-1.0.0/docs/_sphinx_design_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css +1 -0
- reflectorch-1.0.0/docs/_sphinx_design_static/design-tabs.js +27 -0
- reflectorch-1.0.0/docs/_static/basic.css +925 -0
- reflectorch-1.0.0/docs/_static/check-solid.svg +4 -0
- reflectorch-1.0.0/docs/_static/clipboard.min.js +7 -0
- reflectorch-1.0.0/docs/_static/copy-button.svg +5 -0
- reflectorch-1.0.0/docs/_static/copybutton.css +94 -0
- reflectorch-1.0.0/docs/_static/copybutton.js +248 -0
- reflectorch-1.0.0/docs/_static/copybutton_funcs.js +73 -0
- reflectorch-1.0.0/docs/_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css +1 -0
- reflectorch-1.0.0/docs/_static/design-tabs.js +27 -0
- reflectorch-1.0.0/docs/_static/doctools.js +156 -0
- reflectorch-1.0.0/docs/_static/documentation_options.js +13 -0
- reflectorch-1.0.0/docs/_static/file.png +0 -0
- reflectorch-1.0.0/docs/_static/images/logo_binder.svg +19 -0
- reflectorch-1.0.0/docs/_static/images/logo_colab.png +0 -0
- reflectorch-1.0.0/docs/_static/images/logo_deepnote.svg +1 -0
- reflectorch-1.0.0/docs/_static/images/logo_jupyterhub.svg +1 -0
- reflectorch-1.0.0/docs/_static/language_data.js +199 -0
- reflectorch-1.0.0/docs/_static/locales/ar/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ar/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/bg/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/bg/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/bn/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/bn/LC_MESSAGES/booktheme.po +63 -0
- reflectorch-1.0.0/docs/_static/locales/ca/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ca/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/cs/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/cs/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/da/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/da/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/de/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/de/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/el/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/el/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/eo/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/eo/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/es/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/es/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/et/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/et/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/fi/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/fi/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/fr/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/fr/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/hr/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/hr/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/id/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/id/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/it/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/it/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/iw/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/iw/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ja/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ja/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ko/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ko/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/lt/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/lt/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/lv/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/lv/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ml/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ml/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/mr/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/mr/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/ms/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ms/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/nl/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/nl/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/no/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/no/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/pl/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/pl/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/pt/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/pt/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ro/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ro/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ru/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ru/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/sk/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/sk/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/sl/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/sl/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/sr/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/sr/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/sv/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/sv/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ta/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ta/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/te/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/te/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/tg/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/tg/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/th/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/th/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/tl/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/tl/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/tr/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/tr/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/uk/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/uk/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/ur/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/ur/LC_MESSAGES/booktheme.po +66 -0
- reflectorch-1.0.0/docs/_static/locales/vi/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/vi/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/zh_CN/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/zh_CN/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/locales/zh_TW/LC_MESSAGES/booktheme.mo +0 -0
- reflectorch-1.0.0/docs/_static/locales/zh_TW/LC_MESSAGES/booktheme.po +75 -0
- reflectorch-1.0.0/docs/_static/minus.png +0 -0
- reflectorch-1.0.0/docs/_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css +2342 -0
- reflectorch-1.0.0/docs/_static/play-solid.svg +1 -0
- reflectorch-1.0.0/docs/_static/plus.png +0 -0
- reflectorch-1.0.0/docs/_static/pygments.css +152 -0
- reflectorch-1.0.0/docs/_static/reflectorch_logo.png +0 -0
- reflectorch-1.0.0/docs/_static/sbt-webpack-macros.html +11 -0
- reflectorch-1.0.0/docs/_static/scripts/bootstrap.js +3 -0
- reflectorch-1.0.0/docs/_static/scripts/bootstrap.js.LICENSE.txt +5 -0
- reflectorch-1.0.0/docs/_static/scripts/bootstrap.js.map +1 -0
- reflectorch-1.0.0/docs/_static/scripts/pydata-sphinx-theme.js +2 -0
- reflectorch-1.0.0/docs/_static/scripts/pydata-sphinx-theme.js.map +1 -0
- reflectorch-1.0.0/docs/_static/scripts/sphinx-book-theme.js +2 -0
- reflectorch-1.0.0/docs/_static/scripts/sphinx-book-theme.js.map +1 -0
- reflectorch-1.0.0/docs/_static/searchtools.js +574 -0
- reflectorch-1.0.0/docs/_static/sphinx-thebe.css +129 -0
- reflectorch-1.0.0/docs/_static/sphinx-thebe.js +127 -0
- reflectorch-1.0.0/docs/_static/sphinx_highlight.js +154 -0
- reflectorch-1.0.0/docs/_static/styles/bootstrap.css +6 -0
- reflectorch-1.0.0/docs/_static/styles/bootstrap.css.map +1 -0
- reflectorch-1.0.0/docs/_static/styles/pydata-sphinx-theme.css +2 -0
- reflectorch-1.0.0/docs/_static/styles/pydata-sphinx-theme.css.map +1 -0
- reflectorch-1.0.0/docs/_static/styles/sphinx-book-theme.css +8 -0
- reflectorch-1.0.0/docs/_static/styles/theme.css +2 -0
- reflectorch-1.0.0/docs/_static/togglebutton.css +160 -0
- reflectorch-1.0.0/docs/_static/togglebutton.js +187 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/LICENSE.txt +165 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/css/all.min.css +5 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/js/all.min.js +2 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/js/all.min.js.LICENSE.txt +5 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.ttf +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2 +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.ttf +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2 +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.ttf +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.woff2 +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.ttf +0 -0
- reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.woff2 +0 -0
- reflectorch-1.0.0/docs/_static/webpack-macros.html +31 -0
- reflectorch-1.0.0/docs/advanced_functionality.html +1513 -0
- reflectorch-1.0.0/docs/api.html +2993 -0
- reflectorch-1.0.0/docs/genindex.html +905 -0
- reflectorch-1.0.0/docs/index.html +1 -0
- reflectorch-1.0.0/docs/installation.html +561 -0
- reflectorch-1.0.0/docs/intro.html +517 -0
- reflectorch-1.0.0/docs/objects.inv +0 -0
- reflectorch-1.0.0/docs/py-modindex.html +397 -0
- reflectorch-1.0.0/docs/reports/advanced_functionality.err.log +28 -0
- reflectorch-1.0.0/docs/reports/training_reflectorch.err.log +49 -0
- reflectorch-1.0.0/docs/reports/using_reflectorch.err.log +65 -0
- reflectorch-1.0.0/docs/search.html +391 -0
- reflectorch-1.0.0/docs/searchindex.js +1 -0
- reflectorch-1.0.0/docs/training_reflectorch.html +1109 -0
- reflectorch-1.0.0/docs/using_reflectorch.html +1171 -0
- reflectorch-1.0.0/documentation/FigureReflectometryNetwork.png +0 -0
- reflectorch-1.0.0/documentation/_config.yml +59 -0
- reflectorch-1.0.0/documentation/_toc.yml +13 -0
- reflectorch-1.0.0/documentation/advanced_functionality.ipynb +1402 -0
- reflectorch-1.0.0/documentation/api.rst +76 -0
- reflectorch-1.0.0/documentation/conf.py +35 -0
- reflectorch-1.0.0/documentation/fig_reflectometry_embedding_networks.png +0 -0
- reflectorch-1.0.0/documentation/installation.ipynb +155 -0
- reflectorch-1.0.0/documentation/intro.md +37 -0
- reflectorch-1.0.0/documentation/jupyter_widget_reflectorch.png +0 -0
- reflectorch-1.0.0/documentation/reflectorch_logo.png +0 -0
- reflectorch-1.0.0/documentation/requirements.txt +4 -0
- reflectorch-1.0.0/documentation/sketch_multilayer_0.png +0 -0
- reflectorch-1.0.0/documentation/training_reflectorch.ipynb +942 -0
- reflectorch-1.0.0/documentation/using_reflectorch.ipynb +1135 -0
- reflectorch-1.0.0/exp_data/33a.dat +1492 -0
- reflectorch-1.0.0/exp_data/DIP-nSi_34a.dat +593 -0
- reflectorch-1.0.0/exp_data/data_C60.pt +0 -0
- reflectorch-1.0.0/exp_data/data_PTCDI-C3.pt +0 -0
- reflectorch-1.0.0/paper/docker_build_command.txt +2 -0
- reflectorch-1.0.0/paper/paper.bib +109 -0
- reflectorch-1.0.0/paper/paper.md +114 -0
- reflectorch-1.0.0/pyproject.toml +57 -0
- reflectorch-1.0.0/reflectorch/__init__.py +23 -0
- reflectorch-1.0.0/reflectorch/data_generation/__init__.py +130 -0
- reflectorch-1.0.0/reflectorch/data_generation/dataset.py +196 -0
- reflectorch-1.0.0/reflectorch/data_generation/likelihoods.py +86 -0
- reflectorch-1.0.0/reflectorch/data_generation/noise.py +371 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/__init__.py +66 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/base.py +61 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/exp_subprior_sampler.py +304 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/independent_priors.py +201 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/multilayer_models.py +311 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/multilayer_structures.py +110 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/no_constraints.py +212 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/parametric_models.py +767 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/parametric_subpriors.py +354 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/params.py +258 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/sampler_strategies.py +306 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/scaler_mixin.py +65 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/subprior_sampler.py +377 -0
- reflectorch-1.0.0/reflectorch/data_generation/priors/utils.py +124 -0
- reflectorch-1.0.0/reflectorch/data_generation/process_data.py +47 -0
- reflectorch-1.0.0/reflectorch/data_generation/q_generator.py +232 -0
- reflectorch-1.0.0/reflectorch/data_generation/reflectivity/__init__.py +56 -0
- reflectorch-1.0.0/reflectorch/data_generation/reflectivity/abeles.py +81 -0
- reflectorch-1.0.0/reflectorch/data_generation/reflectivity/kinematical.py +58 -0
- reflectorch-1.0.0/reflectorch/data_generation/reflectivity/memory_eff.py +92 -0
- reflectorch-1.0.0/reflectorch/data_generation/reflectivity/numpy_implementations.py +120 -0
- reflectorch-1.0.0/reflectorch/data_generation/reflectivity/smearing.py +123 -0
- reflectorch-1.0.0/reflectorch/data_generation/scale_curves.py +118 -0
- reflectorch-1.0.0/reflectorch/data_generation/smearing.py +67 -0
- reflectorch-1.0.0/reflectorch/data_generation/utils.py +154 -0
- reflectorch-1.0.0/reflectorch/extensions/__init__.py +6 -0
- reflectorch-1.0.0/reflectorch/extensions/jupyter/__init__.py +12 -0
- reflectorch-1.0.0/reflectorch/extensions/jupyter/callbacks.py +40 -0
- reflectorch-1.0.0/reflectorch/extensions/matplotlib/__init__.py +11 -0
- reflectorch-1.0.0/reflectorch/extensions/matplotlib/losses.py +38 -0
- reflectorch-1.0.0/reflectorch/inference/__init__.py +22 -0
- reflectorch-1.0.0/reflectorch/inference/inference_model.py +734 -0
- reflectorch-1.0.0/reflectorch/inference/multilayer_fitter.py +171 -0
- reflectorch-1.0.0/reflectorch/inference/multilayer_inference_model.py +193 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/__init__.py +7 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/attenuation.py +36 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/cut_with_q_ratio.py +31 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/footprint.py +81 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/interpolation.py +16 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/normalize.py +21 -0
- reflectorch-1.0.0/reflectorch/inference/preprocess_exp/preprocess.py +121 -0
- reflectorch-1.0.0/reflectorch/inference/record_time.py +43 -0
- reflectorch-1.0.0/reflectorch/inference/sampler_solution.py +56 -0
- reflectorch-1.0.0/reflectorch/inference/scipy_fitter.py +171 -0
- reflectorch-1.0.0/reflectorch/inference/torch_fitter.py +87 -0
- reflectorch-1.0.0/reflectorch/ml/__init__.py +37 -0
- reflectorch-1.0.0/reflectorch/ml/basic_trainer.py +286 -0
- reflectorch-1.0.0/reflectorch/ml/callbacks.py +86 -0
- reflectorch-1.0.0/reflectorch/ml/dataloaders.py +27 -0
- reflectorch-1.0.0/reflectorch/ml/loggers.py +38 -0
- reflectorch-1.0.0/reflectorch/ml/schedulers.py +246 -0
- reflectorch-1.0.0/reflectorch/ml/trainers.py +126 -0
- reflectorch-1.0.0/reflectorch/ml/utils.py +9 -0
- reflectorch-1.0.0/reflectorch/models/__init__.py +22 -0
- reflectorch-1.0.0/reflectorch/models/activations.py +50 -0
- reflectorch-1.0.0/reflectorch/models/encoders/__init__.py +27 -0
- reflectorch-1.0.0/reflectorch/models/encoders/conv_encoder.py +211 -0
- reflectorch-1.0.0/reflectorch/models/encoders/conv_res_net.py +119 -0
- reflectorch-1.0.0/reflectorch/models/encoders/fno.py +127 -0
- reflectorch-1.0.0/reflectorch/models/encoders/transformers.py +56 -0
- reflectorch-1.0.0/reflectorch/models/networks/__init__.py +18 -0
- reflectorch-1.0.0/reflectorch/models/networks/mlp_networks.py +256 -0
- reflectorch-1.0.0/reflectorch/models/networks/residual_net.py +131 -0
- reflectorch-1.0.0/reflectorch/paths.py +33 -0
- reflectorch-1.0.0/reflectorch/runs/__init__.py +35 -0
- reflectorch-1.0.0/reflectorch/runs/config.py +31 -0
- reflectorch-1.0.0/reflectorch/runs/slurm_utils.py +99 -0
- reflectorch-1.0.0/reflectorch/runs/train.py +85 -0
- reflectorch-1.0.0/reflectorch/runs/utils.py +300 -0
- reflectorch-1.0.0/reflectorch/test_config.py +4 -0
- reflectorch-1.0.0/reflectorch/train.py +4 -0
- reflectorch-1.0.0/reflectorch/train_on_cluster.py +4 -0
- reflectorch-1.0.0/reflectorch/utils.py +74 -0
- reflectorch-1.0.0/reflectorch.egg-info/PKG-INFO +115 -0
- reflectorch-1.0.0/reflectorch.egg-info/SOURCES.txt +503 -0
- reflectorch-1.0.0/reflectorch.egg-info/dependency_links.txt +1 -0
- reflectorch-1.0.0/reflectorch.egg-info/requires.txt +22 -0
- reflectorch-1.0.0/reflectorch.egg-info/top_level.txt +1 -0
- reflectorch-1.0.0/setup.cfg +4 -0
- reflectorch-1.0.0/tests/__init__.py +0 -0
- reflectorch-1.0.0/tests/conftest.py +1 -0
- reflectorch-1.0.0/tests/data/demo_scan.csv +98 -0
- reflectorch-1.0.0/tests/data/test_preprocessed_curve_1.npz +0 -0
- reflectorch-1.0.0/tests/fixtures/__init__.py +15 -0
- reflectorch-1.0.0/tests/fixtures/data.py +45 -0
- reflectorch-1.0.0/tests/fixtures/models.py +15 -0
- reflectorch-1.0.0/tests/func/__init__.py +0 -0
- reflectorch-1.0.0/tests/func/test_model.py +18 -0
- reflectorch-1.0.0/tests/helpers/__init__.py +0 -0
- reflectorch-1.0.0/tests/helpers/generate_data.py +28 -0
- reflectorch-1.0.0/tests/unit/__init__.py +0 -0
- reflectorch-1.0.0/tests/unit/test_preprocessing.py +37 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
name: Build Run (${{ matrix.python-version }}, ${{ matrix.os }})
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
19
|
+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v3
|
|
23
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
24
|
+
uses: actions/setup-python@v4
|
|
25
|
+
with:
|
|
26
|
+
python-version: ${{ matrix.python-version }}
|
|
27
|
+
|
|
28
|
+
- name: Install package (with build and tests dependencies)
|
|
29
|
+
run: python -m pip install .[build,tests,docs]
|
|
30
|
+
|
|
31
|
+
- name: Run tests
|
|
32
|
+
run: pytest tests/ --cov=reflectorch --cov-report=xml
|
|
33
|
+
|
|
34
|
+
- name: Use Codecov to track coverage
|
|
35
|
+
uses: codecov/codecov-action@v2
|
|
36
|
+
with:
|
|
37
|
+
files: ./coverage.xml
|
|
38
|
+
|
|
39
|
+
- name: Build distribution
|
|
40
|
+
run: python -m build
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
*.so
|
|
7
|
+
*.sh
|
|
8
|
+
*.exe
|
|
9
|
+
#*.ipynb
|
|
10
|
+
|
|
11
|
+
*.pt
|
|
12
|
+
*.h5
|
|
13
|
+
|
|
14
|
+
# Distribution / packaging
|
|
15
|
+
.Python
|
|
16
|
+
venv
|
|
17
|
+
.venv
|
|
18
|
+
.vscode
|
|
19
|
+
.idea
|
|
20
|
+
env/
|
|
21
|
+
build/
|
|
22
|
+
develop-eggs/
|
|
23
|
+
dist/
|
|
24
|
+
downloads/
|
|
25
|
+
eggs/
|
|
26
|
+
.eggs/
|
|
27
|
+
lib/
|
|
28
|
+
lib64/
|
|
29
|
+
parts/
|
|
30
|
+
sdist/
|
|
31
|
+
var/
|
|
32
|
+
*.egg-info/
|
|
33
|
+
.installed.cfg
|
|
34
|
+
*.egg
|
|
35
|
+
|
|
36
|
+
#Documentation
|
|
37
|
+
documentation/_build/*
|
|
38
|
+
|
|
39
|
+
# Don't ignore .pt files in the exp_data directory
|
|
40
|
+
!exp_data/*.pt
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Contributor Code of Conduct
|
|
2
|
+
|
|
3
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include:
|
|
4
|
+
|
|
5
|
+
* Using welcoming and inclusive language
|
|
6
|
+
* Being respectful of differing viewpoints and experiences
|
|
7
|
+
* Gracefully accepting constructive criticism
|
|
8
|
+
* Focusing on what is best for the community
|
|
9
|
+
* Showing empathy towards other community members
|
|
10
|
+
|
|
11
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
12
|
+
version 1.4, available at [http://contributor-covenant.org/version/1/4]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
FROM nvidia/cuda:11.5.2-runtime-ubuntu20.04
|
|
2
|
+
|
|
3
|
+
WORKDIR /app
|
|
4
|
+
COPY . /app
|
|
5
|
+
|
|
6
|
+
RUN apt-get update && \
|
|
7
|
+
pip3 install --upgrade pip && \
|
|
8
|
+
pip3 install --no-cache-dir -e '.[tests,docs,build]' && \
|
|
9
|
+
pip3 install --no-cache-dir jupyter
|
|
10
|
+
|
|
11
|
+
EXPOSE 8888
|
|
12
|
+
|
|
13
|
+
CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root"]
|