Giter VIP home page Giter VIP logo

gradientdispersion's People

Contributors

caseypaquola avatar rb643 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.