Sie sind auf Seite 1von 9

Flat Field correction After successful completion of the command CALIBRATE/ECHELLE, the next step in the reduction is the

preparation of the FLATs, i.e. the subtraction of the background level and the preparation of the file which is needed to normalise each FLAT. The flat field correction is an optional step, it may not be needed in the case of objects exposed in the short wavelength range of the echelle (images centered at ). If you do not want to perform a flat field correction, set the echelle keyword FFOPT to NO and skip this section. Otherwise, type:
SET/ECHELLE FFOPT=YES FLAT=...

It is advised to replace the default names ffcorr and blaze for the output files by some readily identifiable ones via the command:
SET/ECHELLE CORRECT=... BLAZE=...

All paramters corresponding to the Background, Extraction and Rebin (sections 2, 4, 7) in the SHOW/ECHELLE must be set. See MIDAS User Manual, Vol. B, Chapter 8 (Echelle Spectra) for more details on the different background and extraction methods. The command to reduce the FLATs is simply:
FLAT/ECHELLE [flat] [correct] [blazecorr]

If you are following the tutorial, a plot will appear after a while in order to monitor the quality of the process. You will see a vertical trace of the raw flat field on top of the fitted background. After a short while a frame will appear on the image display showing the residuals of the fit at the grid points which have been used to determine the background. As explained in Section Background definition the background is fitted to points located in the interorder space.This residual map is stored in the intermediate frame &Z The sequence described above should be applied both to the standard stars and objects with their corresponding flatfield and wavelength calibration images. Use the command SAVE/ECHELLE name to save the relevant files containing the result of the calibrations. The next step is the computation of the instrument response. It will involve the observed standard star(s). If you do not have one available, you could still use this procedure assuming that your object is itself a standard star with flux unity. If you are following the tutorial, the table LTT1020 with absolute fluxes of this standard will be copied from the areaMID_CASPEC into your work space by the command SET/ECHELLE

FLUX=LTT1020.

Other tables are also available or you can prepare your own table or use the table UNITY. The following parameters have to be supplied: SLIT, OFFSET, SAMPLE and FLUXTAB, the identification of the standard star table which is to be used. To determine SLIT and OFFSET use the same procedure that was used on the FLAT to determine WIDTH1. To determine the OFFSET of the location of the orders for the object with respect to the flatfield the same column should of course be specified. SAMPLEdetermines the step with which the data in the final image will be sampled. When all the parameters are set, give the command:
RESPONSE/ECHELLE

This command performs the following tasks. It determines the background in the standard star and subtracts it. Then it divides by the FLAT, extracts the orders and rebins them. The counts are reduced to an exposure time of one second and the orders are binned into the same wavelength intervals as the corresponding standard star table (at present this means 12 intervals). The table values are divided by the observed counts to give the conversion to absolute flux units, the response. The response frame is lastly interpolated to the resolution required by the parameter SAMPLE using a low order polynomial. In order to cancel effects introduced by differences in the FLAT for the standard star and the object, the flatfield normalisation is applied. To check the accuracy of the calibration, the standard star is reduced as if it was an object. The response correction is applied to the STD and the individual orders are merged to form a one-dimensional spectrum. A description of these last steps is given in the part which describes the command REDUCE/ECHELLE. The instrument response is called RESPONSE by default, but you could assign a different name, with the command
SET/ECHELLE RESPONSE=yourname

before executing RESPONSE/ECHELLE. If you do not want to correct for the instrument response, assign the value NO to the RESPOPT parameter as
SET/ECHELLE RESPOPT=NO

and skip the RESPONSE/ECHELLE command. does not require any user interaction. It is advised, however, to monitor the intermediate results which appear at various stages on the screen and to inspect some of the intermediate files. Two steps are particularly delicate. The first one is the fitting of the background. As already mentioned before one should not specify too high an order for the 2D-polynomial. If BIAS and DARK frames have been subtracted a mere off-set (degree 0,0) might be sufficient, of course depending on the exposure level. A careful inspection of the residuals of the background fitting as produced byBACKGROUND/ECHELLE will help in deciding the optimal choice. Small errors in the background fit will, at the edges of the orders be amplified due to the
REPONSE/ECHELLE

correction for the blaze. This may critically influence the results on the final, merged spectrum. The second delicate step is the interpolation of the response frame to the required wavelength step. The sampling step of the table is 12 . This means about 10 calibration points per order. However discrepant pixels in the response frame which occur either at the end or beginning of an order can influence the fit. The effect is therefore again serious because the correction at the edges of the orders will be larger. will display on the monitor the resulting frame showing the response of the instrument at the resolution of the standard star spectrum specified by SAMPLE. Any discrepant pixels can be readily identified. To remove these, use the command
RESPONSE/ECHELLE REPEAT/ECHELLE

(It is not a nice name but you are repeating some of the steps ) This command will execute MODIFY/AREA. Identify, using the cursor, all pixels which should be excluded from the polynomial fit. When this is done, the command will execute the same set of steps as RESPONSE/ECHELLE and ultimately produce a new version of the RESPONSE file. Even after this editing, the resulting response might still lead to unsatisfactory results. The reason is quite obvious. The sampling step of the standard star table is too large and therefore the number of reference pixels per order is too small, especially if one moves towards the blue end of the spectrum or if one has used the binned read-out mode. A possible way out of this problem is to use standard star tables sampled at about 3 instead of 12 . In the current version, standard star tables sampled at lower steps are obtained by interpolating the 12 tables. Note that the intrinsic resolution of the tables remains low and narrow (absorption) lines which are present in the standard star observation will not be present in the table. Test runs have shown that the response computed using a 3 sampling is superior to the one using the tables sampled at 12 . Absorption lines which are not present in the table give of course a wrong response correction but these regions can be easily edited using REPEAT/ECHELLE. Real high resolution tables will become available in future versions. At this stage, everything is ready to reduce your observed spectrum. To reduce the object give the command INIT/ECHELLE to initialise the tables belonging to the object. Instead of specifying the wavelength step in one should now specify a reference file which determines the sampling of the final spectrum. This is normally the response file. Do not forget to specify also the parameter RESPONSE.

All parameters in sections Background, Extraction, Rebin, Flat-Field Correction, Response Correction, Merging as displayed by SHOW/ECHELLE must be checked. Now type:
REDUCE/ECHELLE input output

where input and output are the input object frame and the one-dimensional output spectrum respectively. REDUCE/ECHELLE follows essentially the same steps as RESPONSE/ECHELLE. The background is determined and subtracted, the image is divided by the flatfield and the echelle orders are extracted and rebinned; the counts are normalised to an exposure time of one second. The orders are not yet corrected for the differential extinction between STD and OBJ. They are multiplied by the response and by the flatfield normalisation. As in RESPONSE/ECHELLE the determination of the background is a delicate step which needs careful monitoring. Individual orders can be extracted using the level 1 command
MERGE/ECHELLE & name order1,order2 NOAPPEND

where & is a temporary file name (WARNING: This file will be deleted by the system when you initialise MIDAS again) created by REDUCE/ECHELLE. The parameter name is the root for the output file names to which the order number will be appended, parameters order1,order2 define the order range and NOAPPEND defines this ''method of merging`` orders. You will find all this in the tutorial. The individual orders can be plotted to check the accuracy of the method in the region where the orders overlap. These steps, only four high level commands plus the corresponding SET/ECHELLE definitions, are the standard reduction. Depending on the type of observations, the operation can be optimised by running the commands in batch mode. Use the interactive command CALIBRATE/ECHELLE at a MIDAS work station and save the session status with the command
SAVE/ECHELLE name

where name is the session name. The rest of the reduction can be done completely in batch mode at some other time, probably at night, creating a procedure like
INIT/ECHELLE name1 SHOW/ECHELLE FLAT/ECHELLE RESPONSE/ECHELLE REDUCE/ECHELLE input1 output1 REDUCE/ECHELLE ... INIT/ECHELLE name2 ...

where name1 ... are names of previously saved sessions, and input1 ..., output1 ... are the raw image and reduced spectrum, respectively. The command RESPONSE/ECHELLE can be excluded from the batch procedure given the interactive editing required.

Correo de terreno plano Aps a concluso bem sucedida do comando CALIBRATE / echelle , o prximo passo na reduo a preparao do PLANA s, isto , a subtraco do nvel de fundo e da preparao do arquivo que necessria para normalizar cada PLANA . A correco de campo plana um passo opcional, pode no ser necessria no caso de objectos expostos na gama de comprimento de onda curto do echelle (imagens centrado em ). Se voc no quiser realizar uma correo de terreno plano, defina a palavra-chave echelle FFOPT de NO e pular esta seo. Caso contrrio, digite:
SET / echelle FFOPT = YES PLANA = ...

aconselhvel substituir o padro ffcorr nomes e chama para os arquivos de sada por parte de alguns mais facilmente identificveis atravs do comando:
SET / echelle CORRETO = ... BLAZE = ...

Todos os paramters correspondentes ao Fundo de extrao, e Rebin (sees 2, 4, 7) no SHOW / echelle deve ser definido. Veja MIDAS Manual do Usurio, vol. B, captulo 8 (Echelle Spectra) para obter mais detalhes sobre o plano de fundo diferente e mtodos de extrao. O comando para reduzir o PLANA s simplesmente:
FLAT / echelle [plano] [correto] [blazecorr]

Se voc est seguindo o tutorial, um grfico aparecer depois de um tempo, a fim de monitorar a qualidade do processo. Voc ver um trao vertical do campo-prima plana na parte superior do fundo equipada. Depois de um curto espao de tempo uma moldura aparecer no visor de imagem mostrando os resduos do ajuste com os pontos de grade que tm sido utilizados para determinar o fundo.Conforme explicado na seco de definio de

fundo plano de fundo montado pontos localizados no mapa space.This interorder residual armazenado na armao intermdia e Z A seqncia descrita acima deve ser aplicado tanto para as estrelas normais e objetos com sua flatfield correspondente e imagens de calibrao de comprimento de onda. Use o comando nome SAVE / echelle para salvar os arquivos relevantes, contendo o resultado das calibraes. O prximo passo o clculo da resposta do instrumento. Vai envolver a estrela padro observada (s). Se voc no tiver um disponvel, voc ainda pode usar este procedimento assumindo que o seu objeto uma estrela padro com a unidade de fluxo. Se voc est seguindo o tutorial, a tabela LTT1020 com fluxos absolutos desta norma ser copiado da rea MID_CASPEC em seu espao de trabalho pelo comando SET / FLUX echelle = LTT1020 . Outras mesas tambm esto disponveis ou voc pode preparar sua prpria mesa ou use a tabela UNIDADE . Os seguintes parmetros tm de ser fornecidos: SLIT , OFFSET , AMOSTRA e FLUXTAB , a identificao da tabela de estrela padro que para ser utilizado. Para determinar SLIT e OFFSET usar o mesmo procedimento que foi utilizado no PLANO para determinar WIDTH1 . Para determinar o OFFSET da localizao das ordens para o objecto com respeito ao flatfield mesma coluna deve, evidentemente, ser especificado. AMOSTRA determina o passo com os quais os dados da imagem final ser amostrado. Quando todos os parmetros so definidos, d o comando:
RESPOSTA / echelle

Este comando executa as seguintes tarefas. Ele determina a fundo na estrela padro e subtrai-lo. Em seguida, divide-se pela PLANA , extrai as ordens e rebins-los. As contagens so reduzidos a um tempo de exposio de um segundo e as ordens so binned nos intervalos de mesmo comprimento de onda como a tabela estrela correspondente padro (no momento, isso significa intervalos de 12 ). Os valores da tabela so divididas por as contagens observadas para dar a converso em unidades absolutas de fluxo, a resposta. A armao de resposta por ltimo interpolados para a resoluo requerida pelo parmetro AMOSTRA utilizando um polinmio de ordem inferior. A fim de cancelar efeitos introduzidas pelas diferenas na PLANA para a estrela padro eo objeto, a normalizao flatfield aplicada. Para verificar a preciso da calibrao, a estrela padro reduzido como se fosse um objeto. A correco da resposta aplicado ao STD e as encomendas individuais so fundidos para formar um espectro unidimensional. Uma descrio destes ltimos passos dada na parte que descreve o comando REDUZIR / echelle . A resposta do instrumento chamado RESPOSTA , por padro, mas voc pode atribuir um nome diferente, com o comando
SET / RESPOSTA echelle seunome =

antes de executar RESPOSTA / echelle . Se voc no quer para corrigir a resposta do instrumento, atribuir o valor NO para o RESPOPT parmetro como
SET / echelle RESPOPT = NO

e ignorar a RESPOSTA
RESPOSTA / echelle

/ echelle

comando.

no requer nenhuma interao do usurio. aconselhvel, no entanto, para monitorar os resultados intermedirios que aparecem em vrios estgios na tela e para inspecionar alguns dos arquivos intermedirios. Dois passos so particularmente delicado. O primeiro o encaixe do fundo. Como j mencionado antes, no se deve especificar muito alta ordem para o 2D-polinomial. SeBIAS e ESCURA quadros foram subtrados uma mera off-set (grau 0,0) pode ser suficiente, claro, dependendo do nvel de exposio. Uma inspeo cuidadosa dos resduos da montagem do fundo como produzido por ANTECEDENTES / echelle vai ajudar a decidir a escolha ideal. Pequenos erros no ajuste do fundo vai, nas bordas das ordens ser amplificado, devido correco para o fogo. Isso pode influenciar criticamente os resultados no espectro final, resultante da fuso. O segundo passo delicado a interpolao do quadro de resposta para o passo de comprimento de onda desejado. O passo de amostragem da tabela 12 . Isso significa cerca de 10 pontos de calibrao por encomenda. No entanto pixels discrepantes no quadro de resposta que ocorrem quer no incio ou no fim de uma ordem pode influenciar o ajuste. O efeito , por conseguinte, mais uma vez grave, porque a correco com os bordos das ordens ser maior. ser exibido no monitor o quadro resultante mostra a resposta do instrumento para a resoluo do espectro estrela padro especificado pela AMOSTRA . Quaisquer pixels discrepantes pode ser prontamente identificada. Para remover estes, utilizar o comando
RESPOSTA / echelle REPEAT / echelle

(No um bom nome, mas voc est repetindo alguns dos passos ) Este comando ir executar MODIFY / REA . Identificar, com o cursor e todos os pixels que devem ser excludos do polinmio.Quando isso for feito, o comando ir executar o mesmo conjunto de passos como RESPOSTA / echelle e, finalmente, produzir uma nova verso do RESPOSTA arquivo. Mesmo depois desta edio, a resposta resultante pode ainda levar a resultados insatisfatrios. A razo bastante bvia. O passo de amostragem da tabela de estrela padro demasiado grande e, portanto, o nmero de pixels de referncia por fim muito pequena, especialmente se se move no sentido da extremidade azul do espectro, ou se tem utilizado a uma binned modo de leitura para fora. Uma possvel sada para este problema usar tabelas estrela padro da amostra em cerca de 3 em vez de 12 . Na verso atual, as tabelas de estrelas padro amostradas em degraus mais baixos so obtidos por

interpolao as 12 mesas . Note-se que a resoluo intrnseca das tabelas permanece baixa e estreita (absoro) de linhas que esto presentes na observao estrela padro no estar presente na tabela. Execues de teste mostraram que a resposta foi calculada utilizando uma 3 amostragem A superior ao utilizando as tabelas amostrados a 12 . Linhas de absoro que no esto presentes na tabela de dar, naturalmente, uma correo de resposta errada, mas estas regies podem ser facilmente editadas utilizando REPEAT / echelle . Reais tabelas de alta resoluo estaro disponveis em verses futuras. Nesta fase, tudo est pronto para reduzir o espectro observado. Para reduzir o objeto d o comando INIT / echelle para inicializar as tabelas que pertencem ao objeto. Em vez de especificar o passo de comprimento de onda de um um deve agora especificar um arquivo de referncia que determina a amostragem do espectro final. Este normalmente o arquivo de resposta. No se esquea de especificar tambm o parmetro RESPOSTA . Todos os parmetros nas sees de extrao de fundo, Rebin, Flat-Field, Correco de resposta, fuso como indicado por SHOW / echelle devem ser verificados. Agora digite:
REDUZIR / sada entrada echelle

onde a entrada e sada so o quadro de objeto de entrada e sada do espectro unidimensional, respectivamente. REDUZIR / echelle segue essencialmente os mesmos passos RESPOSTA / echelle .O fundo determinada e subtrada, a imagem dividida pelo flatfield e as ordens echelle so extrados e rebinned; as contagens so normalizados para um tempo de exposio de um segundo. As encomendas ainda no esto corrigidos para a extino diferencial entre DST e OBJ . Eles so multiplicados pelo resposta e pela normalizao flatfield. Como em RESPOSTA / echelle a determinao do fundo uma etapa delicada, que necessita de acompanhamento cuidadoso. Os pedidos individuais podem ser extrados usando o comando 1 nvel
MERGE / echelle & nome order1, order2 NOAPPEND

onde e um nome de arquivo temporrio (ATENO: Este arquivo ser excludo pelo sistema quando voc inicializar novamente MIDAS) criado por REDUZA / echelle . O parmetro nome a raiz para os nomes de arquivo de sada para que o nmero de ordem sero anexados, parmetros order1, order2 definem a faixa de ordem e NOAPPEND define este mtodo'' de fundir ordens ``. Voc vai encontrar tudo isso no tutorial. As ordens individuais podem ser representados de verificar a exactido do mtodo na regio onde as ordens se sobrepem.

Estas etapas, apenas quatro comandos de alto nvel, mais o correspondente SET / echelle definies, so a reduo padro. Dependendo do tipo de observaes, a operao pode ser optimizada, executando os comandos no modo em lotes. Use o comando interativo CALIBRAR / echelle em uma estao de trabalho MIDAS e salvar o status da sesso com o comando
SAVE / echelle nome

onde nome o nome da sesso. O resto da reduo pode ser feito totalmente no modo em lotes em alguma outra hora, provavelmente durante a noite, a criao de um procedimento semelhante
INIT / echelle name1 SHOW / echelle FLAT / echelle RESPOSTA / echelle REDUZA / echelle input1 output1 REDUZA / echelle ... INIT / echelle nome2 ...

onde nome1 ... so nomes de sesses salvas anteriormente e input1 episdio e output1 ... so a imagem crua e espectro reduzido, respectivamente. O comando RESPOSTA / echelle podem ser excludos do processo de lote, dada a edio interativa necessrio.

Das könnte Ihnen auch gefallen