From 54cc8ec154eec311f2f53fca9de83a72198f8acf Mon Sep 17 00:00:00 2001 From: yonghakim Date: Sat, 17 Sep 2022 12:01:50 +0900 Subject: [PATCH] . --- examples/optimization/demo_monolayer_fitting.py | 2 +- examples/optimization/optimize_test.py | 2 +- examples/rcwa/JLAB.py | 2 +- {ml2rcwa => meent}/RCWA_functions/K_matrix.py | 0 {ml2rcwa => meent}/RCWA_functions/PQ_matrices.py | 0 {ml2rcwa => meent}/RCWA_functions/__init__.py | 0 {ml2rcwa => meent}/RCWA_functions/homogeneous_layer.py | 0 {ml2rcwa => meent}/RCWA_functions/rcwa_initial_conditions.py | 0 {ml2rcwa => meent}/RCWA_functions/redheffer_star.py | 0 {ml2rcwa => meent}/RCWA_functions/scatter_matrices.py | 0 {ml2rcwa => meent}/__init__.py | 0 {ml2rcwa => meent}/_base.py | 0 {ml2rcwa => meent}/convolution_matrix.py | 0 {ml2rcwa => meent}/rcwa.py | 2 +- {ml2rcwa => meent}/scattering_method.py | 2 +- {ml2rcwa => meent}/transfer_method.py | 2 +- run_debug.py | 2 +- run_test.py | 2 +- 18 files changed, 8 insertions(+), 8 deletions(-) rename {ml2rcwa => meent}/RCWA_functions/K_matrix.py (100%) rename {ml2rcwa => meent}/RCWA_functions/PQ_matrices.py (100%) rename {ml2rcwa => meent}/RCWA_functions/__init__.py (100%) rename {ml2rcwa => meent}/RCWA_functions/homogeneous_layer.py (100%) rename {ml2rcwa => meent}/RCWA_functions/rcwa_initial_conditions.py (100%) rename {ml2rcwa => meent}/RCWA_functions/redheffer_star.py (100%) rename {ml2rcwa => meent}/RCWA_functions/scatter_matrices.py (100%) rename {ml2rcwa => meent}/__init__.py (100%) rename {ml2rcwa => meent}/_base.py (100%) rename {ml2rcwa => meent}/convolution_matrix.py (100%) rename {ml2rcwa => meent}/rcwa.py (98%) rename {ml2rcwa => meent}/scattering_method.py (99%) rename {ml2rcwa => meent}/transfer_method.py (99%) diff --git a/examples/optimization/demo_monolayer_fitting.py b/examples/optimization/demo_monolayer_fitting.py index 7d47fd8..a4c3423 100644 --- a/examples/optimization/demo_monolayer_fitting.py +++ b/examples/optimization/demo_monolayer_fitting.py @@ -2,7 +2,7 @@ import matplotlib.pyplot as plt from reticolo_interface.ClassReticolo import ClassReticolo -from ml2rcwa.rcwa import RCWA +from meent.rcwa import RCWA if __name__ == '__main__': diff --git a/examples/optimization/optimize_test.py b/examples/optimization/optimize_test.py index e9eee55..0580858 100644 --- a/examples/optimization/optimize_test.py +++ b/examples/optimization/optimize_test.py @@ -1,6 +1,6 @@ import numpy as np -from ml2rcwa.rcwa import RCWA +from meent.rcwa import RCWA class RCWAOptimizer: diff --git a/examples/rcwa/JLAB.py b/examples/rcwa/JLAB.py index 9c69a27..4d20695 100644 --- a/examples/rcwa/JLAB.py +++ b/examples/rcwa/JLAB.py @@ -1,7 +1,7 @@ import time import numpy as np -from ml2rcwa.rcwa import RCWA +from meent.rcwa import RCWA class JLABCode(RCWA): diff --git a/ml2rcwa/RCWA_functions/K_matrix.py b/meent/RCWA_functions/K_matrix.py similarity index 100% rename from ml2rcwa/RCWA_functions/K_matrix.py rename to meent/RCWA_functions/K_matrix.py diff --git a/ml2rcwa/RCWA_functions/PQ_matrices.py b/meent/RCWA_functions/PQ_matrices.py similarity index 100% rename from ml2rcwa/RCWA_functions/PQ_matrices.py rename to meent/RCWA_functions/PQ_matrices.py diff --git a/ml2rcwa/RCWA_functions/__init__.py b/meent/RCWA_functions/__init__.py similarity index 100% rename from ml2rcwa/RCWA_functions/__init__.py rename to meent/RCWA_functions/__init__.py diff --git a/ml2rcwa/RCWA_functions/homogeneous_layer.py b/meent/RCWA_functions/homogeneous_layer.py similarity index 100% rename from ml2rcwa/RCWA_functions/homogeneous_layer.py rename to meent/RCWA_functions/homogeneous_layer.py diff --git a/ml2rcwa/RCWA_functions/rcwa_initial_conditions.py b/meent/RCWA_functions/rcwa_initial_conditions.py similarity index 100% rename from ml2rcwa/RCWA_functions/rcwa_initial_conditions.py rename to meent/RCWA_functions/rcwa_initial_conditions.py diff --git a/ml2rcwa/RCWA_functions/redheffer_star.py b/meent/RCWA_functions/redheffer_star.py similarity index 100% rename from ml2rcwa/RCWA_functions/redheffer_star.py rename to meent/RCWA_functions/redheffer_star.py diff --git a/ml2rcwa/RCWA_functions/scatter_matrices.py b/meent/RCWA_functions/scatter_matrices.py similarity index 100% rename from ml2rcwa/RCWA_functions/scatter_matrices.py rename to meent/RCWA_functions/scatter_matrices.py diff --git a/ml2rcwa/__init__.py b/meent/__init__.py similarity index 100% rename from ml2rcwa/__init__.py rename to meent/__init__.py diff --git a/ml2rcwa/_base.py b/meent/_base.py similarity index 100% rename from ml2rcwa/_base.py rename to meent/_base.py diff --git a/ml2rcwa/convolution_matrix.py b/meent/convolution_matrix.py similarity index 100% rename from ml2rcwa/convolution_matrix.py rename to meent/convolution_matrix.py diff --git a/ml2rcwa/rcwa.py b/meent/rcwa.py similarity index 98% rename from ml2rcwa/rcwa.py rename to meent/rcwa.py index 6202859..8a54e5d 100644 --- a/ml2rcwa/rcwa.py +++ b/meent/rcwa.py @@ -1,7 +1,7 @@ import time import numpy as np -from ml2rcwa._base import _BaseRCWA +from meent._base import _BaseRCWA class RCWA(_BaseRCWA): diff --git a/ml2rcwa/scattering_method.py b/meent/scattering_method.py similarity index 99% rename from ml2rcwa/scattering_method.py rename to meent/scattering_method.py index 2f4da46..a9b6a37 100644 --- a/ml2rcwa/scattering_method.py +++ b/meent/scattering_method.py @@ -1,4 +1,4 @@ -from ml2rcwa.convolution_matrix import * +from meent.convolution_matrix import * from .RCWA_functions import K_matrix as km from .RCWA_functions import PQ_matrices as pq diff --git a/ml2rcwa/transfer_method.py b/meent/transfer_method.py similarity index 99% rename from ml2rcwa/transfer_method.py rename to meent/transfer_method.py index e02100c..a7117c1 100644 --- a/ml2rcwa/transfer_method.py +++ b/meent/transfer_method.py @@ -1,4 +1,4 @@ -from ml2rcwa.convolution_matrix import * +from meent.convolution_matrix import * def transfer_1d_1(ff, polarization, k0, n_I, n_II, theta, delta_i0, fourier_order,fourier_indices, wl, period): diff --git a/run_debug.py b/run_debug.py index d0ae7e3..d043dcf 100644 --- a/run_debug.py +++ b/run_debug.py @@ -1,7 +1,7 @@ import time import numpy as np -from ml2rcwa.rcwa import RCWA +from meent.rcwa import RCWA def run_debug_cases(n_I, n_II, theta, phi, grating_type, pol): diff --git a/run_test.py b/run_test.py index 619c689..f4a8c73 100644 --- a/run_test.py +++ b/run_test.py @@ -1,7 +1,7 @@ import time import numpy as np -from ml2rcwa.rcwa import RCWA +from meent.rcwa import RCWA def run_test(n_I, n_II, theta, phi, grating_type, pol):