The following commands show how to create an instance of the aspect solution object and how to retrieve data for a given time range. The definition of the 'aspect_time_range' is optional. If it's omitted, it's automatically set to 'obs_time_interval'. Setting the 'obs_time_interval' requires the RHESSI database files to be correctly installed and the RHESSI related environment variables to be set.
IDL> o=hsi_aspect_solution() IDL> o->set, obs_time_interval='2002-03-13 '+['12:30','13:00'] IDL> o->set, aspect_time_range='2002-03-13 '+['12:40','12:45'] IDL> data=o->getdata()
Instead of defining an 'obs_time_interval', the 'filename' and 'file_type' can be set directly. This is especially useful to analyze smex-files, which are not included in the RHESSI database, yet. The following example it's assumed, that the given file resides in the current directory. Otherwise, the current directory has to be changed or the filename has to be given including the relative or absolute path. Once again, the definition of the 'aspect_time_range' is optional. By default, it's set to 'file_time_range'.
IDL> o=hsi_aspect_solution() IDL> o->set, filename='vc3_20020314065802.0',file_type='smex' IDL> o->set, aspect_time_range='2002-03-13 '+['12:40','12:45'] IDL> data=o->getdata()