jdammers / jumeg

MEG Data Analysis at FZJ
BSD 3-Clause "New" or "Revised" License
10 stars 26 forks source link

jumeg_base handling raws (get_raw_obj) #239

Open jdammers opened 4 years ago

jdammers commented 4 years ago

I bring this up again in a new issue as I think reading is not a problem (mne.io.Raw() does it) but we may want to treat raws differently when fifs refer to CTF or Neuromag data. For example for noise compensation of CTF data we probably want to apply the gradient compensation. Why not using a flag for the vendor or type of machine in self or info? In my own class I am using something like this in the reader: if self.meg['vendor'] == 'CTF' and raw.compensation_grade != 3: raw.apply_gradient_compensation(3) (motivated by: https://github.com/jdammers/jumeg/issues/139#issuecomment-604936076)

pravsripad commented 4 years ago

I had a short email exchange with @fboers and I think he is trying to implement this suggestion into jumeg_base.