dsCalcPower calculate the wrong variable

0 views
Skip to first unread message

Wei, Jingjin

unread,
Jun 13, 2019, 5:15:28 PM6/13/19
to DynaSim Users
Hi,

I find that when I use
Result = dsCalcPower(data, 'variable','v');
dsCalcPower gives me *_v_Power which is right. But if I do
Result = dsCalcPower(data, 'variable','E_v');
it gives me E_v_spikes_Power.

Basically if I specify the population with variable v then it is giving me the power spectrum of spikes rather than voltage.

Not sure if this happens to anyone else. I don't really need a solution for this.

best
Jingjin

Erik Roberts

unread,
Jun 13, 2019, 5:25:37 PM6/13/19
to Wei, Jingjin, DynaSim Users
it’s a regular expression, try this:

dsSelectVariables(data, ‘E_V$')

-- 
You received this message because you are subscribed to the Google Groups "DynaSim Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynasim-user...@googlegroups.com.
To post to this group, send email to dynasi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynasim-users/BN7PR03MB3633770D4F6849F593894E00A7EF0%40BN7PR03MB3633.namprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages