Commit 630b5341 authored by Karol Actun's avatar Karol Actun
Browse files

Reorganization of project's folder structure

parent f40b0951
......@@ -66,7 +66,7 @@ dist/
downloads/
eggs/
.eggs/
#lib/
#core/
#lib64/
parts/
sdist/
......@@ -159,7 +159,4 @@ system.log
config.ini
.dropbox
outputs/
screenshots/
videos/
lib/__pycache__/*
core/__pycache__/*
......@@ -13,12 +13,12 @@ def plot_generator(directory):
for bla in data.columns:
if i >= 5:
plot.stdin.write('set ylabel "%s" \n' % (bla))
plot.stdin.write("set output '" + directory + "/rounds_%s.png' \n" % (bla))
plot.stdin.write("set outputs '" + directory + "/rounds_%s.png' \n" % (bla))
plot.stdin.write("set term png giant size 800,600 font 'Helvetica,20' \n")
plot.stdin.write(
"plot '" + directory + "/rounds.csv' using 2:" + str(i) + " title '" + bla + "' with lines axis x1y1 smooth unique \n")
plot.stdin.write("set terminal pdf monochrome font 'Helvetica,10' \n")
plot.stdin.write("set output '" + directory + "/rounds_%s.pdf' \n" % (bla))
plot.stdin.write("set outputs '" + directory + "/rounds_%s.pdf' \n" % (bla))
plot.stdin.write("replot \n")
i += 1
......@@ -33,12 +33,12 @@ def plot_generator(directory):
if i >= 3 :
plot.stdin.write('set ylabel "%s" \n' % (bla))
plot.stdin.write("set term png giant size 800,600 font 'Helvetica,20' \n")
plot.stdin.write("set output '" + directory + "/particle_%s.png' \n" % (bla))
plot.stdin.write("set outputs '" + directory + "/particle_%s.png' \n" % (bla))
plot.stdin.write(
"plot '" + directory + "/particle.csv' using 2:" + str(
i) + " title '" + bla + "' with lines axis x1y1 smooth unique \n")
plot.stdin.write("set terminal pdf monochrome font 'Helvetica,10' \n")
plot.stdin.write("set output '" + directory + "/particle_%s.pdf' \n" % (bla))
plot.stdin.write("set outputs '" + directory + "/particle_%s.pdf' \n" % (bla))
plot.stdin.write("replot \n")
i += 1
......
from grids.grid import Grid
from components.grids.grid import Grid
class CCPGrid(Grid):
......
from grids.grid import Grid
from components.grids.grid import Grid
class CubicGrid(Grid):
......
......@@ -58,7 +58,7 @@ class Grid(ABC):
"""
FOR VISUALIZATION!
calculates line data in this grids directions for the visualization.
output is a list of start and end points. the start point is always the center of this grid and the end points
outputs is a list of start and end points. the start point is always the center of this grid and the end points
are the directions but only half in length
:return: list of vectors, [(sx,sy,sz), (ex,ey,ez), (sx,sy,sz), (ea,eb,ec), ...]
"""
......
from grids.grid import Grid
from components.grids.grid import Grid
class QuadraticGrid(Grid):
......
import math
from grids.grid import Grid
from components.grids.grid import Grid
class TriangularGrid(Grid):
......
......@@ -2,9 +2,9 @@ from PyQt5.QtGui import QColor, QIntValidator
from PyQt5.QtWidgets import (QVBoxLayout, QPushButton, QColorDialog, QRadioButton, QLabel, QTabWidget,
QSlider, QHBoxLayout, QCheckBox, QTabBar, QLineEdit, QGroupBox, QComboBox, QStyle)
from PyQt5.QtCore import Qt
from lib.vis3d import Visualization
from lib.visualization.utils import show_msg, Level
from lib.world import World
from core.vis3d import Visualization
from core.visualization.utils import show_msg, Level
from core.world import World
# global variables for all te functions..
world: World
......
from lib.vis3d import Visualization
from lib.world import World
from core.vis3d import Visualization
from core.world import World
def create_gui(world: World, vis: Visualization):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment