This is the function in the experiment.
i don\'t know much about writing methods. The calculation needs to get the index stored in the next bin, so I have to pass in