FIB package

Submodules

FIB.FIB module

FIB.FIB.FIBdistanceHorizontal(tilt_deg, magnification, distance_on_picture_pxl, angle_to_horizontal_deg=90, horizontal_width_of_picture_pxl=1024)[source]

Returns the horizontal distance in mum based on the visible distance in pixels on the picture. Warning: formula for angled segments hasn’t been fully verified yet. distance_on_picture_pxl, angle_to_horizontal_deg : Properties of the segment to measure on the picture, as given by the Gimp measurement tool for example. tilt_deg : Tilt of the sample relative to the FIB. Can be read from the picture legend.

FIB.FIB.FIBdistanceVertical(tilt_deg, magnification, distance_on_picture_pxl, horizontal_width_of_picture_pxl=1024)[source]

Returns the vertical distance in mum based on the visible distance in pixels on the picture. Warning: Always assumes a vertical pixel distance measurement (because it’s the only thing making sense assuming an orthographic projection) tilt_deg : Tilt of the sample relative to the FIB. Can be read from the picture legend.

FIB.FIB.getMagFromScreenSizeInMicrons(HFW_mum)[source]

HFW_mum : size in micrometers of the area of the sample visible on the screen.

FIB.FIB.getPixelsPerMicron(mag)[source]

returns the number of pixels per micrometer for the given magnification “mag”.

FIB.FIB.getResolution(mag)[source]

returns (res_mum_per_pxl, HFW_mum) where: res_mum_per_pxl : resolution in micrometers per pixel HFW_mum : size in micrometers of the area of the sample visible on the screen.

FIB.FIB.getSpotSize(beamCurrent)[source]

function spotSize_mum = getSpotSize(beamCurrent)

FIB.FIB.readStrFile(filename)[source]

FIB.streamFileTest module

Module contents