

> 445 self._add_dev_field_description(message) ~/anaconda3/lib/python3.7/site-packages/fitdecode/reader.py in _read_record(self)Ĥ44 elif sg_sg_num = profile.MESG_NUM_FIELD_DESCRIPTION: ~/anaconda3/lib/python3.7/site-packages/fitdecode/reader.py in _iter_(self) KeyError Traceback (most recent call last)ģ with fitdecode.FitReader(src_file) as fit:ĥ # The yielded frame object is of one of the following types: # are directly usable in your script logic.

# A FitDataMessage object contains decoded values that # Here, frame is a FitDataMessage object. If isinstance(frame, fitdecode.FitDataMessage): # The yielded frame object is of one of the following types:

With fitdecode.FitReader(src_file) as fit: Src_file = "/home/bradmin/Downloads/.fit" I've tried this now but i get an error: import fitdecode

> 855 raise IOError('Empty or corrupt FITS file')Ĩ57 # initialize/reset attributes to be used in "update/append" mode > 266 save_backup=save_backup, **kwargs)Ģ68 in _readfrom(cls, fileobj, data, mode, memmap, save_backup, **kwargs)Ĩ54 if mode in ('readonly', 'denywrite') and len(hdulist) = 0: ~/anaconda3/lib/python3.7/site-packages/pyfits/hdu/hdulist.py in fromfile(cls, fileobj, mode, memmap, save_backup, **kwargs)Ģ65 return cls._readfrom(fileobj=fileobj, mode=mode, memmap=memmap, > 124 return omfile(name, mode, memmap, save_backup, **kwargs) ~/anaconda3/lib/python3.7/site-packages/pyfits/hdu/hdulist.py in fitsopen(name, mode, memmap, save_backup, **kwargs)ġ22 raise ValueError('Empty filename: %s' % repr(name)) > 4 hdulist = pyfits.open('/home/bradmin/Downloads/.fit') OSError Traceback (most recent call last) Hdulist = pyfits.open('/home/bradmin/Downloads/.fit') I'm using ubuntu, anaconda, python 3.7 import pyfits Can anyone recommend a library that works with. However I can't even find a suitable library to read the. I've recorded my heart rate for 5 minutes or so and exported the. I thought this would also give more freedom in the choice of visualization, testing etc. Also I would like to get more familiar with python so i decided I would like do do the analyses of my heart rate myself in python instead of in the wahoo app. I've bought a Wahoo TICKR X to monitor my heart rate during exercise. Not sure if I can post a question like this here so please redirect me if I'm in the wrong place.
