lamp_mac/periodic_table/
lamp_elements_database.pro
Routines
Routine details
top lamp_elements_database_init
lamp_elements_database_init
top load_lamp_elements_database
load_lamp_elements_database
:Description: Load the LAMP database. The loaded database is stored into "elements_database" common variable. The database is searched in two alternative paths: the first one is in the HOME directory of the user (as defined by the HOME IDL environment variable) and the second one is the default location defined in LAMP. :Author: pellegrini :History: pellegrini, 14 Feb. 2011 pellegrini, 24 Oct. 2012 :Categories: database
top save_lamp_elements_database
save_lamp_elements_database, filename=filename, database=database, selection=selection
:Description: Save the LAMP database. The database will be save in the HOME directory of the user (as defined by the HOME IDL environment variable). :Author: pellegrini :History: pellegrini, 14 Feb. 2011 pellegrini, 24 Oct. 2012 :Categories: database
Keywords
- filename
- database
- selection
top query_lamp_elements_database
result = query_lamp_elements_database(query)
:Description: Returns the indexes that matches a query. :Params: query : in, required, type="str" The query to search the database for. It must involve the database field name. :Returns: A list of the indexes of the entries that matches the query. If no match was found, return -1 :Author: pellegrini :History: pellegrini, 14 Feb. 2011 pellegrini, 24 Oct. 2012 :Categories: database
Parameters
- query
top lamp_elements_database
lamp_elements_database
File attributes
Modification date: | Tue Oct 1 14:38:51 2013 |
Lines: | 139 |