Skip to content

Introducing a bias correction function to determine the next odour to be presented #52

@vlkuzun

Description

@vlkuzun

One issue we have is the mice create a bias for an odour/lick port which hampers ability to reach criterion and value both odours equally for further experiments. One solution is to control the next odour which is presented against the lick port preference of the mouse. An example line of code from the IBL project which we could implement in our setup is:

def next_position(response_buffer): right_proportion = 0.5 right_responses = [int(x) for x in response_buffer if x == 1] right_proportion = sum(right_responses) / len(response_buffer) probRight = random.gauss(right_proportion, 0.5) if probRight < 0.5: position = 'left' else: position = 'right' return position

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions