Skip to content

almcewen0/RPP_plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RPP_plotter

Tool to match RPP sources to other X-ray sources and make images. Using catalogs for X-ray point sources from 4XMM-DR13, Chandra PSC, eROSITA Hard/Main, and 2RXS surveys, this tool will compare a provided position (ra,dec) and create a plot of all those point sources. If it exists, the nearest XMM observation to the source of interest will be downloaded and plotted. The default behavior will omit observations in SmallWindow/Timing/UNDEFINED observing modes. Additionally, the code produces a .csv file with all of the included point sources' positions and separations from the source of interest (ordered by observed fluxes) and a .log file with observation information.

This code can be run from the command line, with the only required inputs being the source of interest's RA/Dec or RPP name, i.e.

python plot_source.py -ra 266. -dec 38. [-f OUTPUT_FILENAME] [-o OBSID] [-sep MAX_SEPARATION] [-np] OR python plot_source.py -rpp_name RPP_NAME [-f OUTPUT_FILENAME] [-o OBSID] [-sep MAX_SEPARATION] [-np]

Other flags:

-f OUTPUT_FILENAME : Sets the output base filename. -o OBSID : Choose a specific XMM Observation ID to use for the plot. Otherwise, the image closest to the ra/dec or rpp_source is used*. -sep MAX_SEPARATION : Maximum separation from the source of interest for a catalog source to be included in the plot/.csv file. This defaults to 3.5 arcminutes. -np : If set, plots won't be produced.

  • Note: the catalogs/rpp_catalog.txt file includes a column of observation IDs which are the closest to each RPP, regardless of the observing mode. These are the most on-target observations, but may have limited information on nearby sources.

Dependencies

astropy gdown numpy pandas

About

Tool to match RPP sources to other X-ray sources and make images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages