I am reading the openCARP manual and in the section with the parameters to define an stimulus there are two options to define the stimulus, namely using the stimulus and stim clases and there is a comment saying
!!!!The stimulus parameter was declared legacy. Please use stim !!!
But how do you use the attributes of the stim class to define an stimulus? no information is provided anywhere and in the openCARP examples only the stimulus class is used. Can you provide an example of how to use the stim.crct, stim.elec, stim.ptcl and stim.pulse parameters?