Transmission#

class stixpy.calibration.transmission.Transmission(solarblack='solarblack_carbon')[source]#

Bases: object

Calculate the energy dependent transmission of X-ray through the instrument

Methods Summary

get_transmission([energies, attenuator])

Get the transmission for each detector at the center of the given energy bins.

get_transmission_by_component()

Get the contributions to the total transmission by broken down by component.

get_transmission_by_material()

Get the contribution to the transmission by total thickness for each material.

Methods Documentation

get_transmission(energies=None, attenuator=False)[source]#

Get the transmission for each detector at the center of the given energy bins.

If energies are not supplied will evaluate at standard science energy channels

Parameters:
  • energies (astropy.units.Quantity, optional) – The energies to evaluate the transmission

  • attenuator (bool, optional) – True for attenuator in X-ray path, False for attenuator not in X-ray path

Returns:

astropy.table.Table – Table containing the transmission values for each energy and detector

get_transmission_by_component()[source]#

Get the contributions to the total transmission by broken down by component.

Returns:

dict – Entries are Compounds for each component

get_transmission_by_material()[source]#

Get the contribution to the transmission by total thickness for each material.

Layers of the same materials are combined to return one instance with the total thickness.

Returns:

dict – Entries are materials with the total thickness for that material.