Skip to content

Annotations not showing? #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jyu72 opened this issue Oct 4, 2017 · 4 comments
Closed

Annotations not showing? #78

jyu72 opened this issue Oct 4, 2017 · 4 comments

Comments

@jyu72
Copy link

jyu72 commented Oct 4, 2017

image

I downloaded Record 208 from the database, and this record is known to contain many PVCs (annotated as "V"). The signals above contain many PVCs but have no "V" annotations - only "*"s are shown. This seems to happen for any record / sample period I try. The only annotations that show are "*"s. Not sure if I'm reading in the annotations incorrectly or an issue elsewhere.

@cx1111
Copy link
Member

cx1111 commented Oct 4, 2017

My plotrec functionality is rather limited in that it only plots one symbol (default is the red star), rather than the annotation label symbols. There is nothing being done incorrectly.

I will add the symbol plotting functionality at some point in the future (unless someone else does it first).

@jyu72
Copy link
Author

jyu72 commented Oct 4, 2017

Is the meaning of the star the same as in PhysioBank's annotations? (i.e. * = systole). How do would I go about choosing and plotting the "V" symbol then?

@cx1111
Copy link
Member

cx1111 commented Oct 4, 2017

No, it's just the default symbol for the plotrec function. You can read the doc and input any other style/symbol to plot. The symbols are stored in the Annotation object's symbol attribute, and the locations are stored in the object's sample attribute.

@cx1111 cx1111 closed this as completed in 13f5595 Dec 7, 2017
@cx1111
Copy link
Member

cx1111 commented Dec 7, 2017

I added the plotannsym argument in plotrec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants