Commit 4754f7b
committed
AI: Refactor AmplifierInteraction
- Moved MCC specific Amplifier functions to MIES_AmplifierInteraction_MolecularDevices.ipf
- prefixed these functions with AIMCC_
- For all non-static AI_ functions, added abstraction that depending on device
the MCC functions is called or a placeholder for Sutter amplifier is used.
- Added device argument to AI_ functions that did not used one, adapted depending
call sites
- Kept checks of optional arguments in public AI_ functions
- Changed function declaration of public AIMCC_ functions to not use optional arguments
The reason is that optional arguments can not easily promoted through function calls.
- Added updateView argument to AIMCC_UpdateAmpModel as ParamIsDefault state of value was
used also for decision for updating the AmpView. This does not change the previous behavior.
- Adapted function declaration of all AIMCC_ functions to use modern syntax1 parent b54b06e commit 4754f7b
File tree
10 files changed
+1753
-1567
lines changed- Packages
- MIES
- tests
- PAPlot
10 files changed
+1753
-1567
lines changedLarge diffs are not rendered by default.
Lines changed: 1607 additions & 0 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2012 | 2012 | | |
2013 | 2013 | | |
2014 | 2014 | | |
2015 | | - | |
| 2015 | + | |
2016 | 2016 | | |
2017 | 2017 | | |
2018 | 2018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
403 | | - | |
| 402 | + | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1106 | 1106 | | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | | - | |
| 1109 | + | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| |||
1748 | 1748 | | |
1749 | 1749 | | |
1750 | 1750 | | |
| 1751 | + | |
| 1752 | + | |
1751 | 1753 | | |
1752 | 1754 | | |
1753 | | - | |
| 1755 | + | |
| 1756 | + | |
1754 | 1757 | | |
1755 | 1758 | | |
1756 | 1759 | | |
| |||
2552 | 2555 | | |
2553 | 2556 | | |
2554 | 2557 | | |
2555 | | - | |
| 2558 | + | |
2556 | 2559 | | |
2557 | 2560 | | |
2558 | 2561 | | |
| |||
2579 | 2582 | | |
2580 | 2583 | | |
2581 | 2584 | | |
2582 | | - | |
| 2585 | + | |
2583 | 2586 | | |
2584 | 2587 | | |
2585 | 2588 | | |
| |||
3263 | 3266 | | |
3264 | 3267 | | |
3265 | 3268 | | |
3266 | | - | |
| 3269 | + | |
3267 | 3270 | | |
3268 | 3271 | | |
3269 | 3272 | | |
| |||
3338 | 3341 | | |
3339 | 3342 | | |
3340 | 3343 | | |
3341 | | - | |
| 3344 | + | |
3342 | 3345 | | |
3343 | 3346 | | |
3344 | 3347 | | |
| |||
3489 | 3492 | | |
3490 | 3493 | | |
3491 | 3494 | | |
3492 | | - | |
| 3495 | + | |
3493 | 3496 | | |
3494 | 3497 | | |
3495 | 3498 | | |
| |||
4564 | 4567 | | |
4565 | 4568 | | |
4566 | 4569 | | |
4567 | | - | |
| 4570 | + | |
4568 | 4571 | | |
4569 | 4572 | | |
4570 | 4573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
422 | 426 | | |
423 | 427 | | |
424 | 428 | | |
| |||
926 | 930 | | |
927 | 931 | | |
928 | 932 | | |
929 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
930 | 936 | | |
931 | 937 | | |
932 | 938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
1104 | | - | |
| 1103 | + | |
| 1104 | + | |
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
| 1425 | + | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments