Forum der Vereinigung der Sternfreunde

Forum of the German Amateur Astronomy Association
Aktuelle Zeit: 16. Januar 2026, 13:19:46 PM

Alle Zeiten sind UTC+02:00




Ein neues Thema erstellen  Auf das Thema antworten  [ 17 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: SPLAT-VO
BeitragVerfasst: 29. Dezember 2017, 15:25:53 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Given the recent discussions on MIDAS and IRAF I thought I would introduce SPLAT-VO as I had not seen it discussed here.

While not for reducing spectra it has a number of excellent features for analysing spectra with a modern user interface.

While IRAF still has the advantage for debeleding lines I found SPLAT-VO much simpler for RV measurements through function fitting and the "mirror" method as well as for continuum removal and rectification where you can hand draw the continuum, followed by interpolation, or through polynomial fitting.

I have used it on Windows with an occasional problem with it not opening correctly but uninstalling and reinstalling fixed it for me.

The documentation is in English and not always clear (to me) but I have manged to do most tasks with a little trial and error.

The main page is here http://star-www.dur.ac.uk/~pdraper/spla ... at-vo.html and it is now being supported in Germany http://www.g-vo.org/pmwiki/About/SPLAT

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 29. Dezember 2017, 18:21:08 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Zitat:
While IRAF still has the advantage for debeleding lines I found SPLAT-VO much simpler for RV measurements through function fitting and the "mirror" method as well as for continuum removal and rectification where you can hand draw the continuum, followed by interpolation, or through polynomial fitting.
Hi Andrew,
do you know the iraf commands rvidlines and rvreidlines?
Cheers
Christian


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 29. Dezember 2017, 20:44:23 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Zitat:
Zitat:
While IRAF still has the advantage for debeleding lines I found SPLAT-VO much simpler for RV measurements through function fitting and the "mirror" method as well as for continuum removal and rectification where you can hand draw the continuum, followed by interpolation, or through polynomial fitting.
Hi Andrew,
do you know the iraf commands rvidlines and rvreidlines?
Cheers
Christian
Yes thanks Christian, I have looked at them. However, I found doing continuum removal/ rectification much simpler in SPLAT-VO for my late type stars. Having done that it was simpler to continue with the tools in SPLAT-VO for Rv and EW.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 30. Dezember 2017, 20:34:53 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Dateianhang:
betCep_raw.png
betCep_raw.png [ 20.96 KiB | 2712 mal betrachtet ]
Hello Andrew,
I normalized a spectrum of bet Cep with Splat-Vo and with Iraf. With splat I used a polynomial of degree 3, with Iraf a cubic spline of order 1 which means also a polynomial of degree 3. It is not surprising that the results are very similar. The advantage of Splat is clearly a better graphic interface. The advantage of Iraf is that I got the result automatically within 1 second. The only action was for me to confirm the result. If necessary you can follow with Iraf the same procedure as with Splat e. g. choosing relevant intervals and so on. But Splat let you choose only between polynomials of several degrees. With Iraf you can choose between legendre polynomials, chebychev polynomials, linear and cubic splines. For all this functions the order can be defined that means that you are able to divide the spectrum according the order in a given number of pieces where the spectrum is approximated separately. The function splot offers also a normalization procedure.
Cross correlation is possible with the FXCOR Task which I never used. splot offers five methods for determine the center of a line. With rvidlines and rvreidlines you can use several lines simultaneously to determine a rv. Splat allows to use only one line at a time. You get automatically a list with the error estimates. In my opinion the abilities for presentation are clearly better with Splat because of its more actual graphic interface. It is designed for analyzing large catalogs of astronomical objects. Anyway it is good to have an alternative and hopefully it will be get more features in the future. So it is worthwhile to watch the further development of Splat. Actually I see no advantage of Splat but the graphical abilities.
Cheers Christian


Dateianhänge:
betCep_iraf.png
betCep_iraf.png [ 13.01 KiB | 2712 mal betrachtet ]
betCep_splat.png
betCep_splat.png [ 20.49 KiB | 2712 mal betrachtet ]
Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 31. Dezember 2017, 12:12:58 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Good comparison Christian.

I will look at IRAF again as it has the advantage that you can automate the process. I have so far found it difficult with my spectra as there are only small regions of continuum.

I think that SPLAT does have some tools that I have yet to find in IRAF. They are both accessed from the Plot window:

1) Spectrum from interpolation - which allows you to hand draw and adjust a set of points to create a continuum or other spectrum.

2)Analysis -> Flip Compare - which allows you to mirror a spectrum and measure RV from the wings and/or core or a line without fitting.

My knowledge of IRAF is very limited so it may have these features as well built in or they could be replicated.

I think a strength of SPLAT and IRAF is that they are professional tools and not reliant on an individual for support.

Thanks for your continued support.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 31. Dezember 2017, 20:29:32 PM 
Offline
Meister
Benutzeravatar

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

I will look at IRAF again as it has the advantage that you can automate the process. I have so far found it difficult with my spectra as there are only small regions of continuum.
set function = spline3 and order = 1. When you call continuum you will see a suggested curve and many data points which determines the curve. In many cases this is correct and you can confirm it by pressing q (=quit). When it is not satisfying you should increase the variable order by one and try again. With 's' you can indicate the regions which should determine the continuum. You can also delete data points which should not be relevant for the continuum. Look at the help file. With splot a continuum can also be determined. see also the help file. You should be aware that there is no exact definition of a continuum especially for late stars.
Zitat:
I think that SPLAT does have some tools that I have yet to find in IRAF. They are both accessed from the Plot window:

1) Spectrum from interpolation - which allows you to hand draw and adjust a set of points to create a continuum or other spectrum.
See above
Zitat:
2)Analysis -> Flip Compare - which allows you to mirror a spectrum and measure RV from the wings and/or core or a line without fitting.

My knowledge of IRAF is very limited so it may have these features as well built in or they could be replicated.
I have no experience with cross correlation. I think you can determine by cross correlation only one line at a time. Please correct me when I am wrong in this point. This method is apparently very popular among the professionals but it is only one tool for measuring wavelenght. As long as the lines are symmetric you can use Gauss or Lorentz fits. I prefer the centroid method by using splot which determines an upright line through the center of gravity. It works also for asymmetrical lines. With splot you can deblend and determine mean, RMS,S/N, the line center, continuum at the region center, core intensity, flux above or below the continuum, and the equivalent width. splot is the working horse of iraf. All your activities are recorded in the splotlog file. The help file is very detailed. It takes time to read the stuff but it pays. It can do nearly all measurements but cross correlation.
Zitat:
I think a strength of SPLAT and IRAF is that they are professional tools and not reliant on an individual for support.
I agree. Iraf has the advantage that it is unparalleled documented. SPLAT has the better graphic abilities because it programmed more recently.


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 01. Januar 2018, 13:08:01 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
This paper covers the VO tools for spectral analysis including SPLAT it makes some reference to IRAF and MIDAS - https://arxiv.org/pdf/1112.2787.pdf

Happy new year

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 02. Januar 2018, 17:04:25 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Zitat:
This paper covers the VO tools for spectral analysis including SPLAT it makes some reference to IRAF and MIDAS - https://arxiv.org/pdf/1112.2787.pdf

Happy new year

Regards Andrew
Hi,
this paper gives a good overview over some popular software packages. However I doubt the statement that Hermitean polynomials are appropriate for approximation of functions defined on finite intervals. I can't see any reason why this should be.
Happy new year
Christian


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 02. Januar 2018, 21:59:20 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Zitat:

However I doubt the statement that Hermitean polynomials are appropriate for approximation of functions defined on finite intervals. I can't see any reason why this should be.

Christian
Christian, It stems from a paper referenced here http://adsabs.harvard.edu/full/1982PDAO...16...67H but I could not find the original paper by Tsipouras and Cormier only an abstarct. However, it seems it was judged to be good subjectively based on what a skilled draftsman would draw freehand.

When I have tried it it did seem to do this and the examples in the attached paper seem "good".

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 02. Januar 2018, 23:28:03 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Andrew,
the mathematical literature, to knowledge, shows nothing which support the use of Hermitean polynomials. Bronstein, Semendjajew, Taschenbuch der Mathematik, which also translated into the Englisch language (Handbook of Mathematics) recommends the use of Legendre or Tschebyscheff (German transscription, english Chebycheff) polynomials for finite Intervalls. Both systems are orthogonal systems for the Hilbert space of functions on <-1,1>. Both systems use different metrics. I am not completly sure because I am not a specialist for approximation theory.
When you find some literature about this subject please let me know. I appreciate when you would send me one example of a spectrum of a late type star which you regard as difficult to normalize.
Christian


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 03. Januar 2018, 00:37:04 AM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Hi Christian,

Your knowledge of this area is well beyond mine so I appreciate your interest. I attach an example from Rho Cas it is from my MRes echelle and has been processed in IRAF with Blaze removal using a tungsten flat.


I look forward to your results.

Regards Andrew


Dateianhänge:
Rho_Cas_b_20171211.0021.fits [19.69 KiB]
139-mal heruntergeladen
Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 03. Januar 2018, 11:14:55 AM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Hi Christian, I found this paper http://www.sciencedirect.com/science/ar ... 2700003678 and these lecture notes http://www.math.univ-toulouse.fr/~calvi ... rs/MPI.pdf on Hermite interpolation.

Google gives many hits on this area with Lagrange and Hermite interpolation by algebraic polynomials being discussed together. It is clearly a big topic in numerical methods. I don't have the mathematical background to follow the papers and notes but I hope they mean more to you.

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 04. Januar 2018, 14:01:18 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Hi Andrew,
many thanks for the paper. I will have a closer look on them. Here are the results of normalization. Both were generated with the iraf function continuum and cubic splines. n1Rho_Cas_... was normalized with order=1, n2Rho_Cas_... with order=2. order=1 means that one cubic polynomial covers the full range. order = 2 means that the range was split into two pieces. Each piece was covered by one cubic polynomial. At the border between the pieces both polynomials have the same y and y' (derivative). It is a matter of opinion which one is preferable. I would choose n1.
Please let me know your opinion about the results.
Regards Christian


Dateianhänge:
n2Rho_Cas_b_20171211.0021.fits [16.88 KiB]
131-mal heruntergeladen
n1Rho_Cas_b_20171211.0021.fits [16.88 KiB]
106-mal heruntergeladen
Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 05. Januar 2018, 18:31:21 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Hi Christian,

I attach a comparison of the two rectified spectra you produced and one I had done in SPLAT-VO. They differ to a degree but it is impossible to say which is best.

I would be pleased if you can tell me all the parameters you had set in "IRAF continuum" so I can try to replicate your results.

In the end I think consistency is important to ensure good EW measurements.

Once I have the continuum parameters from you I will process all my existing spectra to test how robust it is compared to my splat proceedure.

Regards Andrew
Dateianhang:
rho_cas_b_20171211_861_SAJB.png
rho_cas_b_20171211_861_SAJB.png [ 105.46 KiB | 2587 mal betrachtet ]


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 05. Januar 2018, 20:16:27 PM 
Offline
Meister
Benutzeravatar

Registriert: 11. November 2007, 18:11:30 PM
Beiträge: 1379
Hi Andrew,
for n1 I took the default values ( function = spline3 !), for n2 I set order = 2 and pressed the f-key to trigger a new approximation.
Which is yours?
I had a closer look into several papers and I see no need to change my opinion. By the way interpolation and approximation are not the same. An approximated curve has not to meet the sample points as opposed to an interpolated curve. This means that the set of approximations includes more curves than the set of interpolations. In the paper you sent me the name of Hermite is mentioned but not in the context of hermitian polynomials.
Regards Christian


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 05. Januar 2018, 21:35:14 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Sorry in order from the top n1 ,n2 and third in the list mine (Ratio: ...)

Regards Andrew


Nach oben
   
 Betreff des Beitrags: Re: SPLAT-VO
BeitragVerfasst: 06. Januar 2018, 13:41:45 PM 
Offline
Dauernutzer

Registriert: 10. Juli 2016, 13:53:59 PM
Beiträge: 101
Hi Christian,

I looked at the ELODIE archive and plotted the region we have been looking at rectifying.
Dateianhang:
Rho Cas Elodie .png
Rho Cas Elodie .png [ 60.96 KiB | 2564 mal betrachtet ]
Then using this as a guide I used the I used the SPLAT interpolation tool to generate a new rectification (black) and compared it with your n1 (red).

I used a set of points which I estimated from the ELODIE to be the continuum and then the hermite curve type to interpolate a continuum.
As expected this gives a similar result to the ELODIE spectrum and has a flatter ceiing than our previous attempts.
Dateianhang:
Rho Cas n1 SPLAT.png
Rho Cas n1 SPLAT.png [ 49.01 KiB | 2564 mal betrachtet ]
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