Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/plot_pointing_profile.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Mon Apr 11 06:10:28 2016
Кодировка:

Поисковые слова: massive stars
Python: module plot_pointing_profile
 
 
plot_pointing_profile (version 08/06/13)
index
plot_pointing_profile.py

This tool will plot some of the various pointing profile parameters
predominantly related to thermal.
 
Usage:
 
do plot_pointing_profile <pointing_profile_report> [<plotfile> [<cold_att_file>]]  
 
The plotfile is optional.  If not provided, the output comes to the screen.
  If provided, the extension is used by matplotlib to determine the
  file contents.
  If set to the exact string 'noplot', then no plot will be produced.
  
cold_att_file is optional.  If provided, a text listing of the pointing periods
  where HST OTA Focus may be off due to the cold tempertures and where
  Bay 10 may be getting cold, both due to the pointing profile is written.
  
Written by Merle Reinhart  April, 2009
 
- fix bug with non-standard calendar names. - mdr 10/14/09
- Make compatible with matplotlib 1.1.0. - mdr 11/7/11
- Fix year boundary cross-over problem - mdr 2/9/12
- Fix an inverse Y2K bug - mdr 9/27/12
- Changes to check for and plot possible OTA Focus issues - mdr 12/18/12
- Add SU to the cold attitude list - mdr 12/19/12
- Add check for and plot possible Bay10 cold attitude issues - mdr 1/14/13
- Allow a 'noplot' capability - mdr 1/22/13
- Timestamp the plot - mdr 3/5/13
- Remove deletion of cold_att_file if there are no cold excursions - mdr 3/7/13
- Bay 10: enlarge the recovery time and shrink the cold time - mdr 4/11/13
- Note any SAZ violation on the sun angle plot - mdr 4/18/13
- Extend the reporting of SUs affected by OTA cold attitudes - mdr 6/24/13
- Bay 10: don't enlarge recovery time/shrink cold time quite as much - mdr 8/6/13

 
Modules
       
pylab

 
Functions
       
find_cold_attitudes(cold_angle, recovery_angle, recovery_time, min_cold_duration, att_angle, start_time, end_time, dur, time_offset)
This function will find the relevant cold attitudes in the provided attitude_list,
start_time, end_time and duration lists.
 
Input:
  cold_angle        - The angle which the attitude must be greater than to be cold
                        as int
  recovery_angle    - The angle less than which the attitude must be to recover
                        from a cold attitude as int
  recovery_time     - The time we must be less then the recovery_angle before we
                        are considered recovered as delta_time object
  min_cold_duration - The minimum total time cold before it is considered a
                        problem as delta_time object
  att_angle         - List that contains the attitude angle of concern as ints
  start_time        - List of start times that correspond to attitude_list
                        spss_time objects
  end_time          - List of end times that correspond to attitude_list
                        spss_time objects
  dur               - List of durations that correspond to attitude_list
                        delta_time objects
  time_offset       - offset in seconds for converting times into the
                        epoch
  
Returns:
  cold_start  - List of cold attitude start times as spss_time objects
  rcold_start - List of cold attitude start times as seconds from the epoch
  cold_end    - List of cold attitude end times as spss_time objects
  rcold_end   - List of cold attitude end times as seconds from the epoch
  cold_dur    - List of cold attitude durations as delta_time objects
find_main_su(calname, start_time, end_time)
Finds all the main SUs scheduled on a calendar that are within the
input time range.
 
Inputs:
  calname    - Name of the cclist as a string
  start_time - Start time of the search window as an spss_time object
  end_time   - End time of the search window as an spss_time object
  
Outputs:
  Returns a list of main SUs scheduled within the window.
  If no SUs are found, then an empty list is returned.
run(*args)

 
Data
        __version__ = '08/06/13'
rcParams = RcParams({u'agg.path.chunksize': 0, u'...size': 2.0, u'ytick.minor.width': 0.5})