find_glass

ofiber.find_glass(name)[source]

Look up the index of the glass with a particular name.

The index of the first glass that matches the string is returned. Matching is case insensitive

Parameters:

name – string containing

Returns:

the index of the first glass that matches