Parafacforopenfluor: Difference between revisions
Jump to navigation
Jump to search
imported>Benjamin (Created page with "===Purpose=== Extract data from a dataset object and its corresponding PARAFAC model to a formatted structure and a .txt file (via openfluor), for querying the openfluor....") |
imported>Benjamin mNo edit summary |
||
Line 26: | Line 26: | ||
** '''Model2''': PARAFAC model loadings. | ** '''Model2''': PARAFAC model loadings. | ||
* A .txt file will also be saved, containing the information from the output variable | * A .txt file will also be saved, containing the information from the output variable ''of_model'' in the current active directory. | ||
===See Also=== | ===See Also=== | ||
[[openfluor]], [[parafac]], [[dataset]], [[queryopenfluor]] | [[openfluor]], [[parafac]], [[dataset]], [[queryopenfluor]] |
Revision as of 15:26, 6 July 2016
Purpose
Extract data from a dataset object and its corresponding PARAFAC model to a formatted structure and a .txt file (via openfluor), for querying the openfluor.org database.
Synopsis
- of_model = parafacforopenfluor(data,model,’MyModel’);
- of_model = parafacforopenfluor(data,model,’MyModel.txt’);
Description
parafacforopenfluor extracts data from a dataset object and its corresponding PARAFAC model to a customized structure which is then exported as a .txt file. The .txt file is formatted for querying the openfluor.org database.
Input
- data: The dataset object of the absorbance & emission spectra or excitation & emission fluorescence spectra.
- model: The PARAFAC model obtain from processing the dataset object. Important: Only PARAFAC Models are accepted.
- filename: <string>, contains the name to be used in creating the .txt file used for querying the openfluor.org database. Adding the ‘.txt’ file extension is optional for the input variable.
Output
- of_model: A structure containing the extracted data from the dataset object and the PARAFAC model. Formatted for openfluor.m. The fields are:
- X: Fluorescence spectra (Data).
- Em: Axisscale for the data’s second mode.
- Ex: Axisscale for the data’s third mode.
- Model2: PARAFAC model loadings.
- A .txt file will also be saved, containing the information from the output variable of_model in the current active directory.