Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement summarize events for multiple subjects #48

Open
ReneSkukies opened this issue Jul 4, 2023 · 1 comment
Open

Implement summarize events for multiple subjects #48

ReneSkukies opened this issue Jul 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ReneSkukies
Copy link
Member

          > > summarise_events doesnt exist :(

Can you remind me again what the functionality is? Basically just a DF with unique events and count and such? (what would be useful here?)

I think I simply got cofused in the Readme.md as it is still included there :-D

I think I envisioned some kind of text-summary of events (e.g. frequency, which events how many times) - potentially also a matrix, which event is followed by which event (and how much overlap? dunno how to do that). Also maybe a range of each variable (or a in-line histogram)
~~ cue some procrastiation music ~~
oookay, and here I have a prototype for this

	using UnicodePlots
	using Term
	using Printf
	using Statistics

h(name,d) = 
TextBox(@sprintf("{bold}%s{/bold} \nμ=%.2f,σ=%.2f\nmin=%.2f\nmax=%.2f",name,mean(d),std(d),minimum(d),maximum(d)),fit=true,) * 
(histogram(d,vertical=true,height=1,grid=false,stats=false,labels=false,border=:none,padding=1,margin=0)|>UnicodePlots.panel)
h("testFactor",d)|>print

grafik

should be easily stackable for multi-event purposes :)

Edit: Number of events would be nice as a number too

EditEdit: This requires UnicodePlots.jl as a requirement

Originally posted by @behinger in #35 (comment)

@ReneSkukies
Copy link
Member Author

ReneSkukies commented Jan 24, 2024

Update on this + ToDos:

  • function to translate all (i.e. from all subjects) events into a tidy data frame (for AoG plotting)
  • quick summary function as described above

@ReneSkukies ReneSkukies added the enhancement New feature or request label Jan 24, 2024
@ReneSkukies ReneSkukies mentioned this issue Apr 17, 2024
3 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant