Identifier     read_fspd.pro

 Purpose        Read a STANDARD FITS formatted SPD 

 Call           SPD_struc = read_fspd( filename, [,path=path]
                                       [,start=start] [,number=number][,/mc]) 

 Arguments      Name       I/O  Type     Description
                ------------------------------------------------------
                filename    I   string    SPD FITS filename or 
                                          TDT OSN number in the case of MC 
                path        I   string    PATH in the case of MC         
                start       I   i*4       start reset interval  (def=1)
                number      I   i*4       number of reset intervals to read 
                                          default : whole SPD
                mc          I   key       if mc format has to be read


 Returns        spd_struc   O   struct    IA SPD structure

 Description    ---

 Comment        ---
              
 Example        spd = read_fspd('arc_dat:spd.fits',s=1,n=300)
                read first 300 seconds from spd.fits

 Category       I/O

 Filename       read_fspd.pro (module: read_fspd)

 Author         E.Wieprecht (-->ekw)

 Version        3.0

 History        1.0  10-08-1995  --> ekw  first version 
                2.0  17-10-1995  --> DRB  Rewritten in IDL
                2.1  31-10-1997  --> Ekw  SPR_S0271 start and number corrected
                3.0  10-11-1997  --> EkW  build in MC interface