hello… i want to patch a module that does the same as the built in integral node but with definable bin size…

that means that it sums up values from slice to slice but not for the whole incomming spread but for the defined binsize. when a new bin is reached the node should start a new addition starting with the slice of new bin?

i think it is not possible to build that node in an easy way (in relation to the easy problem which is just adding slices). probably it is not possible at all.

at the moment there is no way to construct new spectral nodes from ground up as a user.
the only way to build new spectral nodes is by using existing spectral nodes.

i repatched the integral node by using + (spectral). maybe it is possible to extend it. but i think it is not…

a suboptimal solution i see here, is to blow up yor spread with zeros with InsertSlice so that you have a constant bin size, and then apply the Integral… but this can produce quite large spreads (maxbinsize*bincount).

thx a lot for your sugestions… im on a solution where i subtract the reached values from the output of the integral node. its hard to describe have a look for yourself. i think it produces lower spreadcounts as tonfilms method but not in all cases.

the questions is what happens when the total bin size is bigger than the input spread… hmm and im not sure why the outputcount of integral should have one slice more.