L i dZddlmZmZmZddlmZmZddlm Z m Z m Z ddl m Z mZmZddlmZddlmZmZddlmZmZmZmZmZmZeDcgc]}|j;d r|c}Zd d lm Z e e!Z"[ y cc}w) u+ ================================== Input and output (:mod:`scipy.io`) ================================== .. currentmodule:: scipy.io SciPy has many modules, classes, and functions available to read data from and write data to a variety of file formats. .. seealso:: `NumPy IO routines `__ MATLAB® files ============= .. autosummary:: :toctree: generated/ loadmat - Read a MATLAB style mat file (version 4 through 7.1) savemat - Write a MATLAB style mat file (version 4 through 7.1) whosmat - List contents of a MATLAB style mat file (version 4 through 7.1) For low-level MATLAB reading and writing utilities, see `scipy.io.matlab`. IDL® files ========== .. autosummary:: :toctree: generated/ readsav - Read an IDL 'save' file Matrix Market files =================== .. autosummary:: :toctree: generated/ mminfo - Query matrix info from Matrix Market formatted file mmread - Read matrix from Matrix Market formatted file mmwrite - Write matrix to Matrix Market formatted file Unformatted Fortran files =============================== .. autosummary:: :toctree: generated/ FortranFile - A file object for unformatted sequential Fortran files FortranEOFError - Exception indicating the end of a well-formed file FortranFormattingError - Exception indicating an inappropriate end Netcdf ====== .. autosummary:: :toctree: generated/ netcdf_file - A file object for NetCDF data netcdf_variable - A data object for the netcdf module Harwell-Boeing files ==================== .. autosummary:: :toctree: generated/ hb_read -- read H-B file hb_write -- write H-B file Wav sound files (:mod:`scipy.io.wavfile`) ========================================= .. module:: scipy.io.wavfile .. autosummary:: :toctree: generated/ read write WavFileWarning Arff files (:mod:`scipy.io.arff`) ================================= .. module:: scipy.io.arff .. autosummary:: :toctree: generated/ loadarff MetaData ArffError ParseArffError )loadmatsavematwhosmat) netcdf_filenetcdf_variable) FortranFileFortranEOFErrorFortranFormattingError)mminfommreadmmwrite)readsav)hb_readhb_write)arffharwell_boeingidlmmionetcdfwavfile_) PytestTesterN)#__doc__matlabrrr_netcdfrr_fortranrr r _fast_matrix_marketr r r _idlr_harwell_boeingrrrrrrrrdir startswith__all__scipy._lib._testutilsr__name__test)ss0W/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/scipy/io/__init__.pyr*sh^@.-2KJ88.?>e 51<<#41 5.H 6s A>'A>