You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, manipulating BiphasicPulseTrains results in unexpected behavior when using with a BiphasicAxonMapModel. During creation, the amplitude, frequency, and pulse duration are stored in metadata, and are later used in the BiphasicAxonMapModel. If pulse train is modified in any way (e.g. multiplying by a scaler to scale amplitude), the metadata is unchanged, and the model will predict the same thing.
If this were updated, then ImageStimulus would be able to be used with amplitude encoding
Describe the solution you'd like
Modifying a BiphasicPulseTrain should either update the metadata if the resulting pulse is still a valid BiphasicPulseTrain, or it should somehow mark in the metadata that this is no longer a valid BiphasicPulseTrain so that the Biphasic model will reject the stimulus. The overloaded operaters will have to be overridden for BiphasicPulseTrain, and perhaps some metadata changes.
The text was updated successfully, but these errors were encountered:
Currently, manipulating
BiphasicPulseTrains
results in unexpected behavior when using with aBiphasicAxonMapModel
. During creation, the amplitude, frequency, and pulse duration are stored in metadata, and are later used in theBiphasicAxonMapModel
. If pulse train is modified in any way (e.g. multiplying by a scaler to scale amplitude), the metadata is unchanged, and the model will predict the same thing.If this were updated, then
ImageStimulus
would be able to be used with amplitude encodingDescribe the solution you'd like
Modifying a
BiphasicPulseTrain
should either update the metadata if the resulting pulse is still a validBiphasicPulseTrain
, or it should somehow mark in the metadata that this is no longer a validBiphasicPulseTrain
so that the Biphasic model will reject the stimulus. The overloaded operaters will have to be overridden forBiphasicPulseTrain
, and perhaps some metadata changes.The text was updated successfully, but these errors were encountered: