CSV Internal Comma-Separated Values format

Extensions: .csv

Plugin to read CSV file which is the format exported using specio.core.Spectrum.to_csv().

The CSV format is the Comma-Separated Values format [1].

Examples

>>> from specio import specread
>>> from specio.datasets import load_csv_path
>>> spectra = specread(load_csv_path())
>>> spectra.wavelength
array([  400.19921875,   402.72982788,   405.25958252, ...,  3795.59448242,
        3797.11914062,  3798.64355469])
>>> spectra.amplitudes 
array([[ 173.33334351,  187.33332825,  188.33332825, ...,  107.15319061,
         106.04219055,  109.70896912],
       [ 191.1111145 ,  203.222229  ,  201.777771  , ...,  108.46702576,
         101.90904236,  105.12884521],
       [ 195.777771  ,  214.66668701,  206.33332825, ...,  100.96577454,
         101.17821503,  101.50177002],
       ...,
       [ 206.11109924,  215.777771  ,  219.99998474, ...,  104.60214233,
         106.93334961,  102.82010651],
       [ 201.33332825,  209.777771  ,  210.33331299, ...,   99.27733612,
         101.49320221,  103.26461029],
       [ 201.1111145 ,  206.1111145 ,  209.44444275, ...,  104.57073212,
         102.45584106,   99.34095001]])