Giter Club home page Giter Club logo

Comments (5)

jdmanton avatar jdmanton commented on August 28, 2024

Should I go back to the original idea of trans3d()?

from nat.flybrains.

jdmanton avatar jdmanton commented on August 28, 2024

Temporarily fixed in bf86f3b by switching to trans() until a better name is invented.

from nat.flybrains.

jefferis avatar jefferis commented on August 28, 2024

I think we might need to look at a different architecture. To my mind your template brain objects are quite close to a reg argument, so if one was doing:

xform(neuron, reg=IS2)
xform(neuron, reg=c(IS2, FCWB))
# NB mirror currently has a warp not a reg argument, because of how we have separated
# the flipping and nonrigid components
mirror(neuron, reg=IS2)

that would make quite a bit of sense to me. One might then need a method like as.reg that converted them to a registration object. Right now we only have cmtkreg objects, but maybe it would be a good idea to have a more generic reg base class. But perhaps that is a separate issue – it would need a bit more effort since figuring out just what kind of reg object we had might require the same kind of registry approach implemented in fileformats. Since we are presently only using cmtk registrations for anything serious, we could just add a as.cmtkreg.TemplateBrain method.

from nat.flybrains.

jdmanton avatar jdmanton commented on August 28, 2024

See also #6.

from nat.flybrains.

jdmanton avatar jdmanton commented on August 28, 2024

Fixed in cd76438 by changing to xform_brain() and mirror_brain().

from nat.flybrains.

Related Issues (20)

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.