irfpy.swim.SwimGfact

SWIM G-factor module.

Current version of SWIM G-Factor is based on a draft calibration report in July 2009. Error bar is not supported.

irfpy.swim.SwimGfact.getSimpleAbsG0()[source]

For testing softwares and quick browsing data purposes, very rough approximation of absolute g-factor [cm^2 sr eV/eV] multiplied by efficency is implemented.

Get an approximated absolute g-factor * efficiency for SWIM is returned. Scalar value of 5e-5 is returned. This is NOT for the use of serious scientific purpose.

class irfpy.swim.SwimGfact.gfactor[source]

Bases: object

Class of gfactor.

Gfactor class as a kind of testing purpose.

A constructor of g-factor class.

getAbsG0()[source]

Obtain absolute geometric factors (G0) for H+.

G0 is calculated in three energy: 500, 1300 and 3000 eV. G0[0] is for 500 eV, G0[1] is for 1300 eV, and G0[2] is for 3000 eV. The unit is in [cm^2 sr eV/eV]. Data is from Table 3.9 in draft calibration report in July 2009. @retval A tuple of absolute geometric factor in cm^2 sr eV/ev.

getRelatG()[source]

Obtain relative geometric factor for start counter (and coincidence event) for H+.

Relative g-factor depending of directions. Data is from Table 3.8 in draft calibration report in July 2009. @retval A tuple of relative geometric factor.

getAbsGProtonStart()[source]

Obtain absolute geometric factor (G(n)) for start surface for proton.

Returns a tuple of abosolute gfactor depending on energy and on direction. @retval A 2-D tuple of absolute geometric factor for start surface for proton in cm^2 sr eV/eV.