Skip to content

Commit

Permalink
get rid of skipped.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
degoeden committed May 17, 2024
1 parent 11164bc commit 273ff3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ src/modules/__init__.py
src/post_pro/plots/*
degoede_ignore/*
src/optimization_interfaces/__pycache__/*
data/skipped.txt
17 changes: 0 additions & 17 deletions data/skipped.txt

This file was deleted.

6 changes: 3 additions & 3 deletions src/post_pro/plot_design.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def get_design(file_path, x):
# Get the line x
line_x = data[x]
return line_x
x = get_design('../data/paretos/designs_filtered.csv',113)
x = get_design('../data/paretos/designs_filtered.csv',0)
# get x and y
r, L, x, y, d, N = model.unpack_x(x)
print(d)
print(np.mean(d),np.std(d)/np.mean(d))

# plot
colors.get_colors() # create the color variables
Expand All @@ -38,4 +38,4 @@ def get_design(file_path, x):
ax.set_ylim([-40,80])
ax.set_aspect('equal', adjustable='box')
#plt.show()
plt.savefig('post_pro/plots/design_space.pdf')
plt.savefig('post_pro/plots/design.pdf')

0 comments on commit 273ff3a

Please sign in to comment.