-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
36 lines (26 loc) · 836 Bytes
/
main.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
from main_window import *
from config import logger
import sys
import vtk
import os
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.Qt import *
import zipfile
import json
import h5py
import scipy.constants as const
from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor
from vtk.util import numpy_support
def main():
logger.info("Program started")
app = QApplication(sys.argv)
window = MainWindow()
window.show()
logger.info("Program loaded")
sys.exit(app.exec_())
# a. Selection of specific nanoantenna geometry
# b. Visualization of the 3D optical potential field for a given nanoantenna geometry
# c. Allow interactive measurements of the 3D optical potential at different 3D points selected by the user mouse.
if __name__ == "__main__":
main()