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: 17
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 2627 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: 17
Joined: Mon Mar 21, 2016 6:29 am
Location: Dunedin, New Zealand

Re: Astropy Data Reduction

Postby Benjamin Mauclaire » Sat Jun 20, 2020 1:34 pm

Hi Stu,
If you are looking for a spectral processing and analysis software to manage our spectra on Linux, there is Spcaudace: http://spcaudace.free.fr.
It a plugin of Audela free software in English and French language that can be ran on Linux/Win/MacOS systems. There is an ubuntu package available (http://spcaudace.free.fr/installation.php).
A documentation for runing pipelines and astrophysics analysis is available at http://spcaudace.free.fr/docs/index.php?doclink=accueil.php. A Google translate is fine.
Cheers,
Benji
Spcaudace spectroscopy software: saving you hundred hours of frustration.
Benjamin Mauclaire
 
Posts: 249
Joined: Thu Sep 29, 2011 10:14 am

Re: Astropy Data Reduction

Postby Stu Todd » Wed Jun 24, 2020 4:55 am

Thanks Benji,

Your excellent Spcaudace software was on my "to do "list for downloading so thanks for the timely reminder.
Thank you for making a Linux version too!

Cheerio,
Stu
Stu Todd
 
Posts: 17
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 1 guest

x