[PD] removing dc offset from an array?
Thomas Grill
t.grill at gmx.net
Wed Jan 21 16:29:05 CET 2004
Hi Eric,
vasp of course lets you do it. Please note that you need the cvs
version for the attached patch.
best greetings,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr-offs.pd
Type: application/octet-stream
Size: 1413 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040121/aac98863/attachment.obj>
-------------- next part --------------
Am 22.01.2004 um 03:13 schrieb Eric Skogen:
> hi kids
>
> is there a way to remove dc offsets in arrays? perhaps using vasp?
>
> i ask this because after normalizing my data array, most of that data
> is hovering near the top of the scale range. i want to rescale the
> data to a range of -1 to 1, taking into account the lowest and highest
> numbers in the array. the lowest number would then be remapped -1 and
> the highest number remapped to 1. i figured if i could offset the
> array to the center, then renormalize again, i would get the results i
> need.
>
> sorry i'm such a math idiot! any ideas?
>
> --eric
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
More information about the Pd-list
mailing list