Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Import a Wavefront RFL file
ResourceFunction["ImportWavefrontRFL"]["rfl"] reads the string "rfl" as RFL data. | |
ResourceFunction["ImportWavefrontRFL"][source,element] imports the specified element of the source. |
"Elements" | a list of supported element names |
"Text" | the raw text from the file including any comments |
"Lines" | the raw text StringSplit by newlines |
"Data" | list of tuples of the wavelength of light and an intensity |
"Blend" | (default) a Function of a Blend expression |
Create a basic RFL file with a linear response to visible light:
In[1]:= |
Out[1]= |
Import this RFL file as a Blend function:
In[2]:= |
Out[2]= |
Import an RFL file stored as a CloudObject:
In[3]:= |
Out[3]= |
Import RFL text data stored via CloudPut:
In[4]:= |
Out[4]= |
Import an RFL file from a URL:
In[5]:= |
Out[5]= |
Import a string that represents RFL data:
In[6]:= |
Out[6]= |
Import the text of an RFL file:
In[7]:= |
Out[7]= |
Import an RFL file as the parsed data:
In[8]:= |
Out[8]= |
Import the lines of an RFL file:
In[9]:= |
Out[9]= |
Show the intensity plot of the imported data:
In[10]:= |
Out[10]= |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License