1d_tool.py: sequential order of -demean and -derivative?

Hi AFNI Gurus,
If both “-demean” and “-derivative” are used in an “1d_tool.py” command, what’s the sequential order of these two operations?

The -derivative option is applied first. While I have no recollection
of choosing the order, applying -derivative first does makes sense,
in that there is no point in putting -demean first, since it would have
no effect.

  • rick