accum_counts [1] $SSW/hessi/idl/atest/hsi_ok_intv.pro
[Next]
 NAME:
	accum_counts
 CALLING SEQUENCE:
	total_cnts = accum_counts(data, ss_start, ss_end)
 PURPOSE:
       Given this will total counts for a series of intervals,
       given by start and end subscripts, ss_start and ss_end
 INPUT:
	data= a vector, or 2 or 3d array, the last index is totaled
       ss_start = the starting subscripts of the intervals chosen
       ss_end = the ending subscripts of the chosen intervals
 OUTPUT:
       total_counts = the data summed over the intervals given by
                      ss_start and ss_end.
 CALLS: ***
	DELVARX [1], DELVARX [2], DELVARX [3], DELVARX [4], HSI_PACKET, HSI_SCTIME2ANY
	anytim [1], anytim [2], anytim [3], anytim [4], anytim [5], delvarx [5]
	hsi_data_header_unpack, hsi_new_obs_summ_soc, hsi_obs_summ_soc
	hsi_ok_intv [1], hsi_ok_intv [2], is_struct, ptim
 CALLED BY:
	goes_teem, goesem_eqn [1], goest_eqn [1], grs32_fsp, grsl_fsp, hsi_ok_intv [1]
	hsi_ok_intv [2], hxs_fsp, hxsgrs_fsp, hxt_fsp, hxt_fsp1, sxthxt_fsp, sxtth_hxt
 HISTORY:
       30-Mar-95, jmm


accum_counts [2] $SSW/hessi/idl/qlook_archive/hsi_ok_intv.pro
[Previous] [Next]
 NAME:
	accum_counts
 CALLING SEQUENCE:
	total_cnts = accum_counts(data, ss_start, ss_end)
 PURPOSE:
       Given this will total counts for a series of intervals,
       given by start and end subscripts, ss_start and ss_end
 INPUT:
	data= a vector, or 2 or 3d array, the last index is totaled
       ss_start = the starting subscripts of the intervals chosen
       ss_end = the ending subscripts of the chosen intervals
 OUTPUT:
       total_counts = the data summed over the intervals given by
                      ss_start and ss_end.
 CALLS: ***
	DELVARX [1], DELVARX [2], DELVARX [3], DELVARX [4], HSI_PACKET, HSI_SCTIME2ANY
	anytim [1], anytim [2], anytim [3], anytim [4], anytim [5], delvarx [5]
	hsi_data_header_unpack, hsi_new_obs_summ_soc, hsi_obs_summ_soc
	hsi_ok_intv [1], hsi_ok_intv [2], is_struct, ptim
 CALLED BY:
	goes_teem, goesem_eqn [1], goest_eqn [1], grs32_fsp, grsl_fsp, hsi_ok_intv [1]
	hsi_ok_intv [2], hxs_fsp, hxsgrs_fsp, hxt_fsp, hxt_fsp1, sxthxt_fsp, sxtth_hxt
 HISTORY:
       30-Mar-95, jmm


ADMIN_CONTROL__DEFINE $SSW/hessi/idl/objects/admin_control__define.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       ADMIN_CONTROL__DEFINE

 PURPOSE:
       Defines the structure that contains the administrative
       parameters. It is managed by the structure_manager program
       through framework__define, so
       usually you dont care about this structure.

 CATEGORY:
       Util

 CALLING SEQUENCE:
       struct = {admin_control}

 HISTORY:
       2004-05-21 - changed the last update from double to long to
                    use a counter instead of systime for the last
                    update stuff.
       2001-05-26 - modified, dont remember exaclty what changed
       Version 1, October 29, 1999,
           A Csillaghy, csillag@ssl.berkeley.edu


ALL3 $SSW/hessi/idl/sims/menu/all3.pro
[Previous] [Next]

 NAME: ALL3
	

 PURPOSE: This is a special purpose one-time code to support
	the production of the ang_cov, mod_amp, and effective area
	figures on a single page using Postscript.


 CATEGORY: HESSI


 CALLING SEQUENCE: HESSI


 CALLS:
	none
 INPUTS:
       none explicit, everything is hard-coded and expected to break
	if it is run at a later time.

 OPTIONAL INPUTS:
	none

 OUTPUTS:
       none explicit, only through commons;

 OPTIONAL OUTPUTS:
	none

 KEYWORDS:
	none
 COMMON BLOCKS:
	none

 SIDE EFFECTS:
	none

 RESTRICTIONS:
	none

 PROCEDURE:
	none

 MODIFICATION HISTORY:
	Version 1, richard.schwartz@gsfc.nasa.gov, 21-jan-1998.


ANGC_GET_GD $SSW/hessi/idl/sims/menu/angc_get_gd.pro
[Previous] [Next]
 Project     : HESI
                   
 Name        : ANGC_GET_GD
               
 Purpose     : Program to get needed values for plotting Angular Coverage of HESI
		compared to previous solar instruments.

               
 Category    : HESI 
               
 Explanation : 
               
 Use         : 
    
 Inputs      : 
               
 Opt. Inputs : None
               
 Outputs     : E_diff_50 - energy for which diffraction reduces mod amp by 50%.
               E_trans_50- energy for which grid transmission reduces mod amp by 50%.
               Res- Grid resolution in arcseconds.

 Opt. Outputs: None
               
 Keywords    : GDFILE - Grid file name, may need full path if not in hesi directory,
		current directory, or $SSWDB_HESI

 Calls	      : ***
	INTERPOL, PLOT_GD_CALC, PROCESS_XCOM_GD, READ_GDFILE_GD
 CALLED BY:
	PLOT_ANGC [1], PLOT_ANGC [2]
 Common      : None
               
 Restrictions: 
               
 Side effects: None.
               
 Prev. Hist  :
 Based on program GD.PRO which calculated grid characteristics based
 on HESI strawman proposal

 Modified    : 
 	gd_12_c.dat replace by d, with 25 mm thick for 10-12 grids-- 5/25/95 eac

 	5/26/95, change process_xcom_gd to use idl SAV files instead of 
 	read_xcom_dat.pro
	Version 4, RAS, 17-apr-1997, cleaned it up.


ANNULAR SECTOR MODULATION PATTERN CONTROL STRUCTURE DEFINITION [1] $SSW/hessi/idl/image/memvis/hsi_vismod_pattern_control__define.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       ANNULAR SECTOR MODULATION PATTERN CONTROL STRUCTURE DEFINITION

 PURPOSE: 
       Defines the control parameters required by the annular sector
       modulation pattern imaging strategy

 CATEGORY:
       HESSI Utilities
 
 CALLING SEQUENCE: 
       var = {hsi_modul_patterm_control}

 TAG NAMES:

 CALLS: ***
	HSI_VISMOD_PATTERN_CONTROL__DEFINE
 SEE ALSO:
 HISTORY:
       Release 6: split into hsi_annsec_pattern_control and
                  hsi_modul_pattern_control
                  March 2001, csillag@ssl.berkeley.edu
	Release 5 development, June 2000, richard.schwartz@gsfc.nasa.gov.
		Added two parameters, r0_offset and xaxis_fov.
		R0_offset is the distance in arcseconds between 
               the annular sector axis (not nececessarily
		the telescope axis or sun-center) and the map center. 
               r0_offset must be greater than
		the half-length of the FOV along the radial
		directions.  
               It's default is image_dim[0]*
		pixel_size[0] * pixel_scale  * 10.
		Xaxis_fov is a switch.  Default value is 1.  
               When set, the orientation of the annular sector
		FOV is along the positive X axis, i.e. 
               the direction defined by the radial running through
		the axis of symmetry is parallel to the X axis.
       Release 3 development, August 1999
       Release 2, June 1999, 
           A Csillaghy, csillag@ssl.berkeley.edu


ANNULAR SECTOR MODULATION PATTERN CONTROL STRUCTURE DEFINITION [2] $SSW/hessi/idl/util/annsec/hsi_annsec_pattern_control__define.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       ANNULAR SECTOR MODULATION PATTERN CONTROL STRUCTURE DEFINITION

 PURPOSE:
       Defines the control parameters required by the annular sector
       modulation pattern imaging strategy

 CATEGORY:
       HESSI Utilities

 CALLING SEQUENCE:
       var = {hsi_modul_patterm_control}

 TAG NAMES:

 CALLS: ***
	HSI_ANNSEC_PATTERN_CONTROL__DEFINE
 SEE ALSO:
 HISTORY:
       Release 6: split into hsi_annsec_pattern_control and
                  hsi_modul_pattern_control
                  March 2001, csillag@ssl.berkeley.edu
	Release 5 development, June 2000, richard.schwartz@gsfc.nasa.gov.
		Added two parameters, r0_offset and xaxis_fov.
		R0_offset is the distance in arcseconds between
               the annular sector axis (not nececessarily
		the telescope axis or sun-center) and the map center.
               r0_offset must be greater than
		the half-length of the FOV along the radial
		directions.
               It's default is image_dim[0]*
		pixel_size[0] * pixel_scale  * 10.
		Xaxis_fov is a switch.  Default value is 1.
               When set, the orientation of the annular sector
		FOV is along the positive X axis, i.e.
               the direction defined by the radial running through
		the axis of symmetry is parallel to the X axis.
       Release 3 development, August 1999
       Release 2, June 1999,
           A Csillaghy, csillag@ssl.berkeley.edu
		11-dec-2001, ras,
			moved pixel_scale to modul_pattern_control from annsec_pattern_control


ANNULAR SECTOR MODULATION PATTERN [1] $SSW/hessi/idl/image/memvis/hsi_vismod_pattern_control.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       ANNULAR SECTOR MODULATION PATTERN 
       CONTROL STRUCTURE INITIALIZATION

 PURPOSE: 
       This function returns an initialized structure of type
       {hsi_ANNSEC_pattern_control}

 CATEGORY:
       HESSI Utilities
 
 CALLING SEQUENCE: 
       var = HSI_Annsec_Pattern_Control()

 OPTIONAL OUTPUTS:
       var: a variable containing the following tag names:
		R0_offset: is the distance in arcseconds between  
                          the annular sector axis (not nececessarily
		           the telescope axis or sun-center) 
                          and the map center. r0_offset must be greater than
		           the half-length of the FOV along the radial
		           directions.  
                          Its default is image_dim[0]*pixel_size[0] * pixel_scale  * 10.
		Xaxis_fov: is a switch.  Default value is 1.  
                          When set, the orientation of the annular sector
		           FOV is along the positive X axis, i.e. the
		           direction defined by the radial running through
		           the axis of symmetry is parallel to the X axis.
       
 CALLS: ***
	HSI_MODUL_PATTERN_STRATEGY_CONTROL, HSI_VISMOD_PATTERN_CONTROL
 HISTORY:
	Release 5, 5-jun-2000.
	             richard.schwartz@gsfc.nasa.gov, 
                    added xaxis_fov and r0_offset parameters.
       Version 1, May 17, 1999, 
           A Csillaghy, csillag@ssl.berkeley.edu


ANNULAR SECTOR MODULATION PATTERN [2] $SSW/hessi/idl/util/annsec/hsi_annsec_pattern_control.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       ANNULAR SECTOR MODULATION PATTERN
       CONTROL STRUCTURE INITIALIZATION

 PURPOSE:
       This function returns an initialized structure of type
       {hsi_ANNSEC_pattern_control}

 CATEGORY:
       HESSI Utilities

 CALLING SEQUENCE:
       var = HSI_Annsec_Pattern_Control()

 OPTIONAL OUTPUTS:
       var: a variable containing the following tag names:
		R0_offset: is the distance in arcseconds between
                          the annular sector axis (not nececessarily
		           the telescope axis or sun-center)
                          and the map center. r0_offset must be greater than
		           the half-length of the FOV along the radial
		           directions.
                          Its default is image_dim[0]*pixel_size[0] * pixel_scale  * 10.
		Xaxis_fov: is a switch.  Default value is 1.
                          When set, the orientation of the annular sector
		           FOV is along the positive X axis, i.e. the
		           direction defined by the radial running through
		           the axis of symmetry is parallel to the X axis.

 CALLS: ***
	HSI_ANNSEC_PATTERN_CONTROL, HSI_MODUL_PATTERN_STRATEGY_CONTROL
 HISTORY:
	Release 5, 5-jun-2000.
	             richard.schwartz@gsfc.nasa.gov,
                    added xaxis_fov and r0_offset parameters.
       Version 1, May 17, 1999,
           A Csillaghy, csillag@ssl.berkeley.edu
		11-dec-2001, ras, moved pixel_scale to modul_pattern_control from annsec_pattern_control


any2tplot $SSW/hessi/idl/gen/any2tplot.pro
[Previous] [Next]
 PROJECT:
	HESSI
 NAME:
	any2tplot

 PURPOSE:
	This function returns the time in the time format used by
	tplot. It takes as input a time in anytim format.
       What it does is
       basically just moving the refeence time from 1/1/1979 to 1/1/1970


 CATEGORY:
	gen

 CALLING SEQUENCE:
	tplot_time = any2tplot( any_time )

 OUTPUT:
       tplot_time: time in seconds referenced to 1/1/70

 INPUT:
       any_time: The default is to return the time in seconds, 
                 but all output formats available to ANYTIM are available.


 MODIFICATION HISTORY:
	Version 1, csillag@ssl.berkeley.edu, march 2003


auto_bck_find0 $SSW/hessi/offline/auto_bck_find0.pro
[Previous] [Next]
 NAME:
     auto_bck_find0
 PURPOSE:
     Given a stream of data, find the appropriate background
     levels, and the times, for the background interval and
     for where the data is a certain specified level above
     the background.
 CALLING SEQUENCE:
     ratio_f = auto_bck_find0(time, data, bck_trange, dtb_max=dtb_max, $
               dtb_min=dtb_min, dt_dat=dt_dat, channel=channel, $
               zero_ok=zero_ok, two=two, use_minimum=use_minimum, $
               quiet=quiet, sig_ratio=sig_ratio, subscripts=subscripts, $
               data_is_a_rate=data_is_a_rate, dtb_inc=dtb_inc, $
               b_ratio=b_ratio, stops=stops)
 INPUT:
     time = time array for data, any ANYTIM readable format
     data = an array of (nchannels, ndset) or (ndset)
 OUTPUT:
     ratio_f = is the final value of the ratio of sigma(counts)/sqrt(counts),
               -1 is passed out, if we're not satisfied with the result.
     bck_trange= start and end times for background interval(s)
 KEYWORDS:
     dtb_max = the interval in seconds, that you want the background
           accumulated for, the default is 2.0 minutes or 120.0 seconds.
           But the actual interval time may be somewhat less, depending
           on how good the data is, also the background is accumulated
           for an integral number of intervals, This number of
           intervals, when summed, may not equal the input dtb. 
     dtb_min = minimum interval, in seconds, for the background
               accumulation, default is 10.0. This is automatically
               reset to max(interval time) if it is smaller than
               the largest interval. HXT-LO data almost invariably
               gets to this point.
     dtb_inc = interval increment, in seconds, for the background
               accumulation, default is 10.0.
     dt_dat = accumulation times or exposure times for the data,
              if not set, dt(i)=time(i+1)-time(i). REMEMBER that
              you'll need this even if you passed in index as a
              time array. 
     channel = the channel used to find the interval, the default is 0,
               If an array is passed in, the routine will sum over the
               channels. 
     zero_ok = if set, this will allow zero values in the data.
     two = if set, find two intervals, one before the max value
           and one after. dtb_max and dtb_min may be given two values
           the background level will be found by interpolation.
     quiet = if set, don't plot the data and show intervals.
     data_is_a_rate = set this if you pass in a count rate, and not counts
     sig_ratio = the routine will reject intervals if
                 sigma(counts)/sqrt(counts) is greater than this value,
                 and will reduce dtb to try again. Default is 1.25
     b_ratio = the routine will reject intervals if the chosen background
               level over the minimum is more than this value. Default is
               1.25
     subscripts= if set, pass the ranges out as subscripts of the input
                 array.
     use_minimum= short circuits the whole program, just use the interval
                  that has the minimum counts for the given time interval,
                  This is good for GOES and HXT
 CALLS: ***
	OUTPLOT [1], OUTPLOT [2], OUTPLOT [3], UTPLOT [1], UTPLOT [2], UTPLOT [3]
	UTPLOT [4], UTPLOT [5], UTPLOT [6], anytim [1], anytim [2], anytim [3], anytim [4]
	anytim [5], avsig_temp
 CALLED BY:
	avsig_temp
 RESTRICTIONS:
     Use some sense, this is designed to find the background levels near
     a flare, don't use it on a whole days worth of data. Don't use it
     if there are big gaps in the data, if there are long stretches of
     zeros, don't set the zero_ok keyword. If it looks like the flare
     starts before the data, as if you're only have flare mode data,
     don't use the two keyword.
 HISTORY:
     27-jul-94, JMM
     12-jul-95, added the /two option, finally, nbcks and nsigmas keywords
                and trange output are gone, they don't make sense without
                doing the interpolation...
     26-jul-95, changed the name from bck_finder to auto_bck_find
     12-feb-96, jmm, added use_minimum keyword
     21-jun-1999, jmm, changed time formats, and default ratios
                changed ()'s to []'s for IDL 5 where applicable
     23-jun-1999, jmm, slightly different, now the approved background
                       is the min value with sigma<sig_ratio, and
                       not the min value with sigma<sig_ratio*min_sigma
     13-sep-1999, jmm, changed time formats to use ANYTIM format


avsig_1 [1] $SSW/hessi/idl/qlook_archive/hsi_1day_sohdata.pro
[Previous] [Next]
 NAME:
     avsig_1
 PURPOSE:
     Average and dispersion of an array, zeros can be not included,
 CALLING SEQUENCE:
     xbar=avsig_1(x, sigma, no_zeros=no_zeros, sig_mean=sig_mean, dimension=dimension, /fractional)
 INPUT:
     x = an array
 OUTPUT:
     xbar = mean, total(x)/n_elements(x)
     sigma = standard deviation, sqrt(total((x-xbar)^2/(nx-1)))
 KEYWORDS:
     no_zeros= if set, strip out zeros, note that this option does
               not work if the dimension keyword is used. At least not as of
               2-13-95...
     sig_mean = sigma/sqrt(nx), the standard deviation of the mean of the array
     dimension = the dimension of the array to find the mean in,
                 passed into the total command, it must be a scalar.
     fractional = the fractional error is passed out as sigma,
                  don't use this if zero is a valid value of xbar...
 CALLS: ***
	DATATYPE [1], DATATYPE [2], DATATYPE [3], HSI_1DAY_SOHDATA, HSI_ANY_SOHDATA
	HSI_FILEDB_2_FILE_TABLE, anytim [1], anytim [2], anytim [3], anytim [4]
	anytim [5], hsi_16bit_temps, hsi_data_recovery_fraction, hsi_filedb_read [1]
	hsi_filedb_read [2], hsi_pmtras_ok, rd_tfile [1], rd_tfile [2]
 CALLED BY:
	fsp_avsig, hsi_flare_list_fill [1], hsi_flare_list_fill [2]
	hsi_monthly_average, hsi_obs_summ_allrates [1], hsi_obs_summ_bck
	hsi_obs_summ_fill [1], hsi_obs_summ_fill [2], hxtimg_accum
 HISTORY:
     12-9-94, jmm
     2-13-95, jmm added dimension keyword, switched from ok_zeros to no_zeros
     5-sep-1996, jmm, switched to double precision


avsig_1 [2] $SSW/hessi/idl/qlook_archive/hsi_1day_sohdata_ext.pro
[Previous] [Next]
 NAME:
     avsig_1
 PURPOSE:
     Average and dispersion of an array, zeros can be not included,
 CALLING SEQUENCE:
     xbar=avsig_1(x, sigma, no_zeros=no_zeros, sig_mean=sig_mean, dimension=dimension, /fractional)
 INPUT:
     x = an array
 OUTPUT:
     xbar = mean, total(x)/n_elements(x)
     sigma = standard deviation, sqrt(total((x-xbar)^2/(nx-1)))
 KEYWORDS:
     no_zeros= if set, strip out zeros, note that this option does
               not work if the dimension keyword is used. At least not as of
               2-13-95...
     sig_mean = sigma/sqrt(nx), the standard deviation of the mean of the array
     dimension = the dimension of the array to find the mean in,
                 passed into the total command, it must be a scalar.
     fractional = the fractional error is passed out as sigma,
                  don't use this if zero is a valid value of xbar...
 CALLS: ***
	HSI_1DAY_SOHDATA_EXT, HSI_ANY_SOHDATA, STOPHERE, hsi_16bit_temps
 CALLED BY:
	fsp_avsig, hsi_flare_list_fill [1], hsi_flare_list_fill [2]
	hsi_monthly_average, hsi_obs_summ_allrates [1], hsi_obs_summ_bck
	hsi_obs_summ_fill [1], hsi_obs_summ_fill [2], hxtimg_accum
 HISTORY:
     12-9-94, jmm
     2-13-95, jmm added dimension keyword, switched from ok_zeros to no_zeros
     5-sep-1996, jmm, switched to double precision


avsig_1 [3] $SSW/hessi/idl/qlook_archive/hsi_obs_bck0.pro
[Previous] [Next]
 NAME:
     avsig_1
 PURPOSE:
     Average and dispersion of an array, zeros can be not included,
 CALLING SEQUENCE:
     xbar=avsig_1(x, sigma, no_zeros=no_zeros, sig_mean=sig_mean, dimension=dimension, /fractional)
 INPUT:
     x = an array
 OUTPUT:
     xbar = mean, total(x)/n_elements(x)
     sigma = standard deviation, sqrt(total((x-xbar)^2/(nx-1)))
 KEYWORDS:
     no_zeros= if set, strip out zeros, note that this option does
               not work if the dimension keyword is used. At least not as of
               2-13-95...
     sig_mean = sigma/sqrt(nx), the standard deviation of the mean of the array
     dimension = the dimension of the array to find the mean in,
                 passed into the total command, it must be a scalar.
     fractional = the fractional error is passed out as sigma,
                  don't use this if zero is a valid value of xbar...
 CALLS: ***
	DATATYPE [1], DATATYPE [2], DATATYPE [3], HSI_OBS_BCK0
 CALLED BY:
	fsp_avsig, hsi_flare_list_fill [1], hsi_flare_list_fill [2]
	hsi_monthly_average, hsi_obs_summ_allrates [1], hsi_obs_summ_bck
	hsi_obs_summ_fill [1], hsi_obs_summ_fill [2], hxtimg_accum
 HISTORY:
     12-9-94, jmm
     2-13-95, jmm added dimension keyword, switched from ok_zeros to no_zeros
     5-sep-1996, jmm, switched to double precision


avsig_1 [4] $SSW/hessi/idl/qlook_archive/hsi_obs_summ_allrates.pro
[Previous] [Next]
 NAME:
     avsig_1
 PURPOSE:
     Average and dispersion of an array, zeros can be not included,
 CALLING SEQUENCE:
     xbar=avsig_1(x, sigma, no_zeros=no_zeros, sig_mean=sig_mean, dimension=dimension, /fractional)
 INPUT:
     x = an array
 OUTPUT:
     xbar = mean, total(x)/n_elements(x)
     sigma = standard deviation, sqrt(total((x-xbar)^2/(nx-1)))
 KEYWORDS:
     no_zeros= if set, strip out zeros, note that this option does
               not work if the dimension keyword is used. At least not as of
               2-13-95...
     sig_mean = sigma/sqrt(nx), the standard deviation of the mean of the array
     dimension = the dimension of the array to find the mean in,
                 passed into the total command, it must be a scalar.
     fractional = the fractional error is passed out as sigma,
                  don't use this if zero is a valid value of xbar...
 CALLS: ***
	BREAK_FILE [1], BREAK_FILE [2], BREAK_FILE [3], DATATYPE [1], DATATYPE [2]
	DATATYPE [3], DELVARX [1], DELVARX [2], DELVARX [3], DELVARX [4], HSI_SCTIME2ANY
	HSI_SET_FILE_TIME, Hsi_monitor_rate_read, LOC_FILE [1], LOC_FILE [2]
	LOC_FILE [3], anytim [1], anytim [2], anytim [3], anytim [4], anytim [5]
	break_file [4], delvarx [5], hsi_find_in_archive, hsi_obs_summ_allrates [1]
	hsi_obs_summ_allrates [2], hsi_valid_app_ids
 CALLED BY:
	fsp_avsig, hsi_flare_list_fill [1], hsi_flare_list_fill [2]
	hsi_monthly_average, hsi_obs_summ_allrates [1], hsi_obs_summ_bck
	hsi_obs_summ_fill [1], hsi_obs_summ_fill [2], hxtimg_accum
 HISTORY:
     12-9-94, jmm
     2-13-95, jmm added dimension keyword, switched from ok_zeros to no_zeros
     5-sep-1996, jmm, switched to double precision


avsig_1 [5] $SSW/hessi/idl/qlook_archive/hsi_obs_summ_allrates_test.pro
[Previous] [Next]
 NAME:
     avsig_1
 PURPOSE:
     Average and dispersion of an array, zeros can be not included,
 CALLING SEQUENCE:
     xbar=avsig_1(x, sigma, no_zeros=no_zeros, sig_mean=sig_mean, dimension=dimension, /fractional)
 INPUT:
     x = an array
 OUTPUT:
     xbar = mean, total(x)/n_elements(x)
     sigma = standard deviation, sqrt(total((x-xbar)^2/(nx-1)))
 KEYWORDS:
     no_zeros= if set, strip out zeros, note that this option does
               not work if the dimension keyword is used. At least not as of
               2-13-95...
     sig_mean = sigma/sqrt(nx), the standard deviation of the mean of the array
     dimension = the dimension of the array to find the mean in,
                 passed into the total command, it must be a scalar.
     fractional = the fractional error is passed out as sigma,
                  don't use this if zero is a valid value of xbar...
 CALLED BY:
	fsp_avsig, hsi_flare_list_fill [1], hsi_flare_list_fill [2]
	hsi_monthly_average, hsi_obs_summ_allrates [1], hsi_obs_summ_bck
	hsi_obs_summ_fill [1], hsi_obs_summ_fill [2], hxtimg_accum
 HISTORY:
     12-9-94, jmm
     2-13-95, jmm added dimension keyword, switched from ok_zeros to no_zeros
     5-sep-1996, jmm, switched to double precision


avsig_1 [6] $SSW/hessi/offline/hsi_obs_summ_fill.pro
[Previous] [Next]
 NAME:
     avsig_1
 PURPOSE:
     Average and dispersion of an array, zeros can be not included, 
 CALLING SEQUENCE:
     xbar=avsig_1(x, sigma, no_zeros=no_zeros, sig_mean=sig_mean, dimension=dimension, /fractional)
 INPUT:
     x = an array
 OUTPUT:
     xbar = mean, total(x)/n_elements(x)
     sigma = standard deviation, sqrt(total((x-xbar)^2/(nx-1)))
 KEYWORDS:
     no_zeros= if set, strip out zeros, note that this option does
               not work if the dimension keyword is used. At least not as of
               2-13-95...
     sig_mean = sigma/sqrt(nx), the standard deviation of the mean of the array
     dimension = the dimension of the array to find the mean in,
                 passed into the total command, it must be a scalar.
     fractional = the fractional error is passed out as sigma,
                  don't use this if zero is a valid value of xbar...
 CALLS: ***
	CHECKVAR [1], DATATYPE [1], DATATYPE [2], DATATYPE [3], EXIST, FRONT_VARIANCE
	HSI_ADJUST_TIME_UNIT, HSI_ANY2SCTIME, HSI_EVENTLIST, HSI_RD_PACKET_TIMES
	HSI_REF_TIME, HSI_RELOAD_PACKET, HSI_SCTIME2ANY, HSI_SCTIME_DIFF, MASK, TEMP_P2E
	anytim [1], anytim [2], anytim [3], anytim [4], anytim [5], checkvar [2]
	hsi_obs_summ_compress, hsi_obs_summ_fill [1], hsi_obs_summ_fill [2]
	hsi_obs_summ_tbin
 CALLED BY:
	fsp_avsig, hsi_flare_list_fill [1], hsi_flare_list_fill [2]
	hsi_monthly_average, hsi_obs_summ_allrates [1], hsi_obs_summ_bck
	hsi_obs_summ_fill [1], hsi_obs_summ_fill [2], hxtimg_accum
 HISTORY:
     12-9-94, jmm
     2-13-95, jmm added dimension keyword, switched from ok_zeros to no_zeros
     5-sep-1996, jmm, switched to double precision


avsig_temp $SSW/hessi/offline/auto_bck_find0.pro
[Previous] [Next]
 NAME:
      avsig_temp
 PURPOSE:
      Calculates the average and the sigma of an array,
      passes out (Av counts*Av time interval), and
      the suqred st. deviation in that quantity.
 CALLING SEQUENCE:
      Avsig_temp, x, xbar, sigx2, dt=dt
 INPUT:
      x is an array, counts please, not count rate
 OUTPUT:
      xbar = average count rate*average time interval
      sigx2 = sigma(x)^2
 KEYWORDS:
      No0 = if set drop out zeros
      dt = interval times, default is 1.0 seconds
      plot = if set, plot up a histogram, with a poisson distribution.
 CALLS: ***
	OUTPLOT [1], OUTPLOT [2], OUTPLOT [3], UTPLOT [1], UTPLOT [2], UTPLOT [3]
	UTPLOT [4], UTPLOT [5], UTPLOT [6], anytim [1], anytim [2], anytim [3], anytim [4]
	anytim [5], auto_bck_find0
 CALLED BY:
	auto_bck_find0
 RESTRICTIONS:
      Don't pass in a count rate, things'll get messy
 HISTORY:
      27-jul-94, jmm
      21-jun-1999, jmm, rewrote to fail gracefully, changed the name,
                        hacked out code since this is only to be used
                        for auto_bck_find0


AXIS__DEFINE [1] $SSW/hessi/idl/objects/axis.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       AXIS__DEFINE

 PURPOSE:


 CATEGORY:


 CALLING SEQUENCE:
       axis__define,

 INPUTS:


 OPTIONAL INPUTS:
       None.

 OUTPUTS:
       None.

 OPTIONAL OUTPUTS:
       None.

 KEYWORDS:
       None.

 COMMON BLOCKS:
       None.

 PROCEDURE:

 RESTRICTIONS:
       None.

 SIDE EFFECTS:
       None.

 EXAMPLES:


 CALLS: ***
	AXIS
 SEE ALSO:
 HISTORY:
       Version 1, August 21, 2003,
           A Csillaghy, csillag@ssl.berkeley.edu


AXIS__DEFINE [2] $SSW/hessi/idl/objects/axis__define.pro
[Previous] [Next]
 PROJECT:
       HESSI

 NAME:
       AXIS__DEFINE

 PURPOSE:


 CATEGORY:


 CALLING SEQUENCE:
       axis__define,

 INPUTS:


 OPTIONAL INPUTS:
       None.

 OUTPUTS:
       None.

 OPTIONAL OUTPUTS:
       None.

 KEYWORDS:
       None.

 COMMON BLOCKS:
       None.

 PROCEDURE:

 RESTRICTIONS:
       None.

 SIDE EFFECTS:
       None.

 EXAMPLES:


 CALLS: ***
	AXIS, AXIS::CLEANUP, AXIS::GET, AXIS::GETSTATUS, AXIS::GET_AXIS_LIMITS
	AXIS::GET_EXPANDED_RANGE, AXIS::HELP, AXIS::INIT, AXIS::SET, AXIS_TEST
	CHECKVAR [1], LAST_ITEM, SAME_DATA [1], SAME_DATA [2], checkvar [2], edge_products
 SEE ALSO:
 HISTORY:
       dec-2003 --- acs, separate display parameters from axis def. parameters
       Version 1, August 21, 2003,
           A Csillaghy, csillag@ssl.berkeley.edu