PRITS_TOOLS - ITA-Solar/solo-spice-ql GitHub Wiki
Here is a collection of some tools that are not specific to any project.
PRITS_TOOLS object
-
PARCHECK This procedure checks whether a given parameter is valid. It can check for data type, number of dimensions, number of elements, data range, structure name, object name or time format. It can also supply a default value, if variable is undefined.
-
WRITE_IMAGE_REAL_SIZE This routine creates images that have the exact desired size, by default 1 data pixel corresponds exactly to 1 image pixel. Axis ranges and titles can optionally be provided.
-
DEFAULT It supplies default values for variables.
-
CHECK_EQUALITY A tool to compare two values, allows the difference to have som tolerance, or the values to be NAN or INF.
-
CENTER_WINDOW Centers a top-level base on the screen.
-
CENTER_OVERLAY_WINDOW Centers a top-level base relative to another one.
-
VECTOR2POLYGON This function computes the convex hull, a polygon, that encloses all input points.
Other tools
-
ANA2FITS This procedure saves all information of one or more ANA structures into a FITS file. ANA structures are used in CFIT, CFit_BLOCK, XCFIT, and XCFIT_BLOCK.
-
FITS2ANA This function reads a FITS file that was written by ANA2FITS and returns one or more ANA structures.
-
GENERATE_ADEF This function finds peaks and widths of lines in a given spectrum. It returns those values in form of fit components, defined in mk_comp_gauss().
-
WIDGET_POSITIONER This object can be used to position a new widget relative to another widget, or relative to the screen. This also works with multiple screens.
-
OSLO_FITS_UTIL This is an object with methods to manipulate a FITS keyword header.
-
GET_LAST_PRSTEP_KEYWORD This function searches a FITS keyword header for all processing step keywords defined in the Solarnet_Metadata_Recommendations document.
-
SPICE_MODAL_MESSAGES This creates a modal widget that shows a message and is destroyed whenever the user presses a button or clicks with the mouse.