Python Sparse data Analysis Package
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- pysap.data.get_sample_data(dataset_name, datadir='/home/docs/.local/share/pysap', verbose=1)[source]¶
Get a sample dataset.
This function download the requested dataset in the ‘$HOME/.local/share/pysap’ directory.
- Parameters
dataset_name : str
which sample data you want, must be defined in the ‘SAMPLE_DATE_FILES’ dictionary.
verbose : int (optional, default 1)
control the verbosity level.
- Returns
image : Image
the loaded dataset.
Examples¶
Follow us