Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/n/mne-python-HEAD/mne/io/tag.py   mne-python(Download)
from scipy import linalg
from ..externals.six import b, text_type
from ..externals.jdcal import jd2jcal
 
from ..constants import FIFF
            elif tag.type == FIFF.FIFFT_JULIAN:
                tag.data = int(np.fromstring(fid.read(4), dtype=">i4"))
                tag.data = jd2jcal(tag.data)
            else:
                raise Exception('Unimplemented tag data type %s' % tag.type)