View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Fluxing problem

T_anestis wrote on Mar 10, 2009

Hi

I am trying to flux calibrate my sources. The spectrum that i got from the standard star (HD 93521) is not in the onedstds/ list.

I got a spectrum of the star from the net i have in the same directory as the data and i also include the path in the script standard in the cal dir parameter and i get this:

Input image file root name (STAR_wave):
Output flux file (used by SENSFUNC) (std):
No extinction correction applied
STAR_wave(1): HD93521
Star name in calibration list ( ):
Warning: Cannot open file (./home/anestis/ALFOSC-spectra/ALL/check/TEST/sd93521.datstandards.men)
Star name in calibration list ( ):
ERROR: Cannot open file (/home/anestis/ALFOSC-spectra/ALL/check/TEST/sd93521.datstandards.men)

How i can i solve this problem? Also what units should i use?
Wavelength vs magnitudes or wavelength vs flux?

Thanx a lot

Anestis

Francisco Valdes wrote on Mar 10, 2009

In IRAF it is usually required and always a good idea that when a directory must be specified it end with '/' or '$'. In the latter case of a logical directory the value should resolve to a directory ending with a '/'. That is why you get something like

sd93521.datstandards.men

instead of

sd93521.dat/standards.men

Given that this still is wrong. You should post the parameters from an 'lpar standards" command. I can not recall immediately if the .men menu file is required, I would have thought it was optional. I guess it is trying to list the menu file because it did not find the dat file for the star.

Yours,
Frank Valdes

Last post on Mar 10, 2009