romms-glaficplots

A python package to make basic plots (errors and critical curves) for glafic


Keywords
astronomy, astrophysics, gravitationallensing, lensing, glafic
License
BSD-2-Clause
Install
pip install romms-glaficplots==0.0.24

Documentation

Glafic Graph Plotter

This is a simple python package that automates making the basic position/flux error and ciritcal curve plots.

Authors

License

MIT

Installation

Install romms_glaficplots with pip

  pip install romms_glaficplots

Usage/Examples

from romms_glaficplots import error_plot, critcurve_plot

filename_1 = 'obs_point.dat'
filename_2 = 'out_point.dat'
filename_3 = 'out_crit.dat'
plot_name = 'SIE (POS)' # Example Lens Name

obs_data, pred_data = error_plot(filename_1, filename_2, plot_name)

obs_data, pred_data = critcurve_plot(filename_1, filename_3, plot_name)