Skip to content

Allow scalar monitor#1221

Open
sergey-yaroslavtsev wants to merge 1 commit into
masterfrom
single_value_monitor
Open

Allow scalar monitor#1221
sergey-yaroslavtsev wants to merge 1 commit into
masterfrom
single_value_monitor

Conversation

@sergey-yaroslavtsev

Copy link
Copy Markdown
Collaborator

Closes #1218
convert scalar to numpy array (with a single value, no need to extend to len(ydata))
do not strip ydata if monitor is scalar
explicitly handle scalar monitor for single monitor selection (in multi monitor selection it is already handled)
fix a small issue for multi monitor - before start iterating all monitors should have len > 0 not only first one
delete few lines which were related to Python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0d (single value) monitor signals

1 participant