pyspecdata.datadir¶
Allows the user to run the same code on different machines, even though the location of the raw spectral data might change.
This is controlled by the ~/.pyspecdata
or ~/_pyspecdata
config file.
Functions
|
|
|
Used to find a directory containing data in a way that works seamlessly across different computers (and operating systems). |
|
Returns the notebook directory. |
|
logs the file name either used or missing into a csv file. |
|
A convenience function for getting a data directory you're going to write data to. |
|
|
The shell command pyspecdata_register_dir WHICHDIR will register the directory WHICHDIR (substitute with the name of a directory on your computer) so that it can be automatically discovered by |
Classes
|
Provides an easy interface to the pyspecdata configuration file. |