Forum der Vereinigung der Sternfreunde

Forum of the German Amateur Astronomy Association
Aktuelle Zeit: 15. Januar 2026, 22:08:04 PM

Alle Zeiten sind UTC+02:00




Ein neues Thema erstellen  Auf das Thema antworten  [ 17 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: MIDAS Getting started
BeitragVerfasst: 15. Januar 2017, 14:19:04 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
I have decided to try to learn to use MIDAS. I have managed to download the required software and can get it running on my Win 8 machine.

I planned to work through the examples in Thomas and Klaus's book Spectroscopic Instrumentation but I fell at the first problem.

How do I get my .FIT images in the Windows directories into the ones accessible by MIDAS in the VM/Fedora/MIDAS ?

I am sure this will be the first of many dumb questions.

Thanks Andrew


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 15. Januar 2017, 17:37:14 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
I managed to drag and drop a file to get started but I could do with a way to make files more generally available.

Form this I managed to display the image a plot some pixel values. However, I can't get the compute/image to work. I get the error

Midas 025> compute/image h3=HIP3885-1.fit
(ERR) SCFOPN: h3=HIP3885.bdf - FRMNAC
(OSY) MID_ACCFRM:
Frame not accessible: Check the name of the frame you use in the given context.
Midas 026>

I can display the image and under properties the file has read and write permissions. On the other hand extract/image seems to work.

Thanks for any advise you can give.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 15. Januar 2017, 19:17:55 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Hi Andrew,
you will find for MIDAS in the internet no real support. Have you thought about Iraf as an alternative? The support is much better and it is used by many professionals.
Regards Christian


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 15. Januar 2017, 19:29:48 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
I just assumed that MIDAS was the recommend route as it was on you web site! I will look into IRAF. Can you point me at a sight where I can download a packaged version? I assume I fill still have the files issue?

Thanks Andrew

I solved the compute/image problem by extract/image first taking all the image. Not sure if this is right but it worked.


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 15. Januar 2017, 21:20:55 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Here are two sources for an easy installation
https://docs.astro.columbia.edu/attachm ... stallation
http://www.astronomy.ohio-state.edu/~kh ... stallation

You will find numereous tutorials in the internet, e. g.
http://iraf.noao.edu/tutorials/tutorials.html
http://www.twilightlandscapes.com/IRAFtutorial/
http://homepage.usask.ca/~ges125/Astron ... onIRAF.pdf

Regards Christian


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 15. Januar 2017, 21:23:51 PM 
Offline
Meister

Registriert: 31. Juli 2006, 16:43:32 PM
Beiträge: 3468
Hi Andrew,

even without being supported MIDAS is still one of the two professional and still widely used tools. This is because it is tested and evaluated by thousands of professional users. The situation for IRAF is basically not different. From my point of view it is a matter of taste. I used both (MIDAS for my master and IRAF for my PhD) and have a slight preference for IRAF. This however might be because I was more familiar with data reduction after my master. We have only MIDAS on our website because Jürgen Neubert once took care for the respective installation. Nobody did this for IRAF, though.

Cheers, Thomas


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 10:28:30 AM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Hi Thomas,
Zitat:
Hi Andrew,

even without being supported MIDAS is still one of the two professional and still widely used tools.
the papers I read is surely not a representative selection. But I saw no paper written in the recent years where Midas was used. Compared two MIDAS Iraf is the more stable software. In MIDAS identifying the callibration lines can be very painful bacause this important routine dos'nt forgive even small input errors.
Zitat:
We have only MIDAS on our website because Jürgen Neubert once took care for the respective installation. Nobody did this for IRAF, though.

Cheers, Thomas
You will find a large variety of installation instructions for Iraf in the Internet that there is no need to offer it on our website. Because you can choose between a 32 bit and a 64 bit version we had to install a lot. But ther is really no need. There are sources which deliver a pakage which contains much more useful software.

http://ssb.stsci.edu/ureka/1.5.1/
http://astroconda.readthedocs.io/en/lat ... ation.html

Cheers
Christian


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 11:21:58 AM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Thanks all IRAF it is then. I will learn how to install from the links you sent me so thanks for that.

You might want to update the software section of your website to reflect this current thinking.

I am sure I will be back with more questions on IRAF!

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 11:47:23 AM 
Offline
Meister

Registriert: 31. Juli 2006, 16:43:32 PM
Beiträge: 3468
Hi Christian!
Zitat:
But I saw no paper written in the recent years where Midas was used.

Doesn't matter if true. MIDAS works well, anyway.
Zitat:
Compared two MIDAS Iraf is the more stable software.
No!
Zitat:
In MIDAS identifying the callibration lines can be very painful bacause this important routine dos'nt forgive even small input errors.
Can be, but when writing batch jobs, all this can be circumnavigated.
Zitat:
You will find a large variety of installation instructions for Iraf in the Internet that there is no need to offer it on our website.
Almost everything you can find in our website can be found in the internet, as well. I presume that you appreciated the information donated from the group when you started with spectroscopy. I am surprised that you now consider certain information as not necessary in the section site.
Zitat:
Because you can choose between a 32 bit and a 64 bit version we had to install a lot.

No, that is only collecting some links and writing some explanationary texts to guide users through the procedure. If you want to convince users for professional tools you should help them at least as much as the amateur-Windows community does. Stating that a certain technique or tool is superior is not enough.
Zitat:
There are sources which deliver a pakage which contains much more useful software.
I suggest you collect such information, bring it into easy-to-understand order and send a respective sheet (best in html) to our admin. Then he can put it into our website as we did for Fedora/MIDAS.

Cheers, Thomas


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 11:51:12 AM 
Offline
Meister

Registriert: 31. Juli 2006, 16:43:32 PM
Beiträge: 3468
Hi Andrew!
Zitat:
You might want to update the software section of your website to reflect this current thinking.
It is also YOUR website! :)
Zitat:
I am sure I will be back with more questions on IRAF!
I think only Christian uses IRAF, unfortunately. We would appreciate if you can write down your experience for the above mentioned "easy-to-understand guide" so that others benefit from it.

Cheers, Thomas


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 15:13:49 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
My experience so far is not so good.

I have VMware and installed ubuntu as an operating system on it following a youtube tutorial. I am not familiar with Linux but I do recall DOS so the command line is not too much of an issue.

However, just trying to change directory seems a challenge! If I do a dir I get a list of directories but when I then try to change to one with a cd it say there is no such directory. A steep learning curve which a kindle book is helping with.

On to IRAF I tried the 64-bit_step_by step but got error trying to access files on the site and other assorted error about missing files!

I then tried the ureka approach. I downloaded the file and put it in the home directory and typed sh install_ureka_1.5.1 only to get a can't open the file message.

My learning so far is that unless you are familiar with Linux/ubuntu to start with you need either to get familiar or have a much more integrated and robust package to install IRAF.

I will keep trying and report back.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 15:44:47 PM 
Offline
Meister

Registriert: 31. Juli 2006, 16:43:32 PM
Beiträge: 3468
Here is a comment from Gregor Rauw (Univ. Liège). Cheers, Thomas
Zitat:
Hallo Thomas,

MIDAS ist insofern klinisch tot, als diese Software seit mehreren Jahren nicht mehr von der ESO unterstützt wird. Es hat seit mehr als 10 Jahren keine Updates mehr gegeben. IRAF wird hingegen, meines Wissens nach, noch immer von NRAO unterstützt. Es gibt durchaus einige Anwendungen wo MIDAS nach wie vor interessant ist (z.B. long-slit Spektroskopie). In den meisten Fällen ist IRAF aber wesentlich vielseitiger (z.B Echelle Spektroskopie). Ich selbst nutze MIDAS weil das zur Zeit meiner Doktorarbeit die beste Software war um ESO Daten zu analysieren. In der Zwischenzeit wechsele ich aber mehr und mehr zu IRAF, zumindest für Echelle Spektren (für die ist MIDAS gelinde gesagt Sch&#!&) und die Korrektur der tellurischen Linien. Einige meiner (geistig) jüngeren Kollegen nutzen Python und die "reduce" Software von Piskunov et al.
Soweit ich das einschätzen kann ist das ebenfalls eine exzellente Software.

Gruss,

Gregor


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 17:37:17 PM 
Offline
Neueinsteiger

Registriert: 30. Dezember 2016, 14:13:04 PM
Beiträge: 3
Hello,

Maybe some clarifications and a translation of my statement concerning MIDAS vs. IRAF. I used MIDAS for my PhD because at that time this was the most efficient software to cope with data taken at ESO. However, in the meantime ESO has stopped supporting MIDAS, which means that there are no new releases and there are no new developments of tools for new instruments/applications. I still use MIDAS quite regularly (including also for my publications ;-) ), especially for long-slit spectroscopy where I have written my own suit of routines based on MIDAS commands. However, I found out meanwhile that for echelle spectroscopy, IRAF is MUCH superior to MIDAS. This is because the echelle routines of IRAF are much more userfriendly and versatile. Also, correcting telluric lines under IRAF is very easy and works a lot better than under MIDAS. There are other examples where IRAF is clearly superior. My bottom line is that both software have there pros and cons, but generally speaking IRAF is certainly the one that has the larger number of supporters in the professional astronomers community. Over recent years, the "reduce" packages developed by Piskunov & Valenti 2002 and running under IDL has also become quite popular, especially for echelle spectroscopy. Some of my colleagues also work under Python.

Cheers,

Gregor


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 16. Januar 2017, 18:38:15 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Zitat:
Some of my colleagues also work under Python.
Hello Gregor,
are you talking about Pyraf?
Christian


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 17. Januar 2017, 09:34:23 AM 
Offline
Neueinsteiger

Registriert: 30. Dezember 2016, 14:13:04 PM
Beiträge: 3
Hello Christian,

Personally, I'm not using Python myself. From what I know about Pyraf, this is mainly a Python interface to IRAF. But there are other Python packages, such as Astropy, though I do not know about the performances of these tools.

Cheers,

Gregor


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 09. März 2017, 19:54:12 PM 
Offline
Meister

Registriert: 01. August 2006, 16:20:19 PM
Beiträge: 839
Wohnort: Neumarkt i.d. Oberpfalz
Zitat:
I managed to drag and drop a file to get started but I could do with a way to make files more generally available.

Form this I managed to display the image a plot some pixel values. However, I can't get the compute/image to work. I get the error

Midas 025> compute/image h3=HIP3885-1.fit
(ERR) SCFOPN: h3=HIP3885.bdf - FRMNAC
(OSY) MID_ACCFRM:
Frame not accessible: Check the name of the frame you use in the given context.
File names must not contain minus or plus sign. Midas tries to subtract 1.fit from HIP3885.bdf
h3 = HIP3885.bdf - 1.fit

Better use undescore in file names HIP3885_1.fit

guenter

_________________
Im längsten Frieden spricht der Mensch nicht so viel Unsinn und Unwahrheit als im kürzesten Kriege. (Jean Paul)


Nach oben
   
 Betreff des Beitrags: Re: MIDAS Getting started
BeitragVerfasst: 10. März 2017, 12:19:40 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Thanks good advice. I have moved to using IRAF now but the same point is valid.

Regards Andrew.


Nach oben
   
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen  Auf das Thema antworten  [ 17 Beiträge ] 

Alle Zeiten sind UTC+02:00


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
Powered by phpBB® Forum Software © phpBB Limited
Deutsche Übersetzung durch phpBB.de