Giter Club home page Giter Club logo

Comments (4)

kitchell avatar kitchell commented on June 28, 2024

according to dan: Life culls anywhere from 70 to 85 percent. Thus you should expect a 3 to 6 x increase.

so I think the numbers are actually ok. it is only a problem if it is finding fibers outside of the tracts.

from app-afq_no-life.

soichih avatar soichih commented on June 28, 2024

OK> "should expect a 3 to 6 x increase"

The actual size of tracts directory however, is about 30 times larger (68M v.s 2000M). 68M by itself is probably too large to begin with, but 2000M is non-starter.

It seems that not only the number of fibers are greater, but for each fibers it is either much longer, or has more way-points - inflating the size of the tracts.json (coordinates array seems to be x2-x3 times lager)

Do you know this is the case?

life.1.gz
nolife.1.gz

from app-afq_no-life.

kitchell avatar kitchell commented on June 28, 2024

this app now subsamples the tracts for the .json files to only include every third streamline. Should be able to visualize now.

from app-afq_no-life.

soichih avatar soichih commented on June 28, 2024

@kitchell Thanks! It looks like tracts are about 1/3 of original counts.

Before > Right SLF,17314
Now > Right SLF,5888

However, 5888 is still way to high.. at least for my 1-yo laptop (XPS15) with 16G memory / GTX 1050 GPU. It seems to load the page barely, then it crashes...

screenshot from 2018-01-22 14-51-46

I believe the subsampling at ever third streamline has another issue, where the tract only has small number of tracts. In such case, we want to display all tracts without subsampling..

Can you update the sampling algorithm so that, it simply grabs the first 1000 tracts, and show all if there are less than 1000 tracts? I believe each tracts are more/less randomly distributed so grabbing the first 1000 tracts (instead of a proper sampling) should not affect how tracts are visualized.. Do you think that will not work?

from app-afq_no-life.

Related Issues (4)

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.