Astropy Data Reduction

Astropy Data Reduction

Postby Stu Todd » Sat May 16, 2020 2:27 pm

I've started learning MIDAS as I'm on Linux. In my research into the pro's and cons of MIDAS over Iraf, I see that the Iraf website now recommends Astropy.
It would seem to be the way forward in professional data reduction also and a couple of packages are available for spectroscopy.

Has anyone tried the python way?
Link for an example at http://learn.astropy.org/UVES.html

Stu
Stu Todd
 
Posts: 11
Joined: Mon Mar 21, 2016 6:29 am
Location: Dunedin, New Zealand

Re: Astropy Data Reduction

Postby Martin Dubs » Sun May 17, 2020 3:40 pm

Hello Stu,

I have analyzed meteor spectra with different software for a while. Since this requires quite specific processing and I could find nothing suitable, i developed my own program. I used Python, also astropy, because it contains many of the required tools, eg. for reading images, transforming them, plotting and least square fits.
To get an idea of what I did, you may look at https://meteorspectroscopy.org/, in particular at
https://meteorspectroscopy.org/2020/03/27/meteor-spectra-analysis-new-version/
m_spec calibration.PNG
spectrum calibration

m_spec plot spectrum.PNG
calibrated spectrum
m_spec plot spectrum.PNG (28.5 KiB) Viewed 211 times

If you are interested in it, please give me a short mail

Regards,

Martin
Martin Dubs
 
Posts: 140
Joined: Fri Jan 06, 2012 9:16 pm
Location: Maienfeld, Switzerland

Re: Astropy Data Reduction

Postby Stu Todd » Tue May 19, 2020 5:02 am

Hello Martin,

Congratulations on programming your reduction code, it looks great and I am very much interested so will email you.
It seems Python is the way forward so will need to up my knowledge and learn.

I wondered if the existing pyDIS would be an option and if you see any pitfalls?
https://github.com/TheAstroFactory/pydi ... tion-Guide

Regards,
Stu
Stu Todd
 
Posts: 11
Joined: Mon Mar 21, 2016 6:29 am
Location: Dunedin, New Zealand


Return to Python

Who is online

Users browsing this forum: No registered users and 0 guests

x