Set of analysis tools of MRS data
Project description
AstroCabTools
Set of tools made in order to:
- Integrate processing tools, algorithms, visualization and data analysis of images and 3D infrarred spectroscopy for the James Webb Espacial Telescope (JWST).
- Integration of JWST calibrated data and advance products into astronomics data bases and astrophisics specialized packages.
- Develop procedures to the JWST data combination and the joint analysis of large volumnes of data.
- Simulation and study of observationes made from the MIRI tool of the JWST with the MIRISim simulator.
Tools
- mrs_chan.py - To identify wich channels from the MRS range, an emitted wavelenth is (BETA version).
- mrs_spec_chan.py - Visualization of relationship emitted wavelength and density flux associate (BETA version).
- mrs_det_plot.py - Manipulation of astronomic images based of frame and integration values (BETA version).
- fit_line.py - Representation of multiple gauss fitted models based on an spectrum.
- cube_ans.py - Representation and analyisis of miri cubes
- all_tools - Interface that allows to load each tool without using command line.
Packages used
For each tool, this repo uses a number of libraries and packages on python:
- PyQt - Binding of C++ GUI library
- Numpy - Library that allow large data manipulation
- Matplotlib - Graph visualization library.
- Astropy - Collection of software packages used for astronomy
- Seaborn - Statistical data visualization
- Lmfit - Non-Linear Least-Squares Minimization and Curve-Fitting for Python
- PyPuSub - A Python publish-subcribe library
Tested with
- Python (tested for 3.7.0)
- Matplotlib (tested for 3.1.2)
- Numpy (tested for 1.81.1)
- PyQt5 (tested for 5.14.0)
- Seaborn (tested for 0.9.0)
- lmfit (tested for 1.0.0)
- PyPubSub (tested for 4.0.3)
How to install and execute
- Open the terminal and write
pip install AstroCabTools
- Once all the libraries had been updated and the package installed, to execute each program, the next commands need to be written on the terminal:
bandChan
to execute mrs_chan.specChan
to execute mrs_spec_chan.detPlot
to execute mrs_det_plot.fitLine
to execute fit_line.cubeAns
to execute cube_ans.allTools
to execute all_tools.
Templates
Templates for different tools can be downloaded in the next links and in the documentation.
Mrs_spec_chan templates
The templates for this tool can be downloaded from this link.
Mrs_det_plot templates
The templates for this tool can be downloaded from this link.
Fit_line templates
The templates for this tool can be downloaded from this link.
Development
To dos
New:
-
cube_ans features:
- Miri cube representation
- Miri specturm along all slice representacion within an arrea
- Generation of csv and png files when an spectrum is saved
-
Online documentation
Done:
-
mrs_chan features:
- Specific wavelength location inside mrsSpec channels
-
mrs_spec_chan features:
- Representation and management of spectra on a range of wavelength values
-
Representation of specific observed wavelengths selected on the plot
-
Representation of specific lines of interest from a list on the plot
-
Management of different specification ranges where each plot is going to appear
-
mrs_det_plot features:
- Visualization of multiple .fits images
- Management of the scale, stretch and colour of all the images
- Visualization of values selected on an specified image along each axis
-
fit_line features:
- Make gauss fitting model based on five points from an spectrum
- Allow to make more than one gauss fitting model
- Represent all gauss models
-
all_tools features:
- Execute each one of the four programs independently
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for AstroCabTools-0.9.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ff4094cf0ce7dd945ec2ff5ae171978ce8a6f055ebba409d136dc9bc534a96 |
|
MD5 | b1ea8a3d9c99d3fd7aa590314e2b8839 |
|
BLAKE2b-256 | 83e4629b0521fe59f43da5d41560c2420076b14fc715f990a3602c9e7e965464 |