Openfluor: Difference between revisions
imported>Scott |
imported>Scott No edit summary |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Write a PARAFAC model output to text file ready for importing in OpenFluor. | |||
===Synopsis=== | ===Synopsis=== | ||
: openfluor(data, ncomps, filename); | :openfluor(data, ncomps, filename); | ||
===Description=== | ===Description=== | ||
The openfluor.m function (also available from openfluor.org), is included in PLS_toolbox. It is used for saving a speficic data structure,(X-block axisscale for modes 2 & 3, and PARAFAC loadings) as a .txt file that is compatible for querying the openflur.org database. | |||
Note: The functions, [[parafacforopenfluor]] and [[queryopenfluor]] are a convenient means for converting a dataset object and PARAFAC model into a formatted .txt file (via openfluor.m) for querying the openfluor.org database (http://www.openfluor.org). queryopenfluor will also open a web browser on the openfluor.org query page. | Note: The functions, [[parafacforopenfluor]] and [[queryopenfluor]] are a convenient means for converting a dataset object and PARAFAC model into a formatted .txt file (via openfluor.m) for querying the openfluor.org database (http://www.openfluor.org). queryopenfluor will also open a web browser on the openfluor.org query page. |
Latest revision as of 14:08, 29 July 2016
Purpose
Write a PARAFAC model output to text file ready for importing in OpenFluor.
Synopsis
- openfluor(data, ncomps, filename);
Description
The openfluor.m function (also available from openfluor.org), is included in PLS_toolbox. It is used for saving a speficic data structure,(X-block axisscale for modes 2 & 3, and PARAFAC loadings) as a .txt file that is compatible for querying the openflur.org database.
Note: The functions, parafacforopenfluor and queryopenfluor are a convenient means for converting a dataset object and PARAFAC model into a formatted .txt file (via openfluor.m) for querying the openfluor.org database (http://www.openfluor.org). queryopenfluor will also open a web browser on the openfluor.org query page.
Input
- data: A specialized data structure containing the following fields: X, Em, Ex, Model2, which correspond to data, axisscale for mode 2, axisscale for mode 3, PARAFAC loadings respectively.
- ncomps: The number of factors in the PARAFAC model.
- filename: <string>, contains the name to be used in creating the .txt file used for querying the openfluor.org database. The ‘.txt’ file extension is required.
About Openfluor.org
http://www.openfluor.org is an online database of published fluorescence spectra, it contains both absorbance and emission spectra as well as excitation and emission spectra (extracted components) from PARAFAC models. On Openfluor.org, users can query the database using their spectra for identification.
Users may also choose to upload their(published in scientific journal) spectra to be reviewed for being added to the openfluor.org database.
See Also
parafacforopenfluor, queryopenfluor, parafac, dataset
- Openfluor.m Copyright (C) 2013 Kathleen R. Murphy, used with permission.