WrightTools.collection.from_Cary
- WrightTools.collection.from_Cary(filepath, name=None, parent=None, verbose=True)[source]
Create a collection object from a Cary UV VIS absorbance file.
We hope to support as many Cary instruments and datasets as possible. This function has been tested with data collected on a Cary50 UV/VIS spectrometer. If any alternate instruments are found not to work as expected, please submit a bug report on our issue tracker.
>>> import WrightTools as wt >>> from WrightTools import datasets >>> p = datasets.Cary.CuPCtS_H2O_vis >>> data = wt.collection.from_Cary(p)[0] >>> wt.artists.quick1D(data)
(
Source code
,png
,pdf
)- Parameters:
filepath (path-like) – Path to Cary output file (.csv).
parent (WrightTools.Collection) – A collection object in which to place a collection of Data objects.
verbose (boolean (optional)) – Toggle talkback. Default is True.
- Returns:
New data object.
- Return type:
data