-
Notifications
You must be signed in to change notification settings - Fork 22
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
Transform the probe_ccf.trajectory_coords into the coordinates under res = 25um #22
Comments
Good catch if the issue is the 10um vs 25um resolution - if that's the case, I think it should work if you just re-scale the CCF coordinates by 1/2.5. From the other thread you mentioned (#17), you could save the NPY file in matlab with an extra scaling operation:
Do you want to try that and let me know how it goes? |
@petersaj The output xyz_picks.json data still be a little wired. see below: The xyz_picks.json in the sample data is: When I use this obtained xyz_picks.json to run the gui, the error: |
It looks like the ccf2xyz command is actually looking for microns in CCF space (see the comments in the second code block here: https://github.com/int-brain-lab/iblapps/wiki/4.-Preparing-data-for-ephys-GUI) In that case, the line to scale the coordinates above would be:
I'm not sure about the DV being positive - sometimes positive DV indicates downward, maybe that's the case in the IBL conventions? |
Failed again, but thanks .... I have another question:what‘s the meaning of probe_ccf.trajectory_areas? |
Hi,Andy. I finally succeeded. The problem was indeed the resolution and unit. I misunderstood your meaning and did ./2.5 *10, so I failed again 4h ago. When I just mutiply 10 to probe_ccf.trajectory_coords. and then transfer it into xyz_picks.json, the ibl application worked well (also see the #83 issue in the github page of iblapps int-brain-lab/iblapps#83). Thanks very much. @petersaj |
Great - for your other question, |
The text was updated successfully, but these errors were encountered: