From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search


Write a PARAFAC model output to text file ready for importing in OpenFluor.


openfluor(data, ncomps, filename);


The openfluor.m function (also available from, 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 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 database ( queryopenfluor will also open a web browser on the query page.


  • 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 database. The ‘.txt’ file extension is required.

About 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, 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 database.

See Also

parafacforopenfluor, queryopenfluor, parafac, dataset

Openfluor.m Copyright (C) 2013 Kathleen R. Murphy, used with permission.