Forum der Vereinigung der Sternfreunde

Forum of the German Amateur Astronomy Association
Aktuelle Zeit: 21. Januar 2026, 04:40:13 AM

Alle Zeiten sind UTC+02:00




Ein neues Thema erstellen  Auf das Thema antworten  [ 9 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: IRAF multispec conversion
BeitragVerfasst: 30. April 2017, 15:09:04 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Does anyone know how to extract echelle spectra from an IRAF FITS "multispec" format to a series of 1D spectra compatible with the BSS database? The conversion can be within or outside of IRAF.

Thanks Andrew


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 30. April 2017, 16:45:05 PM 
Offline
Meister
Benutzeravatar

Registriert: 17. Dezember 2006, 15:08:21 PM
Beiträge: 904
Wohnort: Neckarsteinach
Hi Andrew,

In iraf, you can convert multispec-format to 1d-spectra with the scopy command from the noao/onedspec package:

See "help onedspec.package" for more information. Basically, enter, in iraf

noao
onedspec
scopy inputfile outputfile format=onedspec

Best regards, Otmar


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 30. April 2017, 21:01:21 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Thanks Otmar - I found that but it seems even these files are not directly accessible to the standard amateur software. I am halfway to getting a Python program to convert it to a suitable FITS format.

Thanks for your help though.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 01. Mai 2017, 09:21:39 AM 
Offline
Dauernutzer
Benutzeravatar

Registriert: 06. Dezember 2016, 11:37:47 AM
Beiträge: 56
Hi Andrew,

maybe you can find something in this tutorial :
http://iraf.net/irafdocs/ech.pdf

or this one :
https://www.subarutelescope.org/Observi ... 00601e.pdf

Note that audelà can do this kind of conversion :
http://www.audela.org/dokuwiki/doku.php?id=en:start

Hope than can help you...


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 01. Mai 2017, 12:22:45 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Hi Andrew,
type during your session "help scopy". The complete help file will be shown in your editor. You can get the same file when you google "iraf scopy". Look at the examples at the end of the help file. In many cases you will find the solution of your problem.
When you want to extract exactly one aperture lets say aperture 1 type
scopy xyz.ms.fits xyz.fits aperture=1 band=1
Cheers
Christian


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 01. Mai 2017, 13:23:47 PM 
Offline
Meister
Benutzeravatar

Registriert: 25. Oktober 2006, 23:43:13 PM
Beiträge: 741
Wohnort: Cumbria England
Hello Olivier
Zitat:
Note that audelà can do this kind of conversion :
http://www.audela.org/dokuwiki/doku.php?id=en:start
Audela can read and convert IRAF multispec files ? That is interesting. What is the command? I cannot find it listed
http://bmauclaire.free.fr/spcaudace/fonctions.php

Thanks
Robin


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 01. Mai 2017, 13:33:47 PM 
Offline
Dauernutzer
Benutzeravatar

Registriert: 06. Dezember 2016, 11:37:47 AM
Beiträge: 56
Hi Robin,

This is not with spc audace, but with a CCD module that you can find in the camera menu of audelà (the eShel CCD module)
here's a screen copy, you right clic on the main spectrum file and you can save it in differents format like Bess or individual fit order by order.
Bild


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 02. Mai 2017, 14:36:10 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Thanks Olivier & Christian - I will follow up you links and suggestions. I have managed to write a python program to do the extract but a packaged version would be best.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: IRAF multispec conversion
BeitragVerfasst: 02. Mai 2017, 15:14:43 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
I think I have found the problem. scopy works fine. It is the test data I was using that has header keyword(s) that ISIS does not like. I am now working through my own data which won't have the problem keyword ( I don't have an "overscan" region).

I will still need to edit the file to add the BSS keywords.

Thanks again for the help.

Regards Andrew.


Nach oben
   
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen  Auf das Thema antworten  [ 9 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