def read_crop(fname, lims=(0, None)):
 return read_raw_fif(fname, allow_maxshield='yes').crop(*lims)

def read_crop ( fname , lims = ( 0 , None ) ) : return read_raw_fif ( fname , allow_maxshield = 'yes' ) . crop ( * lims )
read and crop .