reflectorch 1.4.0__tar.gz → 1.5.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.4.0 → reflectorch-1.5.0}/.dockerignore +2 -2
- {reflectorch-1.4.0 → reflectorch-1.5.0}/.github/workflows/ci.yml +39 -39
- {reflectorch-1.4.0 → reflectorch-1.5.0}/.github/workflows/draft-pdf.yml +23 -23
- reflectorch-1.5.0/.github/workflows/publish.yml +42 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/.gitignore +45 -43
- {reflectorch-1.4.0 → reflectorch-1.5.0}/CODE_OF_CONDUCT.md +11 -11
- {reflectorch-1.4.0 → reflectorch-1.5.0}/CONTRIBUTING.md +27 -27
- {reflectorch-1.4.0 → reflectorch-1.5.0}/Dockerfile +12 -12
- {reflectorch-1.4.0 → reflectorch-1.5.0}/LICENSE.txt +20 -20
- {reflectorch-1.4.0 → reflectorch-1.5.0}/MANIFEST.in +14 -14
- {reflectorch-1.4.0 → reflectorch-1.5.0}/PKG-INFO +129 -126
- {reflectorch-1.4.0 → reflectorch-1.5.0}/README.md +84 -84
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/a_base_point_neutron_conv_standard.yaml +128 -128
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/a_base_point_xray_conv_absorption.yaml +116 -116
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/a_base_point_xray_conv_standard.yaml +118 -118
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L1_InputDq.yaml +117 -117
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L1_InputQDq.yaml +119 -119
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L1_comp.yaml +105 -105
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L2_InputDq.yaml +117 -117
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L2_InputQDq.yaml +119 -119
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L2_comp.yaml +105 -105
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L3_InputDq.yaml +117 -117
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L3_InputQDq.yaml +119 -119
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L3_comp.yaml +105 -105
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L4_comp.yaml +105 -105
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_neutron_conv_standard_L5_comp.yaml +105 -105
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/b_mc_point_xray_conv_standard_L2_InputQ.yaml +109 -109
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c1.yaml +102 -102
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c1_trained.yaml +97 -97
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_L10_d100_s150_r30_ws5_q03_nq256.yaml +93 -93
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_L3_d200_s150_r60_ws5_q03_nq128.yaml +90 -90
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_L5_d200_s150_r60_ws5_q03_nq256.yaml +93 -93
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_absorption.yaml +103 -103
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_absorption_L2_d500_s150_is30_r60_ws5_q03_nq256.yaml +97 -97
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_absorption_L5_d200_s150_is30_r60_ws5_q03_nq256.yaml +97 -97
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_ae.yaml +95 -95
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_fno.yaml +96 -96
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_model_with_shifts.yaml +106 -106
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_repeating_multilayer.yaml +125 -125
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/c_repeating_multilayer_trained1.yaml +119 -119
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/e_mc_point_neutron_conv_standard_L1_InputQDq_n128_size1024.yaml +118 -118
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/e_mc_point_neutron_conv_standard_L1_InputQDq_n256_size1024.yaml +118 -118
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q109_exp_1.yaml +86 -86
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_absorption_1.yaml +87 -87
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_exp_2.yaml +77 -77
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_exp_3.yaml +85 -85
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_exp_3_02.yaml +78 -78
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_exp_4.yaml +77 -77
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_exp_5.yaml +77 -77
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_exp_sm_2.yaml +76 -76
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q256_new_1.yaml +78 -78
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l2q64_new_sub_1.yaml +77 -77
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/l5q256_new_sub_1.yaml +95 -95
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o1.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o10.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o11.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o12.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o13.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o14.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o15.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o16.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o2.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o3.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o4.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o5.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o7.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o8.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc-o9.yaml +101 -101
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc1.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc10.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc11.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc12.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc13.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc14.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc15.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc16.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc17.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc18.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc19.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc2.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc20.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc21.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc22.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc23.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc24.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc25.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc26.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc27.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc28.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc29.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc3.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc30.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc31.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc32.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc33.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc34.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc35.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc36.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc37.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc38.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc39.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc4.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc40.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc41.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc42.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc43.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc44.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc45.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc46.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc47.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc48.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc49.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc5.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc50.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc51.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc52.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc53.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc54.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc55.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc56.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc57.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc58.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc59.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc6.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc60.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc61.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc62.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc63.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc64.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc65.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc66.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc67.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc7.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc8.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/mc9.yaml +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/multilayer_test_1.yaml +75 -75
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/multilayer_test_1_1.yaml +75 -75
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/multilayer_test_2.yaml +79 -79
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/multilayer_test_2_2.yaml +79 -79
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/multilayer_test_3.yaml +79 -79
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/time_val_exp_L2_q128-015_d500_r60_s25n_bs4_budist_noise-poisson02-sh03-sc002-qs1e3-qn1e3.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/time_val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02_LONGER.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q128-015_d500_r60_s25n_bs4_budist_noise-poisson02-sh03-sc002-qs1e3-qn1e3.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q128_d300_r60_s25_bs4_budist_noise-poisson02-various-noises.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q128_d300_r60_s25_bs4_budist_noise-poisson02-various-noises2.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson01.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +131 -131
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q256_d300_r60_s25_bs4_budist_noise-poisson03.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q64_d300_r60_s25_bs25_budist_noise-poisson03_scale002.yaml +127 -127
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q64_d300_r60_s25_bs4_blogdist_noise-poisson04.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_exp_L2_q64_d300_r60_s25_bs4_budist_noise-poisson04.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_multilayer_V1.yaml +116 -116
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_multilayer_V2.yaml +118 -118
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +159 -159
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02_V2.yaml +160 -160
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_FNO_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02_varyQ.yaml +160 -160
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_FNO_L2_q64-512_015-05_d300_r60_s25_bs4_budist_noise-poisson02_varyall.yaml +160 -160
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_FNO_L2_q64-512_015-05_d500_r60_s25n_bs4_budist_noise-poisson02_varyall_V2.yaml +160 -160
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_br20_bs4_budist_noise-none.yaml +129 -129
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs25_budist_noise-none.yaml +129 -129
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs4_blogdist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-none.yaml +129 -129
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02-hz512.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02-rb10.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L2_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L3_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-none.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-poisson02-TRY2.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L3_q256_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L5_q1024_d300_r60_s25_bs4_budist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L5_q256_d300_r60_s25_bs25_budist_noise-poisson02.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02-Copy1.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/configs/val_sim_L5_q256_d300_r60_s25_bs4_budist_noise-poisson02_LONGER.yaml +130 -130
- {reflectorch-1.4.0 → reflectorch-1.5.0}/debug.py +5 -5
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/33a.dat +1492 -1492
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/D17_SiO.dat +2168 -2168
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/DIP-nSi_34a.dat +593 -593
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/Ni500.dat +174 -174
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/Ni_on_glass.dat +757 -757
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/ORSO_example.ort +437 -437
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/data_C60.txt +92 -92
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/data_PTCDI-C3.txt +142 -142
- {reflectorch-1.4.0 → reflectorch-1.5.0}/pyproject.toml +60 -58
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/__init__.py +17 -17
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/__init__.py +128 -128
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/dataset.py +210 -210
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/likelihoods.py +80 -80
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/noise.py +470 -470
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/__init__.py +60 -60
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/base.py +55 -55
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/exp_subprior_sampler.py +298 -298
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/independent_priors.py +195 -195
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/multilayer_models.py +311 -311
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/multilayer_structures.py +104 -104
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/no_constraints.py +206 -206
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/parametric_models.py +841 -841
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/parametric_subpriors.py +369 -369
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/params.py +252 -252
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/sampler_strategies.py +369 -369
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/scaler_mixin.py +65 -65
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/subprior_sampler.py +371 -371
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/priors/utils.py +118 -118
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/process_data.py +41 -41
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/q_generator.py +280 -280
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/__init__.py +102 -102
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/abeles.py +97 -97
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/kinematical.py +70 -70
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/memory_eff.py +105 -105
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/numpy_implementations.py +120 -120
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/smearing.py +138 -138
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/reflectivity/smearing_pointwise.py +109 -109
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/scale_curves.py +112 -112
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/smearing.py +98 -98
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/data_generation/utils.py +223 -223
- reflectorch-1.5.0/reflectorch/extensions/jupyter/__init__.py +11 -0
- reflectorch-1.5.0/reflectorch/extensions/jupyter/api.py +85 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/extensions/jupyter/callbacks.py +34 -34
- reflectorch-1.5.0/reflectorch/extensions/jupyter/components.py +758 -0
- reflectorch-1.5.0/reflectorch/extensions/jupyter/custom_select.py +268 -0
- reflectorch-1.5.0/reflectorch/extensions/jupyter/log_widget.py +241 -0
- reflectorch-1.5.0/reflectorch/extensions/jupyter/model_selection.py +495 -0
- reflectorch-1.5.0/reflectorch/extensions/jupyter/plotly_plot_manager.py +329 -0
- reflectorch-1.5.0/reflectorch/extensions/jupyter/widget.py +625 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/extensions/matplotlib/__init__.py +5 -5
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/extensions/matplotlib/losses.py +32 -32
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/extensions/refnx/refnx_conversion.py +76 -76
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/__init__.py +28 -24
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/inference_model.py +847 -1374
- reflectorch-1.5.0/reflectorch/inference/input_interface.py +239 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/loading_data.py +36 -36
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/multilayer_fitter.py +171 -171
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/multilayer_inference_model.py +193 -193
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/plotting.py +523 -516
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/__init__.py +6 -6
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/attenuation.py +36 -36
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/cut_with_q_ratio.py +31 -31
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/footprint.py +81 -81
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/interpolation.py +19 -19
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/normalize.py +21 -21
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/preprocess_exp/preprocess.py +121 -121
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/query_matcher.py +81 -81
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/record_time.py +43 -43
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/sampler_solution.py +56 -56
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/scipy_fitter.py +272 -262
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/inference/torch_fitter.py +87 -87
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/__init__.py +32 -32
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/basic_trainer.py +292 -292
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/callbacks.py +80 -80
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/dataloaders.py +26 -26
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/loggers.py +55 -55
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/schedulers.py +355 -355
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/trainers.py +200 -200
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/ml/utils.py +2 -2
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/__init__.py +15 -15
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/activations.py +50 -50
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/encoders/__init__.py +19 -19
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/encoders/conv_encoder.py +218 -218
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/encoders/conv_res_net.py +115 -115
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/encoders/fno.py +133 -133
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/encoders/integral_kernel_embedding.py +389 -389
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/networks/__init__.py +14 -14
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/networks/mlp_networks.py +434 -434
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/models/networks/residual_net.py +156 -156
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/paths.py +29 -27
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/runs/__init__.py +31 -31
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/runs/config.py +25 -25
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/runs/slurm_utils.py +93 -93
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/runs/train.py +78 -78
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/runs/utils.py +404 -404
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/test_config.py +4 -4
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/train.py +4 -4
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/train_on_cluster.py +4 -4
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/utils.py +97 -97
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch.egg-info/PKG-INFO +129 -126
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch.egg-info/SOURCES.txt +9 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch.egg-info/requires.txt +2 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/setup.cfg +4 -4
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/conftest.py +1 -1
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/data/demo_scan.csv +97 -97
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/fixtures/__init__.py +7 -7
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/fixtures/data.py +26 -26
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_dataloader.py +68 -68
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_embedding_networks.py +45 -45
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_mlp.py +34 -34
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_preprocessing.py +37 -37
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_prior_sampler.py +62 -62
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_q_generator.py +24 -24
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/test_reflectivity.py +122 -122
- reflectorch-1.4.0/reflectorch/extensions/jupyter/__init__.py +0 -6
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/data_C60.pt +0 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/exp_data/data_PTCDI-C3.pt +0 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch/extensions/__init__.py +0 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch.egg-info/dependency_links.txt +0 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/reflectorch.egg-info/top_level.txt +0 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/__init__.py +0 -0
- {reflectorch-1.4.0 → reflectorch-1.5.0}/tests/unit/__init__.py +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
saved_models/
|
|
2
|
-
saved_losses/
|
|
1
|
+
saved_models/
|
|
2
|
+
saved_losses/
|
|
3
3
|
triton_models/
|
|
@@ -1,40 +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
|
|
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
40
|
run: python -m build
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
name: Draft PDF
|
|
2
|
-
on: [push]
|
|
3
|
-
|
|
4
|
-
jobs:
|
|
5
|
-
paper:
|
|
6
|
-
runs-on: ubuntu-latest
|
|
7
|
-
name: Paper Draft
|
|
8
|
-
steps:
|
|
9
|
-
- name: Checkout
|
|
10
|
-
uses: actions/checkout@v4
|
|
11
|
-
- name: Build draft PDF
|
|
12
|
-
uses: openjournals/openjournals-draft-action@master
|
|
13
|
-
with:
|
|
14
|
-
journal: joss
|
|
15
|
-
# This should be the path to the paper within your repo.
|
|
16
|
-
paper-path: paper/paper.md
|
|
17
|
-
- name: Upload
|
|
18
|
-
uses: actions/upload-artifact@v4
|
|
19
|
-
with:
|
|
20
|
-
name: paper
|
|
21
|
-
# This is the output path where Pandoc will write the compiled
|
|
22
|
-
# PDF. Note, this should be the same directory as the input
|
|
23
|
-
# paper.md
|
|
1
|
+
name: Draft PDF
|
|
2
|
+
on: [push]
|
|
3
|
+
|
|
4
|
+
jobs:
|
|
5
|
+
paper:
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
name: Paper Draft
|
|
8
|
+
steps:
|
|
9
|
+
- name: Checkout
|
|
10
|
+
uses: actions/checkout@v4
|
|
11
|
+
- name: Build draft PDF
|
|
12
|
+
uses: openjournals/openjournals-draft-action@master
|
|
13
|
+
with:
|
|
14
|
+
journal: joss
|
|
15
|
+
# This should be the path to the paper within your repo.
|
|
16
|
+
paper-path: paper/paper.md
|
|
17
|
+
- name: Upload
|
|
18
|
+
uses: actions/upload-artifact@v4
|
|
19
|
+
with:
|
|
20
|
+
name: paper
|
|
21
|
+
# This is the output path where Pandoc will write the compiled
|
|
22
|
+
# PDF. Note, this should be the same directory as the input
|
|
23
|
+
# paper.md
|
|
24
24
|
path: paper/paper.pdf
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Publish to PyPI (Trusted Publishing)
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*" # run when you push a tag like v1.2.3
|
|
7
|
+
workflow_dispatch: # allow manual runs (from the actions tab)
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build-dist:
|
|
11
|
+
name: Build sdist + wheel
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: "3.12"
|
|
18
|
+
- run: python -m pip install --upgrade pip build
|
|
19
|
+
- run: python -m build
|
|
20
|
+
- uses: actions/upload-artifact@v4
|
|
21
|
+
with:
|
|
22
|
+
name: dist
|
|
23
|
+
path: dist/
|
|
24
|
+
|
|
25
|
+
pypi-publish:
|
|
26
|
+
name: Upload release to PyPI
|
|
27
|
+
needs: build-dist
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
environment:
|
|
30
|
+
name: pypi
|
|
31
|
+
permissions:
|
|
32
|
+
id-token: write
|
|
33
|
+
contents: read
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/download-artifact@v4
|
|
36
|
+
with:
|
|
37
|
+
name: dist
|
|
38
|
+
path: dist/
|
|
39
|
+
- name: Publish package distributions to PyPI
|
|
40
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
41
|
+
with:
|
|
42
|
+
packages-dir: dist/
|
|
@@ -1,44 +1,46 @@
|
|
|
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
|
-
|
|
12
|
-
*.
|
|
13
|
-
*.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.
|
|
20
|
-
.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
*.so
|
|
7
|
+
*.sh
|
|
8
|
+
*.exe
|
|
9
|
+
#*.ipynb
|
|
10
|
+
.ipynb_checkpoints/
|
|
11
|
+
|
|
12
|
+
*.pt
|
|
13
|
+
*.h5
|
|
14
|
+
*.safetensors
|
|
15
|
+
|
|
16
|
+
# Distribution / packaging
|
|
17
|
+
.Python
|
|
18
|
+
venv
|
|
19
|
+
.venv
|
|
20
|
+
.vscode
|
|
21
|
+
.idea
|
|
22
|
+
env/
|
|
23
|
+
build/
|
|
24
|
+
develop-eggs/
|
|
25
|
+
dist/
|
|
26
|
+
downloads/
|
|
27
|
+
eggs/
|
|
28
|
+
.eggs/
|
|
29
|
+
lib/
|
|
30
|
+
lib64/
|
|
31
|
+
parts/
|
|
32
|
+
sdist/
|
|
33
|
+
var/
|
|
34
|
+
*.egg-info/
|
|
35
|
+
.installed.cfg
|
|
36
|
+
*.egg
|
|
37
|
+
figures/
|
|
38
|
+
|
|
39
|
+
#Documentation
|
|
40
|
+
documentation/_build/*
|
|
41
|
+
|
|
42
|
+
# Don't ignore .pt files in the exp_data directory
|
|
43
|
+
!exp_data/*.pt
|
|
44
|
+
|
|
45
|
+
#Other
|
|
44
46
|
tensorboard_runs
|
|
@@ -1,12 +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],
|
|
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
12
|
version 1.4, available at [http://contributor-covenant.org/version/1/4]
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
# Contributing to Reflectorch
|
|
2
|
-
|
|
3
|
-
## 1. Reporting Issues
|
|
4
|
-
|
|
5
|
-
If you encounter bugs, want to suggest features, or have questions, please open an issue using the [GitHub issue tracker](https://github.com/schreiber-lab/reflectorch/issues).
|
|
6
|
-
|
|
7
|
-
When reporting a bug, please include:
|
|
8
|
-
- A clear description of the issue
|
|
9
|
-
- Steps to reproduce the bug (if applicable)
|
|
10
|
-
- Any relevant error messages or screenshots
|
|
11
|
-
|
|
12
|
-
## 2. Contributing Code
|
|
13
|
-
|
|
14
|
-
To contribute code:
|
|
15
|
-
|
|
16
|
-
1. **Fork** the repository.
|
|
17
|
-
2. Make your changes in a new branch.
|
|
18
|
-
3. Ensure your code is clear and well-documented.
|
|
19
|
-
4. If applicable, add or update tests.
|
|
20
|
-
5. Submit a [pull request](https://github.com/schreiber-lab/reflectorch/pulls) with a description of your changes.
|
|
21
|
-
|
|
22
|
-
### Documentation
|
|
23
|
-
|
|
24
|
-
If your changes affect user-facing features, please update the documentation accordingly. Documentation is built using [Jupyter Book](https://jupyterbook.org/). You can build it locally using:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
jupyter-book build documentation
|
|
1
|
+
# Contributing to Reflectorch
|
|
2
|
+
|
|
3
|
+
## 1. Reporting Issues
|
|
4
|
+
|
|
5
|
+
If you encounter bugs, want to suggest features, or have questions, please open an issue using the [GitHub issue tracker](https://github.com/schreiber-lab/reflectorch/issues).
|
|
6
|
+
|
|
7
|
+
When reporting a bug, please include:
|
|
8
|
+
- A clear description of the issue
|
|
9
|
+
- Steps to reproduce the bug (if applicable)
|
|
10
|
+
- Any relevant error messages or screenshots
|
|
11
|
+
|
|
12
|
+
## 2. Contributing Code
|
|
13
|
+
|
|
14
|
+
To contribute code:
|
|
15
|
+
|
|
16
|
+
1. **Fork** the repository.
|
|
17
|
+
2. Make your changes in a new branch.
|
|
18
|
+
3. Ensure your code is clear and well-documented.
|
|
19
|
+
4. If applicable, add or update tests.
|
|
20
|
+
5. Submit a [pull request](https://github.com/schreiber-lab/reflectorch/pulls) with a description of your changes.
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
If your changes affect user-facing features, please update the documentation accordingly. Documentation is built using [Jupyter Book](https://jupyterbook.org/). You can build it locally using:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
jupyter-book build documentation
|
|
28
28
|
```
|
|
@@ -1,13 +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
|
-
|
|
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
13
|
CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root"]
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Reflectorch Developers
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Reflectorch Developers
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
include configs/*
|
|
2
|
-
exclude saved_models/*.pt
|
|
3
|
-
exclude notebooks/*
|
|
4
|
-
exclude paper/*
|
|
5
|
-
exclude documentation/*
|
|
6
|
-
exclude docs/*
|
|
7
|
-
prune docs/*
|
|
8
|
-
exclude .github/*
|
|
9
|
-
|
|
10
|
-
include exp_data/data_C60.pt
|
|
11
|
-
include exp_data/data_PTCDI-C3.pt
|
|
12
|
-
include exp_data/data_C60.txt
|
|
13
|
-
include exp_data/data_PTCDI-C3.txt
|
|
14
|
-
include exp_data/33a.dat
|
|
1
|
+
include configs/*
|
|
2
|
+
exclude saved_models/*.pt
|
|
3
|
+
exclude notebooks/*
|
|
4
|
+
exclude paper/*
|
|
5
|
+
exclude documentation/*
|
|
6
|
+
exclude docs/*
|
|
7
|
+
prune docs/*
|
|
8
|
+
exclude .github/*
|
|
9
|
+
|
|
10
|
+
include exp_data/data_C60.pt
|
|
11
|
+
include exp_data/data_PTCDI-C3.pt
|
|
12
|
+
include exp_data/data_C60.txt
|
|
13
|
+
include exp_data/data_PTCDI-C3.txt
|
|
14
|
+
include exp_data/33a.dat
|
|
15
15
|
include exp_data/DIP-nSi_34a.dat
|