Submodule: math_

Subtract

class flika.process.math_.Subtract

subtract(value, keepSourceWindow=False)

This takes a value and subtracts it from the current window’s image.

Parameters:value (int) – The number you are subtracting.
Returns:newWindow

Subtract_trace

class flika.process.math_.Subtract_trace

subtract_trace(keepSourceWindow=False)

This takes the most recently plotted trace and subtracts it from each corresponding frame.

Returns:newWindow

Divide_trace

class flika.process.math_.Divide_trace

divide_trace(keepSourceWindow=False)

This takes the most recently plotted trace and divides each pixel in the current Window by its value.

Returns:newWindow

Multiply

class flika.process.math_.Multiply

multiply(value, keepSourceWindow=False)

This takes a value and multiplies it to the current window’s image.

Parameters:value (float) – The number you are multiplying by.
Returns:newWindow

Divide

class flika.process.math_.Divide

divide(value, keepSourceWindow=False)

This takes a value and divides it to the current window’s image.

Parameters:value (float) – The number you are dividing by.
Returns:newWindow

Power

class flika.process.math_.Power

power(value, keepSourceWindow=False)

This raises the current window’s image to the power of ‘value’.

Parameters:value (int) – The exponent.
Returns:newWindow

Ratio

class flika.process.math_.Ratio

ratio(first_frame, nFrames, ratio_type, black_level, keepSourceWindow=False)

Takes a set of frames, combines them into a 2D array according to ratio_type, and divides the entire 3D array frame-by-frame by this array.

Parameters:
  • first_frame (int) – The first frame in the set of frames to be combined
  • nFrames (int) – The number of frames to be combined.
  • ratio_type (str) – The method used to combine the frames. Either ‘standard deviation’ or ‘average’.
  • black_level (float) – The value to subtract from the entire movie prior to the ratio operation.
Returns:

newWindow

Class: Absolute_value .. autoclass:: Absolute_value