Methods
getDataset(db, sourcefile, callback)
Get a complete dataset with all its transitions
Parameters:
Name | Type | Description |
---|---|---|
db |
string | name of selected database |
sourcefile |
string | data file name in source database |
callback |
function | callback function called on returned transitions |
getMetadata(callback)
Get metadata from spectroscopy database ( species by source database )
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | function applied to returned data |
getStatuses(callback)
Get status of dbs from spectroscopy database
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | function applied to returned data |
getTransitions(db, frequencies, atomcount, energyup, species, intensity, callback)
Get a list of transitions
Parameters:
Name | Type | Description |
---|---|---|
db |
string | selected database |
frequencies |
array | min/max frequencies |
atomcount |
array | min/max number of atoms |
energyup |
number | maximum value of upper energy (float) |
species |
array | list of species |
intensity |
number | maximum intensity value (float) |
callback |
function | callback function called on found transitions |