Skip to content

Commit c8feed9

Browse files
committed
Improved mcdoc header
1 parent 15332e7 commit c8feed9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mcstas-comps/examples/Tests_grammar/Unittest_ALLOW_BACKPROP/Unittest_ALLOW_BACKPROP.instr

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
* Unittest for ALLOW_BACKPROP macro
1313
*
1414
* %Description
15-
* Unittest to ensure that the macro ALLOW_BACKPROP works correctly
15+
* Unittest to ensure that the macro ALLOW_BACKPROP works correctly.
16+
*
17+
* The test instrument includes two monitors, with a selectable ALLOW_BACKPROP in between.
18+
* The second monitor is placed physically "earlier" than the first, but logically after.
19+
*
20+
* 1) With Backprop=0 the second monitor (closer to the source) should yield a signal of 0
21+
* 2) With Backprop=1 the second monitor should measure a signal since backpropagation is allowed
1622
*
1723
* %Example: Backprop=0 Detector: PSDcloser_I=0
1824
* %Example: Backprop=1 Detector: PSDcloser_I=0.099

0 commit comments

Comments
 (0)