Monday, January 1, 2007

Standarts

Hey, I believe we need to standardize our global variable names. I propose the following.
  • Entire data set: data:matrix - Every column is a data set
  • Time: time:vector
  • Sampling frequency: ts:int
  • Window size for our Welsh PSD estimate: welch_winlength:int
  • Percentage of window overlab for our Welsh PSD estimate: welch_overlap_percentage:int
  • Which channels are on: channels:bool[16] (say channel 2 and 3 are on.. channels = [0 1 1 0 0 ... 0])
  • The default start range for any frequency: global_psd_freq_start:int = 0
  • The default start range for any frequency: global_psd_freq_end:int = 26
  • The start of the delta band: delta_band_start:int = 0
  • The end of the delta band: delta_band_end:int = 4
  • The start of the theta band: theta_band_start:int = 4
  • The end of the theta band: theta_band_end:int = 8
  • The start of the alpha band: alpha_band_start:int = 8
  • The end of the alpha band: alpha_band_end:int = 12
  • The start of the beta band: beta_band_start:int = 12
  • The end of the beta band: beta_band_end:int = 26
  • X,Y positions of the channels: channel_cart_positions:matrixchannels X 2
Please follow up as I am certain I am missing some. What about the start and end times, are they different for each window?

For time, I'm not sure how you guys are dealing with it, but I'm just going to choose a sampling frequency and length of time to suit the data length I have. But when we actually run this, it should just work out ( guessing: time = [0:1/ts:(length(data)/ts)-(1/ts)];)

No comments: