Git Product home page Git Product logo

Comments (4)

briangow avatar briangow commented on July 16, 2024

@fuiyoo please provide details regarding which database / file you're trying to run rdsamp on and your lines of code.

from wfdb-python.

fuiyoo avatar fuiyoo commented on July 16, 2024

these are the lines of codes.

signals,field = wfdb.rdsamp('Dual-task/S0088_DT_D1',sampfrom=800,channels=[1,3])
display(signals)
display(fields)

the error of the codes are like this

FileNotFoundError Traceback (most recent call last)
Cell In[3], line 1
----> 1 signals,field = wfdb.rdsamp('Dual-task/S0088_DT_D1',sampfrom=800,channels=[1,3])
2 display(signals)
3 display(fields)

File ~\AppData\Local\Programs\Python\Python312\Lib\site-packages\wfdb\io\record.py:2317, in rdsamp(record_name, sampfrom, sampto, channels, pn_dir, channel_names, warn_empty, return_res)
2312 dir_list = pn_dir.split("/")
2313 pn_dir = posixpath.join(
2314 dir_list[0], download.get_version(dir_list[0]), *dir_list[1:]
2315 )
-> 2317 record = rdrecord(
2318 record_name=record_name,
2319 sampfrom=sampfrom,
2320 sampto=sampto,
2321 channels=channels,
2322 physical=True,
2323 pn_dir=pn_dir,
2324 m2s=True,
2325 return_res=return_res,
2326 channel_names=channel_names,
2327 warn_empty=warn_empty,
2328 )
2330 signals = record.p_signal
...
1844 ) as f:
1845 header_content = f.read()
1846 else:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\User\Downloads\tai-chi-physiological-complexity-and-healthy-aging-gait-1.0.2\tai-chi-physiological-complexity-and-healthy-aging-gait-1.0.2\Dual-task\S0088_DT_D1.hea'

from wfdb-python.

fuiyoo avatar fuiyoo commented on July 16, 2024

I try to display the values of EMG signal from Physionet

from wfdb-python.

fuiyoo avatar fuiyoo commented on July 16, 2024

I cannot upload the files here because Github does not support the file type

from wfdb-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.