
    (ph	                         S r SSKrSSKJr  / SQrSrSrSrSr	S	r
S
rSrSrSrSrSrSrSrSrSrSrSrSrSrS	rS
rSrSrSrSrSrSr Sr!Sr"Sr#Sr$Sr%Sr&0 \S_\S_\S_\	S_\
S_\S_\S_\S_\S_\S _\S_\S_\S_S!/ S"Q_S#S$S%/_S&S'S(/_S)/ S*Q_S+S+0Er'\S\S\S\S\ S\!S\"S\#S \S\S0
r(0 \S,_\S-_\S._\S/_\ S0_\!S1_\"S2_\#S3_\S4_\S5_\S6_\S7_\S8_\S9_\S:_\$S;_\%S<_r)0 S\_S=\_S>\_S?\_S\_S@\_S\_S\
_S\_S\_S \_S\_S\	_S\_SA\_S+\_SB\_r*0 S\_S=\_S>\_S?\_S\_S@\_S\"_S\ _S\_S\_S \#_S\!_S\_S\_SA\_SB\_r+ \SCSSD.\SESSD.\SFSSD.0r,SG r-0 r.SH H#  r/\" \'\/5      \" \(\/5      \-" \,\/5      SI.r0\0\.\/'   M%      " SJ SK5      r1 " SL SM\Rd                  5      r3 " SN SO\Rd                  5      r4 " SP SQ\Rd                  5      r5\Rl                  " / SRQ5      r7g)SzConstants and classes for matlab 5 read and write

See also mio5_utils.pyx where these same constants arise as c enums.

If you make changes in this file, don't forget to change mio5_utils.pyx
    N   )convert_dtypes)-MDTYPESMatlabFunctionMatlabObjectMatlabOpaqueNP_TO_MTYPESNP_TO_MXTYPESOPAQUE_DTYPEcodecs_template
mat_structmclass_dtypes_templatemclass_infomdtypes_templatemiCOMPRESSEDmiDOUBLEmiINT16miINT32miINT64miINT8miMATRIXmiSINGLEmiUINT16miUINT32miUINT64miUINT8miUTF16miUTF32miUTF8mxCELL_CLASSmxCHAR_CLASSmxDOUBLE_CLASSmxFUNCTION_CLASSmxINT16_CLASSmxINT32_CLASSmxINT64_CLASSmxINT8_CLASSmxOBJECT_CLASSmxOBJECT_CLASS_FROM_MATRIX_HmxOPAQUE_CLASSmxSINGLE_CLASSmxSPARSE_CLASSmxSTRUCT_CLASSmxUINT16_CLASSmxUINT32_CLASSmxUINT64_CLASSmxUINT8_CLASS                  	                           
      i1u1i2u2i4u4f4f8i8u8file_header))descriptionS116)subsystem_offsetrK   )versionrF   )endian_testS2tag_full)mdtyperH   
byte_countrH   tag_smalldata)byte_count_mdtyperH   )dataS4array_flags))	data_typerH   rV   )flags_classrH   )nzmaxrH   U1int8uint8int16uint16int32uint32int64uint64singledoublecellstructobjectcharsparsefunctionopaquec32c24c16c8S1b1utf_8)codecwidthutf_16utf_32c                     0 nUS:H  =(       a    S=(       d    SnU R                  5        H-  u  pEUS   n SR                  U5        US   S:  a  Xc-  nXbU'   M/     UR                  5       $ ! [         a    SX$'    MR  f = f)	am  Convert codec template mapping to byte order

Set codecs not on this system to None

Parameters
----------
template : mapping
   key, value are respectively codec name, and root name for codec
   (without byte order suffix)
byte_order : {'<', '>'}
   code for little or big endian

Returns
-------
codecs : dict
   key, value are name, codec (as in .encode(codec))
<_le_bery    Nrz   r   )itemsencodeLookupErrorcopy)template
byte_ordercodecspostfixkvry   s          O/var/www/html/venv/lib/python3.13/site-packages/scipy/io/matlab/_mio5_params.py_convert_codecsr      s    $ FC)E2UG '
	JJu W:>Eq	 ! ;;=  	FI	s   A++A=<A=z<>)dtypesclassesr   c                       \ rS rSrSrSrg)r      zPlaceholder for holding read data from structs.

We use instances of this class when the user passes False as a value to the
``struct_as_record`` parameter of the :func:`scipy.io.loadmat` function.
 N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       r   r   r      s    
 	r   r   c                   (    \ rS rSrSrSS jrS rSrg)r      zSubclass of ndarray to signal this is a matlab object.

This is a simple subclass of :class:`numpy.ndarray` meant to be used
by :func:`scipy.io.loadmat` and should not be instantiated directly.
Nc                 \    [         R                  " U5      R                  U 5      nX#l        U$ N)npasarrayview	classname)clsinput_arrayr   objs       r   __new__MatlabObject.__new__   s'     jj%**3/!
r   c                 (    [        USS 5      U l        g )Nr   )getattrr   )selfr   s     r   __array_finalize__MatlabObject.__array_finalize__   s     k48r   )r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r      s    9r   r   c                       \ rS rSrSrS rSrg)r      zSubclass for a MATLAB function.

This is a simple subclass of :class:`numpy.ndarray` meant to be used
by :func:`scipy.io.loadmat` and should not be directly instantiated.
c                 P    [         R                  " U5      R                  U 5      nU$ r   r   r   r   r   r   r   s      r   r   MatlabFunction.__new__       jj%**3/
r   r   Nr   r   r   r   r   r   r   r   r   r   r   r          r   r   c                       \ rS rSrSrS rSrg)r   i  zSubclass for a MATLAB opaque matrix.

This is a simple subclass of :class:`numpy.ndarray` meant to be used
by :func:`scipy.io.loadmat` and should not be directly instantiated.
c                 P    [         R                  " U5      R                  U 5      nU$ r   r   r   s      r   r   MatlabOpaque.__new__  r   r   r   Nr   r   r   r   r   r     r   r   r   ))s0O)s1r   )s2r   )arrr   )8r   numpyr   _miobaser   __all__r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r-   r(   r!   r,   r"   r+   r'   r1   r$   r.   r%   r/   r&   r0   r#   r*   r)   r   r   r   r	   r
   r   r   r   	_bytecode_defr   ndarrayr   r   r   dtyper   r   r   r   <module>r      s    $ 




	


     " 
DT T d	
 T d d d T d D T T  +$ !#78%& 0.A'(  %)0 	$1 8 $44D4D4DDD &7 7 H	
 7 H 7 H H H & H H & H  j!" H#((	8 
8 
8	
 	( 	( 	' 	' 	' 	& 	( 	( 	( 	' 	'  	'!" 	'#*.	> 
> 
>	
 	. 	. 	- 	- 	- 	, 	. 	. 	. 	- 	-  	-!&B g*x!,x+B I$%5yA%&<iH%oyACD GI	 	 	92:: 9,	RZZ 		2:: 	 xx9;r   