irfpy.mima.table¶

Unified table definitions

class irfpy.mima.table.ElevationTable16Geom[source]

Bases: irfpy.util.sensortable.Table

Elevation table with a pure geometric FOV shape

This provides the elevation table for linearly separated FoV. In reality, 2-D elevation table should be used for low energy part.

You may also use irfpy.mima.fov.SimpleFOV for data analysis.

version = '1.0'
units = 'deg'
getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.

class irfpy.mima.table.ElevationTableFast24s[source]

Bases: irfpy.util.sensortable.Table

Elevation table for 24s mode

version = '1.0'
units = 'deg'
getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.

class irfpy.mima.table.EnergyTableProm[source]

Bases: irfpy.util.sensortable.Table

Energy table if the IMA sensor is booted from PROM

This table has been used from the beginning of the mission to March 2007.

Characteristics is that the low-energy is not corectly measured. In such a case, -1 is returned.

Also, you may refer to the function irfpy.mima.energy.get_default_table_v4()

version = '1.0'
units = 'eV/q'
resolution = 0.07

Energy resolution for calculating FWHM (RAnge)

getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.

class irfpy.mima.table.EnergyTableEEProm0[source]

Bases: irfpy.util.sensortable.Table

Energy table if the IMA sensor is booted from EEPROM0

This table has been used after March 2007 (to when? TBC).

Also, you may refer to the function irfpy.mima.energy.get_default_table_v5()

version = '1.0'
units = 'eV/q'
resolution = 0.07

Energy resolution for calculating FWHM (RAnge)

getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.

class irfpy.mima.table.EnergyTableFast24s[source]

Bases: irfpy.util.sensortable.Table

Energy table for 24s scan, implemented in 2013 Nov.

version = '1.0'
units = 'eV/q'
resolution = 0.07

Energy resolution for calculating FWHM

getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.

exception irfpy.mima.table.AzimuthTableSeriousError[source]

Bases: Exception

class irfpy.mima.table.AzimuthTable[source]

Bases: irfpy.util.sensortable.Table

Azimuth angle table, in the IMA frame.

Danger

This table provide the swapped value. One must not use this for any purpose. Creating this class will always raise AzimuthTableSeriousError. Use AzimuthalTable instead.

version = '1.0'
units = 'deg'
getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.

class irfpy.mima.table.AzimuthalTable[source]

Bases: irfpy.util.sensortable.Table

Azimuth angle table, in the IMA frame.

version = '1.0'
units = 'deg'
getTable()[source]

Get the table for the central values.

Get a table with n elements, where n is the number of the data.

getBound()[source]

Get the table for the edge values, without gap.

Get a table with n+1 elements, where n is the number of the data.

The i-th element in getTable() should be between the i and i+1-th elements in getBound().

This can be used for pcolor or histogram for instance.

getRange()[source]

Return the range, for example FWHM.

Return [2, n] elements. getRange() [0, :] is the lower bound and getRange() [1, :] is the upper bound.

This can be used for errorbar drawing or gfactor calculation for instance.