gradientdispersion's People
gradientdispersion's Issues
Network centroid definition
Hi there!
I am trying to implement your dispersion in Python. Having a minimal knowledge of Matlab, I was just wondering if you could confirm/refute my understanding of how you defined network centroids (a.k.a "centre of gravity"?) in camcan_functional_gradients.m
. Given the snippet below, I reckon that the centroid coordinates of network X in the 3D gradient space are the median values of gradients 1-3 of network X. Is that so?
A huge thanks in advance!
yeo_cog = np.zeros((num_subjects, 3, num_networks))
yeo_netSSD = np.zeros((num_subjects, num_networks))
mdl_yeo = np.zeros((num_coefficients, num_coefficients, num_networks))
for n in range(1, num_networks + 1):
netNodes = np.where(yeo_parc == n)[0]
group_yeo_cog = np.median(group_grad[netNodes], axis=0)
for s in range(num_subjects):
yeo_cog[s, :, n - 1] = np.median(G1[netNodes, :3, s], axis=0)
yeo_cog_dist = np.linalg.norm(group_yeo_cog - yeo_cog[s, :, n - 1])
dist_to_centre = np.linalg.norm(G1[netNodes, :3, s] - yeo_cog[s, :, n - 1], axis=1)
yeo_netSSD[s, n - 1] = np.sum(dist_to_centre ** 2)
Page not found
Hi, professor
Sorry for bothering you. When I want to run an analysis on camcan_functional_gradients.m, the dependencies "MICA Tools (e.g. Matlab tools and Surfstat add-ons): https://github.com/MICA-MNI/micasoft" has been reported: 404 This is not the web page you are looking for. Where can I find this dependencies? Thank you for any help.
Best wishes to you.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.