Chandra

class marxs.missions.chandra.Chandra(**kwargs)[source]

Bases: Sequence

Main class representing the Chandra X-ray observatory

Define a new MARXS element.

Methods Summary

process_photons(photons)

write_evt(photons, filename)

Write a Chandra event level 1 file.

Methods Documentation

process_photons(photons)[source]
write_evt(photons, filename)[source]

Write a Chandra event level 1 file.

As opposed to directly saving the photon list, this adds some Chandra specific meta data.

Parameters

photonsastropy.table.Table or astropy.table.Row

Table with photon properties. Some meta data from the header of this table is required (e.g. the length of the observation).

filenamestring

Path and file name where the file is saved.