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, the logic is that the step size should remain the same as the current step size if possible, and if this is not possible, the new step size will be the smallest possible step size to accommodate the requested amplitude. This causes issues if the rest of the stimuli are too large to fit within the smallest step size.
Instead, we should evaluate the existing stimuli by taking their current amplitudes, and comparing them to the list of possible step sizes for the new amplitude. Search for a step size that works for all amplitudes (i.e., the steps are between 1 and 255). Choose the step size that accomplishes this.
If no such step size exists (the amplitudes are too far apart to be bridged by a common step size), give an error message immediately that the requested amplitude is outside of the bounds of the current step size. If the user continues forward, then allow them to set the new amplitude and override the existing step size, clearing the stimuli for channels that do not fit into the new step size, similar to how it is currently performed.
The text was updated successfully, but these errors were encountered:
Currently, the logic is that the step size should remain the same as the current step size if possible, and if this is not possible, the new step size will be the smallest possible step size to accommodate the requested amplitude. This causes issues if the rest of the stimuli are too large to fit within the smallest step size.
Instead, we should evaluate the existing stimuli by taking their current amplitudes, and comparing them to the list of possible step sizes for the new amplitude. Search for a step size that works for all amplitudes (i.e., the steps are between 1 and 255). Choose the step size that accomplishes this.
If no such step size exists (the amplitudes are too far apart to be bridged by a common step size), give an error message immediately that the requested amplitude is outside of the bounds of the current step size. If the user continues forward, then allow them to set the new amplitude and override the existing step size, clearing the stimuli for channels that do not fit into the new step size, similar to how it is currently performed.
The text was updated successfully, but these errors were encountered: