This page (revision-16) was last changed on 07-Dec-2016 14:14 by JianSun

This page was created on 19-Jul-2007 12:47 by LouiseHarra

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
16 07-Dec-2016 14:14 17 KB JianSun to previous
15 10-Nov-2008 10:25 17 KB JianSun to previous | to last
14 10-Nov-2008 10:21 17 KB JianSun to previous | to last
13 10-Nov-2008 10:21 17 KB JianSun to previous | to last
12 10-Nov-2008 10:21 17 KB JianSun to previous | to last
11 10-Nov-2008 06:56 17 KB David R Williams to previous | to last
10 07-Nov-2008 10:03 17 KB JianSun to previous | to last
9 05-Nov-2008 14:50 17 KB JianSun to previous | to last
8 05-Nov-2008 14:49 17 KB JianSun to previous | to last
7 05-Nov-2008 14:04 7 KB JianSun to previous | to last
6 05-Nov-2008 14:02 8 KB JianSun to previous | to last
5 05-Nov-2008 12:52 8 KB JianSun to previous | to last
4 05-Nov-2008 12:24 4 KB JianSun to previous | to last
3 05-Nov-2008 12:20 4 KB JianSun to previous | to last
2 19-Jul-2007 13:53 2 KB LouiseHarra to previous | to last
1 19-Jul-2007 12:47 2 KB LouiseHarra to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 removed 2 lines
[{ALLOW edit EISMainUsers}]
[{ALLOW view Anonymous}]
At line 5 removed 3 lines
%%information
routines marked with %%(color:red;)red-color%% are in common use.
%%
At line 9 changed 3 lines
__%%(color:red;)eis_auto_fit.pro%%__:
{{{
; This routine takes the output from eis_getwindata and performs a fit
__eis_auto_fit.pro __ : {{{
; This routine takes the output from EIS_GETWINDATA and performs a fit
At line 21 changed 2 lines
__%%(color:red;)eis_data~__getwindata.pro%%__ :
{{{
__eis_data~__getwindata.pro__ : {{{
At line 34 changed 2 lines
__eis_data~__getwinheader.pro__:
{{{
__eis_data~__getwinheader.pro__: {{{
At line 43 changed 2 lines
__eis_debias.pro__:
{{{
__eis_debias.pro__: {{{
At line 48 changed 2 lines
__eis_despike.pro__:
{{{
__eis_despike.pro__: {{{
At line 55 changed 2 lines
__eis_exposure_times.pro__ :
{{{
__eis_exposure_times.pro__ : {{{
At line 61 changed 2 lines
__eis_find_window.pro__:
{{{
__eis_find_window.pro__: {{{
At line 68 changed 2 lines
__eis_get_hdr_struc.pro__:
{{{
__eis_get_hdr_struc.pro__: {{{
At line 75 changed 2 lines
__eis_get_iwin.pro__:
{{{
__eis_get_iwin.pro__: {{{
At line 84 changed 2 lines
__%%(color:red;)eis_get_wininfo.pro%%__ :
{{{
__eis_get_wininfo.pro__ : {{{
At line 104 changed 2 lines
__%%(color:red;)eis_getdata.pro%%__:
{{{
__eis_getdata.pro__: {{{
At line 123 changed 2 lines
__eis_getlambda.pro__ :
{{{
__eis_getlambda.pro__ : {{{
At line 128 changed 2 lines
__%%(color:red;)eis_getmoments.pro%%__:
{{{
__eis_getmoments.pro__: {{{
At line 134 changed 2 lines
__%%(color:red;)[eis_getwindata.pro|EISGetWindata]%%__:
{{{
__eis_getwindata.pro__: {{{
At line 141 changed 2 lines
__%%(color:red;)eis_orbit_correction.pro%%__:
{{{
__eis_orbit_correction.pro__: {{{
At line 147 changed 2 lines
__eis_orbit_spline_quick.pro__:
{{{
__eis_orbit_spline_quick.pro__: {{{
At line 154 changed 2 lines
__%%(color:red;)eis_prep.pro%%__:
{{{
__eis_prep.pro__: {{{
At line 159 changed 2 lines
__eis_raster_browser.pro__:
{{{
__eis_raster_browser.pro__: {{{
At line 165 changed 2 lines
__eis_spike_viewer.pro__:
{{{
__eis_spike_viewer.pro__: {{{
At line 177 changed 2 lines
__fig_tsmean.pro__:
{{{
__fig_tsmean.pro__: {{{
At line 182 changed 2 lines
__line_centroid.pro__:
{{{
__line_centroid.pro__: {{{
At line 193 removed 276 lines
__eis_getfilename.pro__:
{{{
; A simple routine for turning a file name into an absolute file
; name. The routine looks in three places for the file: the present
; directory, the mission archive and the quick look directory. If
; nothing is passed a widget comes up, but this isn't very useful.
; EXAMPLE:
; IDL> file=eis_getfilename('eis_l0_20061202_140632')
; IDL> print,file
; .../eis/mission/2006/12/02/eis_l0_20061202_140632.fits.gz
}}}
__eis_help.pro__:
{{{
; Instatiates the hw_help object and calls the display_all method to give a
; first introduction to the object help documentation for the eis/hw software.
}}}
__photons_to_energy.pro__:
{{{
; Convert intensity from photons [ph m-2 s-1 sr-1] to energy in SI units
; [W m-2 sr-1]
}}}
__eis_get_compression_factor__:
{{{
; PURPOSE: Returns the reciprocal of the latest EIS compression factor
}}}
__%%(color:red;)eis_colors.pro%%__:
{{{
; set eis colortable for velocity & width maps display
}}}
__eis_raster_fov.pro__:
{{{
; PURPOSE : to calculate information about the field of view
; for an EIS raster
; EXAMPLE : IDL> d = eis_getwindata('eis_l0_20071221_001727')
; IDL> eis_raster_fov,d,scale,origin,fovx,fovy
; IDL> print,scale
; 1.00000 1.00000
; IDL> print,origin
; -32.9291 -79.1299
; IDL> print,fovx,fovy
; 128.000 184.000
}}}
__%%(color:red;)eis_element2mass.pro%%__:
{{{
; Returns the mass (in grams or kilograms) of an element.
; EXAMPLE:
;
; IDL> Fe_mass = element2mass('Fe')
; IDL> print,Fe_mass
; 9.27339e-23
}}}
__%%(color:red;)eis_slit_tilt.pro%%__:
{{{
; PURPOSE : Calculates the slit tilt as a function position
; along the CCD.
; EXAMPLE : dw = eis_slit_tilt(256,512,/short,locations=y)
; wvl = wvl - dw
; plot,y,dw
; ALTERNATIVE USAGE:
; d = eis_getwindata(file,wave)
; dw = eis_slit_tilt(d,locations=y)
}}}
__%%(color:red;)eis_wave_corr.pro%%__:
{{{
; PURPOSE : PRELIMINARY EIS wavelength corrections for
; orbital variations and slit tilt using moments.
; EXAMPLE : IDL> eis_wave_corr,file,wvl_corr,dw_tilt,dw_t,/show
; IDL> d.wvl = d.wvl - wvl_corr[i,j]
}}}
__eis_width2velocity.pro__:
{{{
; Compute thermal and nonthermal velocities.
; EXAMPLE:
;
; Some example thermal widths:
;
; v_t = eis_width2velocity('C','II',1335,/thermal,ti_max=t,therm_fwhm=fwhm)
;
; ion wave A temp K fwhm A
; C II 1335.00 2.2e+04 0.041
; C IV 1548.00 1.1e+05 0.105
; N V 1238.00 1.8e+05 0.101
; O I 1355.00 1.0e+04 0.024
; O IV 1401.00 1.7e+05 0.102
; Si II 1304.00 1.4e+04 0.021
; Si III 1206.00 3.0e+04 0.028
; Si IV 1393.00 6.3e+04 0.047
; S I 1472.00 1.0e+04 0.019
;
; Compare with Feldman, Doschek, and Patterson, ApJ, 209:270-281, 1976
;
; An example nonthermal velocity:
;
; v_nt = eis_width2velocity('S','I',1900.29,0.04,ti_max=t)
; v_nt = 3.0 km/sec
; t = 10,000 K
;
; Compare with Mariska, Feldman, and Doschek, ApJ, 226:698-705, 1978
}}}
__eis_add_wd_to_spec.pro__:
{{{
; This routine takes an EIS spectrum structure and fills in the
; intensity, error and quality tags using the input eis_getwindata
; structure and a pixel mask.
}}}
__eis_adjust_mask.pro__:
{{{
; Because of the grating tilt and CCD offset in the EIS
; instrument, the same pixel position in an EIS image formed from
; one wavelength will not directly correspond to the same pixel
; position in an image from a different wavelength. For this
; reason a pixel mask generated with EIS_PIXEL_MASK needs to be
; adjusted when being used for another wavelength.
;
; This routine performs the adjustment using information from the
; routine EIS_CCD_OFFSET.
}}}
__%%(color:red;)eis_ccd_offset.pro%%__:
{{{
; Evaluates the spatial offset of the specified wavelength relative
; to He II 256.
; EXAMPLES
; IDL> offset=eis_ccd_offset(195.12)
; IDL> l=findgen(120)+170
; IDL> plot,l,eis_ccd_offset(l)
}}}
__eis_cubic_spline.pro__:
{{{
; Creates an optimised cubic spline fit to the orbital variation of EIS
; emission line centroids. The spline is used by eis_orbit_spline to
; perform the orbital variation correction to the output of eis_auto_fit.
}}}
__eis_fit_viewer.pro__:
{{{
; Widget-based routine for studying the Gaussian fits produced by
; EIS_AUTO_FIT.PRO.
}}}
__eis_flag_night.pro__:
{{{
; Takes the fit structure from eis_auto_fit and estimates which
; data-columns fall into orbital night. Any columns identified are set
; to missing data in the fitdata data arrays, and the new structure is
; returned.
}}}
__eis_get_hdr_struc.pro__:
{{{
; This routine extracts selected information from an EIS data header
; into a structure. The particular fields taken from the header are
; defined in the file $SSW/hinode/eis/idl/atest/pyoung/headcat_tags.txt.
}}}
__eis_make_image.pro__:
{{{
; Given a level-1 FITS file name and a wavelength, this routine
; creates an image at the specified wavelength by summing 7 pixels
; across the line profile.
}}}
__%%(color:red;)eis_orbit_spline.pro%%__:
{{{
; Takes the centroid tag from the output of the EIS_AUTO_FIT
; routine and computes a fit to the orbital variation. The velocity array
; is averaged in the Y-direction (see the keyword YRANGE=), and a cubic
; spline is fit to the averaged function (see the routine
; EIS_CUBIC_SPLINE). The spline fit is then subtracted from the centroid
; array to give the corrected centroid array. The velocity array is also
; corrected by converting the centroid to km/s.
}}}
__eis_pixel_mask.pro__:
{{{
; This is a mouse-based routine that requires for input an image
; array. The image is displayed and a `menu' will appear in the
; IDL window. The options are:
;
; LEFT: Go into `polygon' mode
; MIDDLE: Go into `painting' mode
; RIGHT: Exit
; EXAMPLES:
; EIS_PIXEL_MASK, IMAGE, MASK, WVL, SLIT
; EIS_PIXEL_MASK, IMAGE, MASK, WVL, SLIT, COL=255, MAXIMAGE=0.5
}}}
__eis_mask_spectrum.pro__:
{{{
; Using a pixel mask created with EIS_PIXEL_MASK, this routine
; averages the EIS spectra over the specified spatial pixels to
; create an averaged spectrum. The error bars on the intensities
; are correctly calculated.
; EXAMPLE:
; IDL> eis_mask_spectrum, l1name, mask, swspec=swspec, lwspec=lwspec'
}}}
__%%(color:red;)eis_tilt_correction.pro%%__:
{{{
; Corrects the eis_auto_fit fit structure for the tilt of the EIS slit.
; Both the 1" and 2" slits are accounted for.
}}}
__eis_winwvl_hdr.pro__:
{{{
; For the specifed wavelength window in an EIS data object, this routine
; returns the wavelength vector for the window.
}}}
__errors.pro__:
{{{
; Given two line intensities/fluxes and their 1-sigma errors,
; calculates the ratio and the 1-sigma error on the ratio.
}}}
__%%(color:red;)fe12_density.pro%%__:
{{{
; Takes the Fe XII 195 and 186 fit structures produced by eis_auto_fit,
; and creates a density structure containing a density map. The densities
; are derived used the CHIANTI atomic database.
}}}
__spec_gauss_eis.pro__:
{{{
; This routine is a 'wrapper' for calling the general purpose
; line fitting routine SPEC_GAUSS_WIDGET. For creating the input
; spectrum in the correct format, try using the routine
; EIS_MASK_SPECTRUM.
}}}
__%%(color:red;)eis_find_lineraster.pro%%__:
{{{
; Searches if a specific wavelength is within the wavelength
; range of observation of the rasters in the EIS database.
; Example:
; Look for 195.33:
; IDL> acronyms=eis_find_lineraster(195.33,summary=summary,rasters=rasters,lines=lines)
}}}
At line 471 changed 2 lines
__%%(color:red;)xfiles.pro%%__:
{{{
__xfiles.pro__:{{{
At line 481 changed 2 lines
__xmap.pro__: calling by xfiles.pro only
{{{
__xmap.pro__: calling by xfiles.pro only {{{
At line 488 changed 2 lines
__xcontrol.pro__: calling by xfiles.pro only
{{{
__xcontrol.pro__: calling by xfiles.pro only {{{
At line 496 changed 2 lines
__xdetector.pro__: calling by xfiles.pro only
{{{
__xdetector.pro__: calling by xfiles.pro only {{{
At line 503 changed 2 lines
__xraster.pro__: calling by xfiles.pro only
{{{
__xraster.pro__: calling by xfiles.pro only {{{
At line 512 changed 2 lines
__xwhisker.pro__: calling by xfiles.pro only
{{{
__xwhisker.pro__: calling by xfiles.pro only {{{
At line 520 changed 2 lines
__xmoment.pro__: calling by xfiles.pro only
{{{
__xmoment.pro__: calling by xfiles.pro only {{{
At line 528 removed 27 lines
__ximovie.pro__: calling by xfiles.pro only
{{{
; XIMOVIE provides a widget interface to run and control
; images displayed as a movie. The images must be written
; as an assoc file.
}}}
!!Other useful routines
__%%(color:red;)eis_cat.pro%%__:
{{{
; Purpose : widget interface to EIS AS-RUN catalog
; Syntax : IDL> eis_cat
}}}
__eis_search_rasters.pro__:
{{{
; PURPOSE : To search the EIS raster database
; EXAMPLE : eis_search_rasters
}}}