Giter Club home page Giter Club logo

Comments (4)

brisvag avatar brisvag commented on September 5, 2024 1

This is relevant especially for handling template matching results, since they come out rescaled from 0 to 1. We need to figure out:

  1. when we can retrieve the scale (is it present in the starfile, or can we only retrieve it from the images?)
  2. where we want to store this information (probably some attribute in the particle block)
  3. how to cleanly deal with this at napari level

from blik.

alisterburt avatar alisterburt commented on September 5, 2024

Definitely, a combination of this and #50 all existing under the same '.star' file are why I thought having one all encompassing peeper was maybe a lofty goal.

Currently we can retrieve scale from RELION 3.1 star files, user input and the image files themselves, none of which are guaranteed to be correct

  • dynamo doesn't write pixel sizes into the headers of volumes as standard
  • RELION <3.1 STAR files don't contain pixel size info, some (but not all) of them contain magnification and detector pixel size info
  • Warp STAR files from template matching have no info about the volume they come from (to infer position) or the pixel size of that volume

Hard problem, definitely needs to be handled with care.

One solution is just to always ask for a pixel size, although that's quickly annoying if you know that the information is available in the files you provided

We could also explicitly handle each case and provide warnings when we know things are likely wrong?

from blik.

brisvag avatar brisvag commented on September 5, 2024

I'm gonna think about it a bit. I think it should be possible to guess some things, fetch others from files, and as last resort ask for what's missing.

from blik.

brisvag avatar brisvag commented on September 5, 2024

Closed by #69 .

from blik.

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.