[FieldTrip] cfg.alim
Nir Ofir
nirofir2 at gmail.com
Wed May 19 11:13:10 CEST 2021
Dear Emilie,
The cfg.alim option was renamed to cfg.ylim (see warning in your output),
but I don't think that's what is causing your error. You didn't write the
relevant code you used so my guess is you only supply one number, instead
of a 2-element vector, which correspond to the requested minimum and
maximum of the y lim. Perhaps you wanted to use one of the scaling options
(cfg.eegscale etc.)?
Good day,
Nir
On Tue, May 18, 2021 at 8:04 PM Emilie Caspar <ecaspar at ulb.ac.be> wrote:
> Dear Fieldtrippers,
>
> In former versions of Fieldtrip (e.g. 20171152), when using the functions
> ft_rejectvisual and ft_rejectartifact in order to visually detect EEG
> artefacts and reject them, we could define cfg.alim to define the scaling
> to visualise the trials.
> In the recent version of Fieldtrip, this function is not accepted anymore
> (e.g. . When we run it, we obtain the following error message in
> attachement).
>
> The problem is that when we remove this line, we can indeed see the trials
> and detect artefacts, but the scaling is not under our control: it changes
> as we remove trials so making us the task harder.
> Is there any alternative to control the alim in the new versions of
> Fieldtrip?
>
> Thank you in advance!
>
> Emilie
>
> ---------------------------------------------
> *Emilie Caspar, Ph.D*
>
> CO3, Centre de Recherche Cognition et Neurosciences (CRCN), ULB
> Social Brain Lab, Netherlands Institute for Neuroscience (NIN), KNAW
> voice : +32 2 650 32 95
> mail : ecaspar at ulb.ac.be
> office: DB10-138 (campus du Solbosch, ULB)
>
> personal website: https://emiliecaspar.home.blog/
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210519/c4dd1df3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture_ErroYlim.png
Type: image/png
Size: 95290 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210519/c4dd1df3/attachment.png>
More information about the fieldtrip
mailing list