Skip to contents

Function to query the total number of pixels in a spectrometer.

Usage

get_number_of_pixels(jwrapper, sr.index = 0L, ch.index = 0L)

Arguments

jwrapper

an open Wrapper object from Omnidriver

sr.index

an index to address the spectrometer

ch.index

an index to address the channel in a spectrometer with more than one channel.

Value

a numeric value with the total number of pixels (ie. CCD elements) provided by this spectrometer, including any dark or bevel (unused) pixels.