current color values; added kill both colors button

This commit is contained in:
2023-11-28 13:14:06 +01:00
parent 2b0ad02cf3
commit d757c1923e

122
colors.py
View File

@ -22,65 +22,86 @@ N_UNDS.remove(N_UND_CHIC)
color1 = { color1 = {
6: 2.0618975071726737, 6: 2.9733,
7: 2.0618998489503135, 7: 2.9733,
8: 2.061926961690368, 8: 2.9733,
9: 2.0618991835864264, 9: 2.9733,
10: 2.061919185767039, 10: 2.9733,
11: 2.0619176190165964, 11: 2.9733,
12: 2.0618790520140906, 12: 2.9733,
13: 2.052086641409292, 13: 2.9633,
15: 1.1842616466870595, 15: 3.3349,
16: 1.2842673674062317, 16: 3.3282,
17: 1.3842579267233892, 17: 3.2344,
18: 1.484294303739585, 18: 3.3517,
19: 1.6843694577800838, 19: 3.3169,
20: 1.584281331329752, 20: 3.3407,
21: 1.2842820179639072, 21: 3.3477,
22: 1.3842844240055432 22: 3.2467
} }
color2 = { color2 = {
6: 1.0843075706646517, 6: 2.7249,
7: 1.1843037624109625, 7: 2.818,
8: 1.3842958393058413, 8: 2.766,
9: 1.4843045803089876, 9: 2.7539,
10: 1.5843035457018615, 10: 2.8251,
11: 1.8400123990046287, 11: 2.7392,
12: 1.6843112146639572, 12: 2.7545,
13: 1.7742896734281286, 13: 2.7353,
15: 2.124329777953559, 15: 3.4958,
16: 2.124339587297864, 16: 3.4958,
17: 2.124344707174983, 17: 3.4958,
18: 2.1243781537048076, 18: 3.4958,
19: 2.1243433061478303, 19: 3.4958,
20: 2.124360736030826, 20: 3.4958,
21: 2.124337879383864, 21: 3.4958,
22: 2.11434429180146 22: 3.4808
} }
colors_both = { colors_both = {
6: 2.061898658676767, 6: 2.9733,
7: 2.0619010015723753, 7: 2.9733,
8: 2.061836025091557, 8: 2.9733,
9: 2.0619014907947957, 9: 2.9733,
10: 2.0619007931739812, 10: 2.9733,
11: 2.0619164451260863, 11: 2.9733,
12: 2.061841664062066, 12: 2.9733,
13: 2.0520064916331067, 13: 2.9633,
15: 2.124321241942164, 15: 3.4958,
16: 2.1243286922141595, 16: 3.4958,
17: 2.124315652168558, 17: 3.4958,
18: 2.124332151134097, 18: 3.4958,
19: 2.124354200526172, 19: 3.4958,
20: 2.1243170649754792, 20: 3.4958,
21: 2.1243234280187435, 21: 3.4958,
22: 2.11434068217272 22: 3.4808
}
kill_both = {
6: 2.7249,
7: 2.818,
8: 2.766,
9: 2.7539,
10: 2.8251,
11: 2.7392,
12: 2.7545,
13: 2.7353,
15: 3.3349,
16: 3.3282,
17: 3.2344,
18: 3.3517,
19: 3.3169,
20: 3.3407,
21: 3.3477,
22: 3.2467
} }
@ -136,6 +157,11 @@ def enable_color2():
def enable_colors_both(): def enable_colors_both():
put_color(colors_both) put_color(colors_both)
@as_shortcut
def kill_both_colors():
put_color(kill_both)
#@as_shortcut #@as_shortcut
#def reset_undulators(): #def reset_undulators():
# put_color(colors_reset) # put_color(colors_reset)