Closed yousrabk closed 11 years ago
Thanks for catching and reporting this - it's something I've been recently changing.
may be we just add a "else: proj = []" ?
This sounds good to me, though I'd do proj = None
. I think it'd be cleanest to also change the statements if info['projs']:
later on in _apply_lcmv (and _apply_dics) to if proj:
Would you like to do this?
Yes sure, I will do it.
I'd rather update the read meas info function to make it a list all the time
Le 13 sept. 2013 à 21:55, yousrabk notifications@github.com a écrit :
Yes sure, I will do it.
— Reply to this email directly or view it on GitHub.
Yes sure, I will do it.
thanks!
I'd rather update the read meas info function to make it a list all the time
Do you mean letting proj
be an identity matrix, like this:
proj, ncomp, _ = make_projector(info['projs'], ch_names)
if info['projs']:
G = np.dot(proj, G)
I guess that would make sense, then the check if info['projs']
here and later on in _apply_lcmv()
is good and saves us the computation time of multiplying with an identity matrix even though the proj
parameter will then be an identity matrix and could be used if one wished to do that/made a mistake? That's sounds like a nice solution.
I'm trying to compute LCMV beamformer on evoked data without SSP, it seems that it doesn't work
Apply SSPs
proj does not exist without getting in the loop, may be we just add a "else: proj = []" ?