def write_julian(fid, kind, data):
 assert (len(data) == 3)
 data_size = 4
 jd = np.sum(jcal2jd(*data))
 data = np.array(jd, dtype='>i4')
 _write(fid, data, kind, data_size, FIFF.FIFFT_JULIAN, '>i4')

def write_julian ( fid , kind , data ) : assert ( len ( data ) == 3 ) data_size = 4 jd = np . sum ( jcal2jd ( * data ) ) data = np . array ( jd , dtype = '>i4' ) _write ( fid , data , kind , data_size , FIFF . FIFFT_JULIAN , '>i4' )
write a julian-formatted date to a fif file .