-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
50 lines (33 loc) · 1.57 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
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
44
45
46
47
48
49
50
from .TRANK_lib import (fit_spectra_nk_sqr,
fit_spectra_nk_sqr_KK_compliant,
fit_spectra_nk_sqr_drude_KK_compliant,
epsilon_d_to_nk_function,
rms_error_spectrum,
reducible_rms_error_spectrum,
sqr_rms_gradient_at_lamda,
sqr_rms_hessian_at_lamda,
pointwise_TRA_error_sum_wrapper,
spectrum_lamda_error,
TMM_spectrum_wrapper,
TMM_spectra,
single_lamda_rms_error_map,
find_min_indices_2d_array, epsilon_d_to_nk_function )
from .KK_lib import (dual_grid_direct_KK_n_from_lamda_k, DKKT_n_from_lamda_k,
parallel_DKKT_n_from_lamda_k,
upper_bound_extrapolation_order_0, upper_bound_extrapolation_order_1, parallel_DKKT_n_from_lamda_k_with_edge_corrections)
from .helpers import (extrap, extrap_c, functionize_nk_file, functionize_frequency_and_permittivity_file, try_mkdir, nk_plot, error_plot, compute_coarse_and_fine_grid)
from .iterator import error_adaptive_iterative_fit_spectra, scan_for_scaled_weight_crossover
from .NKT_lib import ( NKT_fit_spectra_nk_sqr, NKT_fit_spectra_nk_sqr_KK_compliant, NKT_rms_error_spectrum, NKT_reducible_rms_error_spectrum)
from .NKT_iterator import ( NKT_error_adaptive_iterative_fit_spectra)
from .iterator import error_adaptive_iterative_fit
from .TRANK_lib import (fit_TRA_nk_sqr,
fit_TRA_nk_sqr_KK_compliant,
rms_TRA_error_spectrum,
reducible_rms_TRA_error_spectrum,
gradient_at_lamda,
hessian_at_lamda,
pointwise_TRA_error_sum_wrapper,
TR,
TRA_spectra,
single_lamda_TRA_error_map,
find_min_indices_2d_array )