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.

Files changed (505) hide show
  1. reflectorch-1.0.0/.dockerignore +3 -0
  2. reflectorch-1.0.0/.github/workflows/ci.yml +40 -0
  3. reflectorch-1.0.0/.gitignore +40 -0
  4. reflectorch-1.0.0/CODE_OF_CONDUCT.md +12 -0
  5. reflectorch-1.0.0/Dockerfile +13 -0
  6. reflectorch-1.0.0/LICENSE.txt +621 -0
  7. reflectorch-1.0.0/MANIFEST.in +4 -0
  8. reflectorch-1.0.0/PKG-INFO +115 -0
  9. reflectorch-1.0.0/README.md +75 -0
  10. reflectorch-1.0.0/configs/c1.yaml +103 -0
  11. reflectorch-1.0.0/configs/c1_trained.yaml +98 -0
  12. reflectorch-1.0.0/configs/c_L10_d100_s150_r30_ws5_q03_nq256.yaml +94 -0
  13. reflectorch-1.0.0/configs/c_L3_d200_s150_r60_ws5_q03_nq128.yaml +91 -0
  14. reflectorch-1.0.0/configs/c_L5_d200_s150_r60_ws5_q03_nq256.yaml +94 -0
  15. reflectorch-1.0.0/configs/c_absorption.yaml +104 -0
  16. reflectorch-1.0.0/configs/c_absorption_L2_d500_s150_is30_r60_ws5_q03_nq256.yaml +98 -0
  17. reflectorch-1.0.0/configs/c_absorption_L5_d200_s150_is30_r60_ws5_q03_nq256.yaml +98 -0
  18. reflectorch-1.0.0/configs/c_ae.yaml +96 -0
  19. reflectorch-1.0.0/configs/c_fno.yaml +97 -0
  20. reflectorch-1.0.0/configs/c_model_with_shifts.yaml +107 -0
  21. reflectorch-1.0.0/configs/c_repeating_multilayer.yaml +126 -0
  22. reflectorch-1.0.0/configs/c_repeating_multilayer_trained1.yaml +120 -0
  23. reflectorch-1.0.0/configs/l2q109_exp_1.yaml +86 -0
  24. reflectorch-1.0.0/configs/l2q256_absorption_1.yaml +87 -0
  25. reflectorch-1.0.0/configs/l2q256_exp_2.yaml +77 -0
  26. reflectorch-1.0.0/configs/l2q256_exp_3.yaml +85 -0
  27. reflectorch-1.0.0/configs/l2q256_exp_3_02.yaml +78 -0
  28. reflectorch-1.0.0/configs/l2q256_exp_4.yaml +77 -0
  29. reflectorch-1.0.0/configs/l2q256_exp_5.yaml +77 -0
  30. reflectorch-1.0.0/configs/l2q256_exp_sm_2.yaml +76 -0
  31. reflectorch-1.0.0/configs/l2q256_new_1.yaml +78 -0
  32. reflectorch-1.0.0/configs/l2q64_new_sub_1.yaml +77 -0
  33. reflectorch-1.0.0/configs/l5q256_new_sub_1.yaml +95 -0
  34. reflectorch-1.0.0/configs/mc-o1.yaml +102 -0
  35. reflectorch-1.0.0/configs/mc-o10.yaml +102 -0
  36. reflectorch-1.0.0/configs/mc-o11.yaml +102 -0
  37. reflectorch-1.0.0/configs/mc-o12.yaml +102 -0
  38. reflectorch-1.0.0/configs/mc-o13.yaml +102 -0
  39. reflectorch-1.0.0/configs/mc-o14.yaml +102 -0
  40. reflectorch-1.0.0/configs/mc-o15.yaml +102 -0
  41. reflectorch-1.0.0/configs/mc-o16.yaml +102 -0
  42. reflectorch-1.0.0/configs/mc-o2.yaml +102 -0
  43. reflectorch-1.0.0/configs/mc-o3.yaml +102 -0
  44. reflectorch-1.0.0/configs/mc-o4.yaml +102 -0
  45. reflectorch-1.0.0/configs/mc-o5.yaml +102 -0
  46. reflectorch-1.0.0/configs/mc-o7.yaml +102 -0
  47. reflectorch-1.0.0/configs/mc-o8.yaml +102 -0
  48. reflectorch-1.0.0/configs/mc-o9.yaml +102 -0
  49. reflectorch-1.0.0/configs/mc1.yaml +105 -0
  50. reflectorch-1.0.0/configs/mc10.yaml +105 -0
  51. reflectorch-1.0.0/configs/mc11.yaml +105 -0
  52. reflectorch-1.0.0/configs/mc12.yaml +105 -0
  53. reflectorch-1.0.0/configs/mc13.yaml +105 -0
  54. reflectorch-1.0.0/configs/mc14.yaml +105 -0
  55. reflectorch-1.0.0/configs/mc15.yaml +105 -0
  56. reflectorch-1.0.0/configs/mc16.yaml +105 -0
  57. reflectorch-1.0.0/configs/mc17.yaml +105 -0
  58. reflectorch-1.0.0/configs/mc18.yaml +105 -0
  59. reflectorch-1.0.0/configs/mc19.yaml +105 -0
  60. reflectorch-1.0.0/configs/mc2.yaml +105 -0
  61. reflectorch-1.0.0/configs/mc20.yaml +105 -0
  62. reflectorch-1.0.0/configs/mc21.yaml +105 -0
  63. reflectorch-1.0.0/configs/mc22.yaml +105 -0
  64. reflectorch-1.0.0/configs/mc23.yaml +105 -0
  65. reflectorch-1.0.0/configs/mc24.yaml +105 -0
  66. reflectorch-1.0.0/configs/mc25.yaml +105 -0
  67. reflectorch-1.0.0/configs/mc26.yaml +105 -0
  68. reflectorch-1.0.0/configs/mc27.yaml +105 -0
  69. reflectorch-1.0.0/configs/mc28.yaml +105 -0
  70. reflectorch-1.0.0/configs/mc29.yaml +105 -0
  71. reflectorch-1.0.0/configs/mc3.yaml +105 -0
  72. reflectorch-1.0.0/configs/mc30.yaml +105 -0
  73. reflectorch-1.0.0/configs/mc31.yaml +105 -0
  74. reflectorch-1.0.0/configs/mc32.yaml +105 -0
  75. reflectorch-1.0.0/configs/mc33.yaml +105 -0
  76. reflectorch-1.0.0/configs/mc34.yaml +105 -0
  77. reflectorch-1.0.0/configs/mc35.yaml +105 -0
  78. reflectorch-1.0.0/configs/mc36.yaml +105 -0
  79. reflectorch-1.0.0/configs/mc37.yaml +105 -0
  80. reflectorch-1.0.0/configs/mc38.yaml +105 -0
  81. reflectorch-1.0.0/configs/mc39.yaml +105 -0
  82. reflectorch-1.0.0/configs/mc4.yaml +105 -0
  83. reflectorch-1.0.0/configs/mc40.yaml +105 -0
  84. reflectorch-1.0.0/configs/mc41.yaml +105 -0
  85. reflectorch-1.0.0/configs/mc42.yaml +105 -0
  86. reflectorch-1.0.0/configs/mc43.yaml +105 -0
  87. reflectorch-1.0.0/configs/mc44.yaml +105 -0
  88. reflectorch-1.0.0/configs/mc45.yaml +105 -0
  89. reflectorch-1.0.0/configs/mc46.yaml +105 -0
  90. reflectorch-1.0.0/configs/mc47.yaml +105 -0
  91. reflectorch-1.0.0/configs/mc48.yaml +105 -0
  92. reflectorch-1.0.0/configs/mc49.yaml +105 -0
  93. reflectorch-1.0.0/configs/mc5.yaml +105 -0
  94. reflectorch-1.0.0/configs/mc50.yaml +105 -0
  95. reflectorch-1.0.0/configs/mc51.yaml +105 -0
  96. reflectorch-1.0.0/configs/mc52.yaml +105 -0
  97. reflectorch-1.0.0/configs/mc53.yaml +105 -0
  98. reflectorch-1.0.0/configs/mc54.yaml +105 -0
  99. reflectorch-1.0.0/configs/mc55.yaml +105 -0
  100. reflectorch-1.0.0/configs/mc56.yaml +105 -0
  101. reflectorch-1.0.0/configs/mc57.yaml +105 -0
  102. reflectorch-1.0.0/configs/mc58.yaml +105 -0
  103. reflectorch-1.0.0/configs/mc59.yaml +105 -0
  104. reflectorch-1.0.0/configs/mc6.yaml +105 -0
  105. reflectorch-1.0.0/configs/mc60.yaml +105 -0
  106. reflectorch-1.0.0/configs/mc61.yaml +105 -0
  107. reflectorch-1.0.0/configs/mc62.yaml +105 -0
  108. reflectorch-1.0.0/configs/mc63.yaml +105 -0
  109. reflectorch-1.0.0/configs/mc64.yaml +105 -0
  110. reflectorch-1.0.0/configs/mc65.yaml +105 -0
  111. reflectorch-1.0.0/configs/mc66.yaml +105 -0
  112. reflectorch-1.0.0/configs/mc67.yaml +105 -0
  113. reflectorch-1.0.0/configs/mc7.yaml +105 -0
  114. reflectorch-1.0.0/configs/mc8.yaml +105 -0
  115. reflectorch-1.0.0/configs/mc9.yaml +105 -0
  116. reflectorch-1.0.0/configs/multilayer_test_1.yaml +75 -0
  117. reflectorch-1.0.0/configs/multilayer_test_1_1.yaml +75 -0
  118. reflectorch-1.0.0/configs/multilayer_test_2.yaml +79 -0
  119. reflectorch-1.0.0/configs/multilayer_test_2_2.yaml +79 -0
  120. reflectorch-1.0.0/configs/multilayer_test_3.yaml +79 -0
  121. 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
  122. reflectorch-1.0.0/configs/time_val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02_LONGER.yaml +130 -0
  123. reflectorch-1.0.0/configs/val_exp_L2_q128-015_d500_r60_s25n_bs4_budist_noise-poisson02-sh03-sc002-qs1e3-qn1e3.yaml +130 -0
  124. reflectorch-1.0.0/configs/val_exp_L2_q128_d300_r60_s25_bs4_budist_noise-poisson02-various-noises.yaml +130 -0
  125. reflectorch-1.0.0/configs/val_exp_L2_q128_d300_r60_s25_bs4_budist_noise-poisson02-various-noises2.yaml +130 -0
  126. reflectorch-1.0.0/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson01.yaml +130 -0
  127. reflectorch-1.0.0/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +131 -0
  128. reflectorch-1.0.0/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson03.yaml +130 -0
  129. reflectorch-1.0.0/configs/val_exp_L2_q64_d300_r60_s25_bs25_budist_noise-poisson03_scale002.yaml +127 -0
  130. reflectorch-1.0.0/configs/val_exp_L2_q64_d300_r60_s25_bs4_blogdist_noise-poisson04.yaml +130 -0
  131. reflectorch-1.0.0/configs/val_exp_L2_q64_d300_r60_s25_bs4_budist_noise-poisson04.yaml +130 -0
  132. reflectorch-1.0.0/configs/val_multilayer_V1.yaml +116 -0
  133. reflectorch-1.0.0/configs/val_multilayer_V2.yaml +118 -0
  134. reflectorch-1.0.0/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +159 -0
  135. reflectorch-1.0.0/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02_V2.yaml +160 -0
  136. reflectorch-1.0.0/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02_varyQ.yaml +160 -0
  137. reflectorch-1.0.0/configs/val_sim_FNO_L2_q64-512_015-05_d300_r60_s25_bs4_budist_noise-poisson02_varyall.yaml +160 -0
  138. 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
  139. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_br20_bs4_budist_noise-none.yaml +129 -0
  140. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs25_budist_noise-none.yaml +129 -0
  141. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -0
  142. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_blogdist_noise-poisson02.yaml +130 -0
  143. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-none.yaml +129 -0
  144. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02-hz512.yaml +130 -0
  145. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02-rb10.yaml +130 -0
  146. reflectorch-1.0.0/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -0
  147. reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -0
  148. reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-none.yaml +130 -0
  149. reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-poisson02-TRY2.yaml +130 -0
  150. reflectorch-1.0.0/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -0
  151. reflectorch-1.0.0/configs/val_sim_L5_q1024_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -0
  152. reflectorch-1.0.0/configs/val_sim_L5_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -0
  153. reflectorch-1.0.0/configs/val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02-Copy1.yaml +130 -0
  154. reflectorch-1.0.0/configs/val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02_LONGER.yaml +130 -0
  155. reflectorch-1.0.0/debug.py +6 -0
  156. reflectorch-1.0.0/docs/.buildinfo +4 -0
  157. reflectorch-1.0.0/docs/.nojekyll +0 -0
  158. reflectorch-1.0.0/docs/_images/099e7c02597f512ca4bf329e5e70eabf2526b801bc2e41a4b60faf1fd2a0d5b1.png +0 -0
  159. reflectorch-1.0.0/docs/_images/1ac30c6dc424753591b75155c55218b97af8a9d4f39ba1f550e3726b99a8c203.png +0 -0
  160. reflectorch-1.0.0/docs/_images/3032465085654ffdb6867123c628f2cf254e999fbed6a3e83f086fbefff32f60.png +0 -0
  161. reflectorch-1.0.0/docs/_images/462e9fd6dbc00234aca3b1cae4463c91412d09f837f308179bec64ac6c0e2131.png +0 -0
  162. reflectorch-1.0.0/docs/_images/4d27eb91adf7ec25746b09811fb942ba4f3cbf658a3863b2c2187d81b8cbcf01.png +0 -0
  163. reflectorch-1.0.0/docs/_images/51d11b6255a573c0f8781fe74c1711151fbc2bc20db8ad460609c5fd5fcba04f.png +0 -0
  164. reflectorch-1.0.0/docs/_images/570b83780084f56a287d652d7580aa1858691a18cbc5cab9ceb4a7444baa0090.png +0 -0
  165. reflectorch-1.0.0/docs/_images/5a15129c3f2683e9a278d594c69424c4a81058c3f8d86a555ff3efd8e2343a0b.png +0 -0
  166. reflectorch-1.0.0/docs/_images/69d7c263b51df1bddc93a007ae2fecfd0545cf92af67c8882a0df8552576fa66.png +0 -0
  167. reflectorch-1.0.0/docs/_images/96a843c24bb16816e4ec21c2b6b5c481326b522c884f1655ff3105627ceabe0d.png +0 -0
  168. reflectorch-1.0.0/docs/_images/97a75e185ec40a99a279ded3b8e62245aa03f9f8d10d001217300c9383d0d765.png +0 -0
  169. reflectorch-1.0.0/docs/_images/FigureReflectometryNetwork.png +0 -0
  170. reflectorch-1.0.0/docs/_images/FigureReflectometryNetwork1.png +0 -0
  171. reflectorch-1.0.0/docs/_images/a4da539228f5cd6bedde145b371d42caf707eac2a4a9b6574589593efd850d6b.png +0 -0
  172. reflectorch-1.0.0/docs/_images/a8216c88102285c58af52732aad1a43ad5d47aa8b2d194ec59cf6475ab1575b9.png +0 -0
  173. reflectorch-1.0.0/docs/_images/c6ab9d1f271ac67ea566420b728be4083f1687e08889123058c64db9c0e61210.png +0 -0
  174. reflectorch-1.0.0/docs/_images/d06c461edbc6816f6bfffbb91ede2b62e2e5bce5bd1b258a1f77c64beb4203be.png +0 -0
  175. reflectorch-1.0.0/docs/_images/d0c0eef87034c8193308e5448c4cc7ca570131a67e594a3341a87be7df0c92c8.png +0 -0
  176. reflectorch-1.0.0/docs/_images/df92d9cc76ed41a7fe7e0782cb88350e1f3561df2a8e3eefb21b9837ec23ac41.png +0 -0
  177. reflectorch-1.0.0/docs/_images/e3c28ca591b3b7551f82ca4aa1c2bbbd7f8001fb3383fa3e47139ac76903cc79.png +0 -0
  178. reflectorch-1.0.0/docs/_images/f804fe4cf583d38dfe1719a535dd91976693adb6889bccb26ba3ba0e0fb1e647.png +0 -0
  179. reflectorch-1.0.0/docs/_images/fig_reflectometry_embedding_networks.png +0 -0
  180. reflectorch-1.0.0/docs/_images/fig_reflectometry_embedding_networks1.png +0 -0
  181. reflectorch-1.0.0/docs/_images/jupyter_widget_reflectorch.png +0 -0
  182. reflectorch-1.0.0/docs/_images/sketch_multilayer_0.png +0 -0
  183. reflectorch-1.0.0/docs/_modules/index.html +405 -0
  184. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/dataset.html +579 -0
  185. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/likelihoods.html +472 -0
  186. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/noise.html +775 -0
  187. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/base.html +447 -0
  188. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/parametric_models.html +1156 -0
  189. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/parametric_subpriors.html +758 -0
  190. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/params.html +656 -0
  191. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/sampler_strategies.html +701 -0
  192. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/priors/subprior_sampler.html +781 -0
  193. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/q_generator.html +630 -0
  194. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/reflectivity.html +433 -0
  195. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/scale_curves.html +516 -0
  196. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/smearing.html +444 -0
  197. reflectorch-1.0.0/docs/_modules/reflectorch/data_generation/utils.html +531 -0
  198. reflectorch-1.0.0/docs/_modules/reflectorch/inference/inference_model.html +1120 -0
  199. reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/attenuation.html +413 -0
  200. reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/footprint.html +458 -0
  201. reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/interpolation.html +393 -0
  202. reflectorch-1.0.0/docs/_modules/reflectorch/inference/preprocess_exp/preprocess.html +498 -0
  203. reflectorch-1.0.0/docs/_modules/reflectorch/inference/torch_fitter.html +467 -0
  204. reflectorch-1.0.0/docs/_modules/reflectorch/ml/basic_trainer.html +696 -0
  205. reflectorch-1.0.0/docs/_modules/reflectorch/ml/callbacks.html +475 -0
  206. reflectorch-1.0.0/docs/_modules/reflectorch/ml/dataloaders.html +404 -0
  207. reflectorch-1.0.0/docs/_modules/reflectorch/ml/loggers.html +421 -0
  208. reflectorch-1.0.0/docs/_modules/reflectorch/ml/schedulers.html +656 -0
  209. reflectorch-1.0.0/docs/_modules/reflectorch/ml/trainers.html +515 -0
  210. reflectorch-1.0.0/docs/_modules/reflectorch/models/encoders/conv_encoder.html +588 -0
  211. reflectorch-1.0.0/docs/_modules/reflectorch/models/encoders/conv_fc_encoder.html +818 -0
  212. reflectorch-1.0.0/docs/_modules/reflectorch/models/encoders/fno.html +504 -0
  213. reflectorch-1.0.0/docs/_modules/reflectorch/models/networks/mlp_networks.html +642 -0
  214. reflectorch-1.0.0/docs/_modules/reflectorch/runs/config.html +408 -0
  215. reflectorch-1.0.0/docs/_modules/reflectorch/runs/utils.html +689 -0
  216. reflectorch-1.0.0/docs/_modules/reflectorch/utils.html +466 -0
  217. reflectorch-1.0.0/docs/_sources/advanced_functionality.ipynb +1402 -0
  218. reflectorch-1.0.0/docs/_sources/api.rst +76 -0
  219. reflectorch-1.0.0/docs/_sources/installation.ipynb +155 -0
  220. reflectorch-1.0.0/docs/_sources/intro.md +37 -0
  221. reflectorch-1.0.0/docs/_sources/training_reflectorch.ipynb +942 -0
  222. reflectorch-1.0.0/docs/_sources/using_reflectorch.ipynb +1135 -0
  223. reflectorch-1.0.0/docs/_sphinx_design_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css +1 -0
  224. reflectorch-1.0.0/docs/_sphinx_design_static/design-tabs.js +27 -0
  225. reflectorch-1.0.0/docs/_static/basic.css +925 -0
  226. reflectorch-1.0.0/docs/_static/check-solid.svg +4 -0
  227. reflectorch-1.0.0/docs/_static/clipboard.min.js +7 -0
  228. reflectorch-1.0.0/docs/_static/copy-button.svg +5 -0
  229. reflectorch-1.0.0/docs/_static/copybutton.css +94 -0
  230. reflectorch-1.0.0/docs/_static/copybutton.js +248 -0
  231. reflectorch-1.0.0/docs/_static/copybutton_funcs.js +73 -0
  232. reflectorch-1.0.0/docs/_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css +1 -0
  233. reflectorch-1.0.0/docs/_static/design-tabs.js +27 -0
  234. reflectorch-1.0.0/docs/_static/doctools.js +156 -0
  235. reflectorch-1.0.0/docs/_static/documentation_options.js +13 -0
  236. reflectorch-1.0.0/docs/_static/file.png +0 -0
  237. reflectorch-1.0.0/docs/_static/images/logo_binder.svg +19 -0
  238. reflectorch-1.0.0/docs/_static/images/logo_colab.png +0 -0
  239. reflectorch-1.0.0/docs/_static/images/logo_deepnote.svg +1 -0
  240. reflectorch-1.0.0/docs/_static/images/logo_jupyterhub.svg +1 -0
  241. reflectorch-1.0.0/docs/_static/language_data.js +199 -0
  242. reflectorch-1.0.0/docs/_static/locales/ar/LC_MESSAGES/booktheme.mo +0 -0
  243. reflectorch-1.0.0/docs/_static/locales/ar/LC_MESSAGES/booktheme.po +75 -0
  244. reflectorch-1.0.0/docs/_static/locales/bg/LC_MESSAGES/booktheme.mo +0 -0
  245. reflectorch-1.0.0/docs/_static/locales/bg/LC_MESSAGES/booktheme.po +75 -0
  246. reflectorch-1.0.0/docs/_static/locales/bn/LC_MESSAGES/booktheme.mo +0 -0
  247. reflectorch-1.0.0/docs/_static/locales/bn/LC_MESSAGES/booktheme.po +63 -0
  248. reflectorch-1.0.0/docs/_static/locales/ca/LC_MESSAGES/booktheme.mo +0 -0
  249. reflectorch-1.0.0/docs/_static/locales/ca/LC_MESSAGES/booktheme.po +66 -0
  250. reflectorch-1.0.0/docs/_static/locales/cs/LC_MESSAGES/booktheme.mo +0 -0
  251. reflectorch-1.0.0/docs/_static/locales/cs/LC_MESSAGES/booktheme.po +75 -0
  252. reflectorch-1.0.0/docs/_static/locales/da/LC_MESSAGES/booktheme.mo +0 -0
  253. reflectorch-1.0.0/docs/_static/locales/da/LC_MESSAGES/booktheme.po +75 -0
  254. reflectorch-1.0.0/docs/_static/locales/de/LC_MESSAGES/booktheme.mo +0 -0
  255. reflectorch-1.0.0/docs/_static/locales/de/LC_MESSAGES/booktheme.po +75 -0
  256. reflectorch-1.0.0/docs/_static/locales/el/LC_MESSAGES/booktheme.mo +0 -0
  257. reflectorch-1.0.0/docs/_static/locales/el/LC_MESSAGES/booktheme.po +75 -0
  258. reflectorch-1.0.0/docs/_static/locales/eo/LC_MESSAGES/booktheme.mo +0 -0
  259. reflectorch-1.0.0/docs/_static/locales/eo/LC_MESSAGES/booktheme.po +75 -0
  260. reflectorch-1.0.0/docs/_static/locales/es/LC_MESSAGES/booktheme.mo +0 -0
  261. reflectorch-1.0.0/docs/_static/locales/es/LC_MESSAGES/booktheme.po +75 -0
  262. reflectorch-1.0.0/docs/_static/locales/et/LC_MESSAGES/booktheme.mo +0 -0
  263. reflectorch-1.0.0/docs/_static/locales/et/LC_MESSAGES/booktheme.po +75 -0
  264. reflectorch-1.0.0/docs/_static/locales/fi/LC_MESSAGES/booktheme.mo +0 -0
  265. reflectorch-1.0.0/docs/_static/locales/fi/LC_MESSAGES/booktheme.po +75 -0
  266. reflectorch-1.0.0/docs/_static/locales/fr/LC_MESSAGES/booktheme.mo +0 -0
  267. reflectorch-1.0.0/docs/_static/locales/fr/LC_MESSAGES/booktheme.po +75 -0
  268. reflectorch-1.0.0/docs/_static/locales/hr/LC_MESSAGES/booktheme.mo +0 -0
  269. reflectorch-1.0.0/docs/_static/locales/hr/LC_MESSAGES/booktheme.po +75 -0
  270. reflectorch-1.0.0/docs/_static/locales/id/LC_MESSAGES/booktheme.mo +0 -0
  271. reflectorch-1.0.0/docs/_static/locales/id/LC_MESSAGES/booktheme.po +75 -0
  272. reflectorch-1.0.0/docs/_static/locales/it/LC_MESSAGES/booktheme.mo +0 -0
  273. reflectorch-1.0.0/docs/_static/locales/it/LC_MESSAGES/booktheme.po +75 -0
  274. reflectorch-1.0.0/docs/_static/locales/iw/LC_MESSAGES/booktheme.mo +0 -0
  275. reflectorch-1.0.0/docs/_static/locales/iw/LC_MESSAGES/booktheme.po +75 -0
  276. reflectorch-1.0.0/docs/_static/locales/ja/LC_MESSAGES/booktheme.mo +0 -0
  277. reflectorch-1.0.0/docs/_static/locales/ja/LC_MESSAGES/booktheme.po +75 -0
  278. reflectorch-1.0.0/docs/_static/locales/ko/LC_MESSAGES/booktheme.mo +0 -0
  279. reflectorch-1.0.0/docs/_static/locales/ko/LC_MESSAGES/booktheme.po +75 -0
  280. reflectorch-1.0.0/docs/_static/locales/lt/LC_MESSAGES/booktheme.mo +0 -0
  281. reflectorch-1.0.0/docs/_static/locales/lt/LC_MESSAGES/booktheme.po +75 -0
  282. reflectorch-1.0.0/docs/_static/locales/lv/LC_MESSAGES/booktheme.mo +0 -0
  283. reflectorch-1.0.0/docs/_static/locales/lv/LC_MESSAGES/booktheme.po +75 -0
  284. reflectorch-1.0.0/docs/_static/locales/ml/LC_MESSAGES/booktheme.mo +0 -0
  285. reflectorch-1.0.0/docs/_static/locales/ml/LC_MESSAGES/booktheme.po +66 -0
  286. reflectorch-1.0.0/docs/_static/locales/mr/LC_MESSAGES/booktheme.mo +0 -0
  287. reflectorch-1.0.0/docs/_static/locales/mr/LC_MESSAGES/booktheme.po +66 -0
  288. reflectorch-1.0.0/docs/_static/locales/ms/LC_MESSAGES/booktheme.mo +0 -0
  289. reflectorch-1.0.0/docs/_static/locales/ms/LC_MESSAGES/booktheme.po +66 -0
  290. reflectorch-1.0.0/docs/_static/locales/nl/LC_MESSAGES/booktheme.mo +0 -0
  291. reflectorch-1.0.0/docs/_static/locales/nl/LC_MESSAGES/booktheme.po +75 -0
  292. reflectorch-1.0.0/docs/_static/locales/no/LC_MESSAGES/booktheme.mo +0 -0
  293. reflectorch-1.0.0/docs/_static/locales/no/LC_MESSAGES/booktheme.po +75 -0
  294. reflectorch-1.0.0/docs/_static/locales/pl/LC_MESSAGES/booktheme.mo +0 -0
  295. reflectorch-1.0.0/docs/_static/locales/pl/LC_MESSAGES/booktheme.po +75 -0
  296. reflectorch-1.0.0/docs/_static/locales/pt/LC_MESSAGES/booktheme.mo +0 -0
  297. reflectorch-1.0.0/docs/_static/locales/pt/LC_MESSAGES/booktheme.po +75 -0
  298. reflectorch-1.0.0/docs/_static/locales/ro/LC_MESSAGES/booktheme.mo +0 -0
  299. reflectorch-1.0.0/docs/_static/locales/ro/LC_MESSAGES/booktheme.po +75 -0
  300. reflectorch-1.0.0/docs/_static/locales/ru/LC_MESSAGES/booktheme.mo +0 -0
  301. reflectorch-1.0.0/docs/_static/locales/ru/LC_MESSAGES/booktheme.po +75 -0
  302. reflectorch-1.0.0/docs/_static/locales/sk/LC_MESSAGES/booktheme.mo +0 -0
  303. reflectorch-1.0.0/docs/_static/locales/sk/LC_MESSAGES/booktheme.po +75 -0
  304. reflectorch-1.0.0/docs/_static/locales/sl/LC_MESSAGES/booktheme.mo +0 -0
  305. reflectorch-1.0.0/docs/_static/locales/sl/LC_MESSAGES/booktheme.po +75 -0
  306. reflectorch-1.0.0/docs/_static/locales/sr/LC_MESSAGES/booktheme.mo +0 -0
  307. reflectorch-1.0.0/docs/_static/locales/sr/LC_MESSAGES/booktheme.po +75 -0
  308. reflectorch-1.0.0/docs/_static/locales/sv/LC_MESSAGES/booktheme.mo +0 -0
  309. reflectorch-1.0.0/docs/_static/locales/sv/LC_MESSAGES/booktheme.po +75 -0
  310. reflectorch-1.0.0/docs/_static/locales/ta/LC_MESSAGES/booktheme.mo +0 -0
  311. reflectorch-1.0.0/docs/_static/locales/ta/LC_MESSAGES/booktheme.po +66 -0
  312. reflectorch-1.0.0/docs/_static/locales/te/LC_MESSAGES/booktheme.mo +0 -0
  313. reflectorch-1.0.0/docs/_static/locales/te/LC_MESSAGES/booktheme.po +66 -0
  314. reflectorch-1.0.0/docs/_static/locales/tg/LC_MESSAGES/booktheme.mo +0 -0
  315. reflectorch-1.0.0/docs/_static/locales/tg/LC_MESSAGES/booktheme.po +75 -0
  316. reflectorch-1.0.0/docs/_static/locales/th/LC_MESSAGES/booktheme.mo +0 -0
  317. reflectorch-1.0.0/docs/_static/locales/th/LC_MESSAGES/booktheme.po +75 -0
  318. reflectorch-1.0.0/docs/_static/locales/tl/LC_MESSAGES/booktheme.mo +0 -0
  319. reflectorch-1.0.0/docs/_static/locales/tl/LC_MESSAGES/booktheme.po +66 -0
  320. reflectorch-1.0.0/docs/_static/locales/tr/LC_MESSAGES/booktheme.mo +0 -0
  321. reflectorch-1.0.0/docs/_static/locales/tr/LC_MESSAGES/booktheme.po +75 -0
  322. reflectorch-1.0.0/docs/_static/locales/uk/LC_MESSAGES/booktheme.mo +0 -0
  323. reflectorch-1.0.0/docs/_static/locales/uk/LC_MESSAGES/booktheme.po +75 -0
  324. reflectorch-1.0.0/docs/_static/locales/ur/LC_MESSAGES/booktheme.mo +0 -0
  325. reflectorch-1.0.0/docs/_static/locales/ur/LC_MESSAGES/booktheme.po +66 -0
  326. reflectorch-1.0.0/docs/_static/locales/vi/LC_MESSAGES/booktheme.mo +0 -0
  327. reflectorch-1.0.0/docs/_static/locales/vi/LC_MESSAGES/booktheme.po +75 -0
  328. reflectorch-1.0.0/docs/_static/locales/zh_CN/LC_MESSAGES/booktheme.mo +0 -0
  329. reflectorch-1.0.0/docs/_static/locales/zh_CN/LC_MESSAGES/booktheme.po +75 -0
  330. reflectorch-1.0.0/docs/_static/locales/zh_TW/LC_MESSAGES/booktheme.mo +0 -0
  331. reflectorch-1.0.0/docs/_static/locales/zh_TW/LC_MESSAGES/booktheme.po +75 -0
  332. reflectorch-1.0.0/docs/_static/minus.png +0 -0
  333. reflectorch-1.0.0/docs/_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css +2342 -0
  334. reflectorch-1.0.0/docs/_static/play-solid.svg +1 -0
  335. reflectorch-1.0.0/docs/_static/plus.png +0 -0
  336. reflectorch-1.0.0/docs/_static/pygments.css +152 -0
  337. reflectorch-1.0.0/docs/_static/reflectorch_logo.png +0 -0
  338. reflectorch-1.0.0/docs/_static/sbt-webpack-macros.html +11 -0
  339. reflectorch-1.0.0/docs/_static/scripts/bootstrap.js +3 -0
  340. reflectorch-1.0.0/docs/_static/scripts/bootstrap.js.LICENSE.txt +5 -0
  341. reflectorch-1.0.0/docs/_static/scripts/bootstrap.js.map +1 -0
  342. reflectorch-1.0.0/docs/_static/scripts/pydata-sphinx-theme.js +2 -0
  343. reflectorch-1.0.0/docs/_static/scripts/pydata-sphinx-theme.js.map +1 -0
  344. reflectorch-1.0.0/docs/_static/scripts/sphinx-book-theme.js +2 -0
  345. reflectorch-1.0.0/docs/_static/scripts/sphinx-book-theme.js.map +1 -0
  346. reflectorch-1.0.0/docs/_static/searchtools.js +574 -0
  347. reflectorch-1.0.0/docs/_static/sphinx-thebe.css +129 -0
  348. reflectorch-1.0.0/docs/_static/sphinx-thebe.js +127 -0
  349. reflectorch-1.0.0/docs/_static/sphinx_highlight.js +154 -0
  350. reflectorch-1.0.0/docs/_static/styles/bootstrap.css +6 -0
  351. reflectorch-1.0.0/docs/_static/styles/bootstrap.css.map +1 -0
  352. reflectorch-1.0.0/docs/_static/styles/pydata-sphinx-theme.css +2 -0
  353. reflectorch-1.0.0/docs/_static/styles/pydata-sphinx-theme.css.map +1 -0
  354. reflectorch-1.0.0/docs/_static/styles/sphinx-book-theme.css +8 -0
  355. reflectorch-1.0.0/docs/_static/styles/theme.css +2 -0
  356. reflectorch-1.0.0/docs/_static/togglebutton.css +160 -0
  357. reflectorch-1.0.0/docs/_static/togglebutton.js +187 -0
  358. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/LICENSE.txt +165 -0
  359. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/css/all.min.css +5 -0
  360. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/js/all.min.js +2 -0
  361. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/js/all.min.js.LICENSE.txt +5 -0
  362. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.ttf +0 -0
  363. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2 +0 -0
  364. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.ttf +0 -0
  365. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2 +0 -0
  366. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.ttf +0 -0
  367. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.woff2 +0 -0
  368. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.ttf +0 -0
  369. reflectorch-1.0.0/docs/_static/vendor/fontawesome/6.5.1/webfonts/fa-v4compatibility.woff2 +0 -0
  370. reflectorch-1.0.0/docs/_static/webpack-macros.html +31 -0
  371. reflectorch-1.0.0/docs/advanced_functionality.html +1513 -0
  372. reflectorch-1.0.0/docs/api.html +2993 -0
  373. reflectorch-1.0.0/docs/genindex.html +905 -0
  374. reflectorch-1.0.0/docs/index.html +1 -0
  375. reflectorch-1.0.0/docs/installation.html +561 -0
  376. reflectorch-1.0.0/docs/intro.html +517 -0
  377. reflectorch-1.0.0/docs/objects.inv +0 -0
  378. reflectorch-1.0.0/docs/py-modindex.html +397 -0
  379. reflectorch-1.0.0/docs/reports/advanced_functionality.err.log +28 -0
  380. reflectorch-1.0.0/docs/reports/training_reflectorch.err.log +49 -0
  381. reflectorch-1.0.0/docs/reports/using_reflectorch.err.log +65 -0
  382. reflectorch-1.0.0/docs/search.html +391 -0
  383. reflectorch-1.0.0/docs/searchindex.js +1 -0
  384. reflectorch-1.0.0/docs/training_reflectorch.html +1109 -0
  385. reflectorch-1.0.0/docs/using_reflectorch.html +1171 -0
  386. reflectorch-1.0.0/documentation/FigureReflectometryNetwork.png +0 -0
  387. reflectorch-1.0.0/documentation/_config.yml +59 -0
  388. reflectorch-1.0.0/documentation/_toc.yml +13 -0
  389. reflectorch-1.0.0/documentation/advanced_functionality.ipynb +1402 -0
  390. reflectorch-1.0.0/documentation/api.rst +76 -0
  391. reflectorch-1.0.0/documentation/conf.py +35 -0
  392. reflectorch-1.0.0/documentation/fig_reflectometry_embedding_networks.png +0 -0
  393. reflectorch-1.0.0/documentation/installation.ipynb +155 -0
  394. reflectorch-1.0.0/documentation/intro.md +37 -0
  395. reflectorch-1.0.0/documentation/jupyter_widget_reflectorch.png +0 -0
  396. reflectorch-1.0.0/documentation/reflectorch_logo.png +0 -0
  397. reflectorch-1.0.0/documentation/requirements.txt +4 -0
  398. reflectorch-1.0.0/documentation/sketch_multilayer_0.png +0 -0
  399. reflectorch-1.0.0/documentation/training_reflectorch.ipynb +942 -0
  400. reflectorch-1.0.0/documentation/using_reflectorch.ipynb +1135 -0
  401. reflectorch-1.0.0/exp_data/33a.dat +1492 -0
  402. reflectorch-1.0.0/exp_data/DIP-nSi_34a.dat +593 -0
  403. reflectorch-1.0.0/exp_data/data_C60.pt +0 -0
  404. reflectorch-1.0.0/exp_data/data_PTCDI-C3.pt +0 -0
  405. reflectorch-1.0.0/paper/docker_build_command.txt +2 -0
  406. reflectorch-1.0.0/paper/paper.bib +109 -0
  407. reflectorch-1.0.0/paper/paper.md +114 -0
  408. reflectorch-1.0.0/pyproject.toml +57 -0
  409. reflectorch-1.0.0/reflectorch/__init__.py +23 -0
  410. reflectorch-1.0.0/reflectorch/data_generation/__init__.py +130 -0
  411. reflectorch-1.0.0/reflectorch/data_generation/dataset.py +196 -0
  412. reflectorch-1.0.0/reflectorch/data_generation/likelihoods.py +86 -0
  413. reflectorch-1.0.0/reflectorch/data_generation/noise.py +371 -0
  414. reflectorch-1.0.0/reflectorch/data_generation/priors/__init__.py +66 -0
  415. reflectorch-1.0.0/reflectorch/data_generation/priors/base.py +61 -0
  416. reflectorch-1.0.0/reflectorch/data_generation/priors/exp_subprior_sampler.py +304 -0
  417. reflectorch-1.0.0/reflectorch/data_generation/priors/independent_priors.py +201 -0
  418. reflectorch-1.0.0/reflectorch/data_generation/priors/multilayer_models.py +311 -0
  419. reflectorch-1.0.0/reflectorch/data_generation/priors/multilayer_structures.py +110 -0
  420. reflectorch-1.0.0/reflectorch/data_generation/priors/no_constraints.py +212 -0
  421. reflectorch-1.0.0/reflectorch/data_generation/priors/parametric_models.py +767 -0
  422. reflectorch-1.0.0/reflectorch/data_generation/priors/parametric_subpriors.py +354 -0
  423. reflectorch-1.0.0/reflectorch/data_generation/priors/params.py +258 -0
  424. reflectorch-1.0.0/reflectorch/data_generation/priors/sampler_strategies.py +306 -0
  425. reflectorch-1.0.0/reflectorch/data_generation/priors/scaler_mixin.py +65 -0
  426. reflectorch-1.0.0/reflectorch/data_generation/priors/subprior_sampler.py +377 -0
  427. reflectorch-1.0.0/reflectorch/data_generation/priors/utils.py +124 -0
  428. reflectorch-1.0.0/reflectorch/data_generation/process_data.py +47 -0
  429. reflectorch-1.0.0/reflectorch/data_generation/q_generator.py +232 -0
  430. reflectorch-1.0.0/reflectorch/data_generation/reflectivity/__init__.py +56 -0
  431. reflectorch-1.0.0/reflectorch/data_generation/reflectivity/abeles.py +81 -0
  432. reflectorch-1.0.0/reflectorch/data_generation/reflectivity/kinematical.py +58 -0
  433. reflectorch-1.0.0/reflectorch/data_generation/reflectivity/memory_eff.py +92 -0
  434. reflectorch-1.0.0/reflectorch/data_generation/reflectivity/numpy_implementations.py +120 -0
  435. reflectorch-1.0.0/reflectorch/data_generation/reflectivity/smearing.py +123 -0
  436. reflectorch-1.0.0/reflectorch/data_generation/scale_curves.py +118 -0
  437. reflectorch-1.0.0/reflectorch/data_generation/smearing.py +67 -0
  438. reflectorch-1.0.0/reflectorch/data_generation/utils.py +154 -0
  439. reflectorch-1.0.0/reflectorch/extensions/__init__.py +6 -0
  440. reflectorch-1.0.0/reflectorch/extensions/jupyter/__init__.py +12 -0
  441. reflectorch-1.0.0/reflectorch/extensions/jupyter/callbacks.py +40 -0
  442. reflectorch-1.0.0/reflectorch/extensions/matplotlib/__init__.py +11 -0
  443. reflectorch-1.0.0/reflectorch/extensions/matplotlib/losses.py +38 -0
  444. reflectorch-1.0.0/reflectorch/inference/__init__.py +22 -0
  445. reflectorch-1.0.0/reflectorch/inference/inference_model.py +734 -0
  446. reflectorch-1.0.0/reflectorch/inference/multilayer_fitter.py +171 -0
  447. reflectorch-1.0.0/reflectorch/inference/multilayer_inference_model.py +193 -0
  448. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/__init__.py +7 -0
  449. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/attenuation.py +36 -0
  450. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/cut_with_q_ratio.py +31 -0
  451. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/footprint.py +81 -0
  452. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/interpolation.py +16 -0
  453. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/normalize.py +21 -0
  454. reflectorch-1.0.0/reflectorch/inference/preprocess_exp/preprocess.py +121 -0
  455. reflectorch-1.0.0/reflectorch/inference/record_time.py +43 -0
  456. reflectorch-1.0.0/reflectorch/inference/sampler_solution.py +56 -0
  457. reflectorch-1.0.0/reflectorch/inference/scipy_fitter.py +171 -0
  458. reflectorch-1.0.0/reflectorch/inference/torch_fitter.py +87 -0
  459. reflectorch-1.0.0/reflectorch/ml/__init__.py +37 -0
  460. reflectorch-1.0.0/reflectorch/ml/basic_trainer.py +286 -0
  461. reflectorch-1.0.0/reflectorch/ml/callbacks.py +86 -0
  462. reflectorch-1.0.0/reflectorch/ml/dataloaders.py +27 -0
  463. reflectorch-1.0.0/reflectorch/ml/loggers.py +38 -0
  464. reflectorch-1.0.0/reflectorch/ml/schedulers.py +246 -0
  465. reflectorch-1.0.0/reflectorch/ml/trainers.py +126 -0
  466. reflectorch-1.0.0/reflectorch/ml/utils.py +9 -0
  467. reflectorch-1.0.0/reflectorch/models/__init__.py +22 -0
  468. reflectorch-1.0.0/reflectorch/models/activations.py +50 -0
  469. reflectorch-1.0.0/reflectorch/models/encoders/__init__.py +27 -0
  470. reflectorch-1.0.0/reflectorch/models/encoders/conv_encoder.py +211 -0
  471. reflectorch-1.0.0/reflectorch/models/encoders/conv_res_net.py +119 -0
  472. reflectorch-1.0.0/reflectorch/models/encoders/fno.py +127 -0
  473. reflectorch-1.0.0/reflectorch/models/encoders/transformers.py +56 -0
  474. reflectorch-1.0.0/reflectorch/models/networks/__init__.py +18 -0
  475. reflectorch-1.0.0/reflectorch/models/networks/mlp_networks.py +256 -0
  476. reflectorch-1.0.0/reflectorch/models/networks/residual_net.py +131 -0
  477. reflectorch-1.0.0/reflectorch/paths.py +33 -0
  478. reflectorch-1.0.0/reflectorch/runs/__init__.py +35 -0
  479. reflectorch-1.0.0/reflectorch/runs/config.py +31 -0
  480. reflectorch-1.0.0/reflectorch/runs/slurm_utils.py +99 -0
  481. reflectorch-1.0.0/reflectorch/runs/train.py +85 -0
  482. reflectorch-1.0.0/reflectorch/runs/utils.py +300 -0
  483. reflectorch-1.0.0/reflectorch/test_config.py +4 -0
  484. reflectorch-1.0.0/reflectorch/train.py +4 -0
  485. reflectorch-1.0.0/reflectorch/train_on_cluster.py +4 -0
  486. reflectorch-1.0.0/reflectorch/utils.py +74 -0
  487. reflectorch-1.0.0/reflectorch.egg-info/PKG-INFO +115 -0
  488. reflectorch-1.0.0/reflectorch.egg-info/SOURCES.txt +503 -0
  489. reflectorch-1.0.0/reflectorch.egg-info/dependency_links.txt +1 -0
  490. reflectorch-1.0.0/reflectorch.egg-info/requires.txt +22 -0
  491. reflectorch-1.0.0/reflectorch.egg-info/top_level.txt +1 -0
  492. reflectorch-1.0.0/setup.cfg +4 -0
  493. reflectorch-1.0.0/tests/__init__.py +0 -0
  494. reflectorch-1.0.0/tests/conftest.py +1 -0
  495. reflectorch-1.0.0/tests/data/demo_scan.csv +98 -0
  496. reflectorch-1.0.0/tests/data/test_preprocessed_curve_1.npz +0 -0
  497. reflectorch-1.0.0/tests/fixtures/__init__.py +15 -0
  498. reflectorch-1.0.0/tests/fixtures/data.py +45 -0
  499. reflectorch-1.0.0/tests/fixtures/models.py +15 -0
  500. reflectorch-1.0.0/tests/func/__init__.py +0 -0
  501. reflectorch-1.0.0/tests/func/test_model.py +18 -0
  502. reflectorch-1.0.0/tests/helpers/__init__.py +0 -0
  503. reflectorch-1.0.0/tests/helpers/generate_data.py +28 -0
  504. reflectorch-1.0.0/tests/unit/__init__.py +0 -0
  505. reflectorch-1.0.0/tests/unit/test_preprocessing.py +37 -0
@@ -0,0 +1,3 @@
1
+ saved_models/
2
+ saved_losses/
3
+ triton_models/
@@ -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"]