Background Flags - galizia-lab/pyview GitHub Wiki

Background frames

LE_StartBackground LE_PrestimEndBackground LE_DefaultBackgroundRange LE_StimulusBasedBackground

LE_DefaultBackgroundRange

What does it do?

This flag specifies the default range of frame for background when stimulus information is not available or when LE_StimulusBasedBackground is set to False

Default value: (3,5)

What values can it take?

Pairs of integers, as shown above

Are values expected to be in specific units?

Index of frames; First frame has index 0 and so on.

Special Notes

None

LE_PrestimEndBackground

What does it do?

This flags indicates the number of frames between the end of "background" frames and stimulus onset. This flag along with LE_PrestimEndBackground and onset of first stimulus defines the range of frames to consider as background. These "background" frames are used for many purposes including the calculation of background fluorescence (as in F of deltaF/F).

Default value: 2

What values can it take?

Integer values.

Are values expected to be in specific units?

Number of frames

Special Notes

Related flag: LE_StartBackground

LE_StartBackground

What does it do?

This flag indicates the number of frames to exclude from the beginning of a measurement when calculating background. This flag along with LE_PrestimEndBackground and onset of first stimulus defines the range of frames to consider as background. These "background" frames are used for many purposes including the calculation of background fluorescence (as in F of deltaF/F).

Default value: 4

What values can it take?

Integer values.

Are values expected to be in specific units?

Number of frames

Special Notes

Related flag: LE_PrestimEndBackground

LE_StimulusBasedBackground

What does it do?

If True, background frames will be calculated using first stimulus onset, LE_StartBackground and LE_PrestimEndBackground. If False, values in LE_DefaultBackgroundRange will be used

Default value: True

What values can it take?

Boolean values

Are values expected to be in specific units?

No.

Special Notes

None