Spectrometers

Navigation:  Optical functions >

Spectrometers

Previous pageReturn to chapter overviewNext page

Spectrometer objects know the following functions:

 

Function

Meaning

count maximum

Returns the highest value of all pixel values

count minimum

Returns the lowest value of all pixel values

count average

Returns the average value of all pixel values

 

 

Traverse objects return their current position, answering to the following function calls:

 

Function

Meaning

position

Returns the current position in internal units (either steps of the stepper motor or mm)

position_mm

Returns the current position in mm

 

 

WOSP color sensor objects deliver the following functions:

 

Function

Meaning

illuminance

Returns the last measured illuminance value

r

Returns the last measured value of the red sensor

g

Returns the last measured value of the green sensor

b

Returns the last measured value of the blue sensor

c

Returns the last measured value of the 'white' brightness sensor

r_relative

Returns the value of r/c

g_relative

Returns the value of g/c

b_relative

Returns the value of b/c

brightness_relative

Returns the value of c/65536