Code Monkey home page Code Monkey logo

Comments (8)

bodinm avatar bodinm commented on July 22, 2024

[minor] In the Tomogram table, I would prefer use tomogramId instead of tomogramID, to follow the existing DB naming convention.

from ispyb-database-modeling.

stufisher avatar stufisher commented on July 22, 2024

numberofframes is already in datacollection as number of passes (see https://user-images.githubusercontent.com/4463399/29261785-a6daf4f8-80d1-11e7-9671-9e15fa070d54.png [https://github.com//issues/14])

from ispyb-database-modeling.

stufisher avatar stufisher commented on July 22, 2024

Re naming

XaxisCorrection -> xAxisCorrection
Zshift -> zShift

for consistency?

Can we get some background on how this works?

from ispyb-database-modeling.

KarlLevik avatar KarlLevik commented on July 22, 2024

Thank you both for the feedback! That all sounds good.

Background here:
https://hackmd.io/RCfRD-FaTCagTxeTwVHIaA?view

The text from the above HackMD document was used in the aforementioned iNext Discovery report.

from ispyb-database-modeling.

KarlLevik avatar KarlLevik commented on July 22, 2024

@stufisher Just checking, are we sure that DC.numberOfPasses and the proposed Movie.numberOfFrames are equivalent? I'm just thinking that there could be multiple Movies in a DC (unless this relationship is meant to be 1 to 1?), each with a different number of frames?

from ispyb-database-modeling.

stufisher avatar stufisher commented on July 22, 2024

I think we had agreed
DataCollection -> Movie (many)
numberOfFrames -> no of movies
numberOfPasses -> no of frames per movie

but yes you are right, this assumes that each movie has the same number of frames (i think this is the case, but can they be different?)

who knows what was actually implemented though! maybe have a quick browse of the production db?

from ispyb-database-modeling.

KarlLevik avatar KarlLevik commented on July 22, 2024

Data in our prod database definitely confirms that there are multiple Movies per DC. (One random DC I looked at had 14600 Movies!)

Apparently, we stopped populating DC.numberOfPasses for cryoEM in 2019.

Anecdotally, looking at the number of MotionCorrectionDrift rows per Movie they do seem to be the same within a DataCollection.

from ispyb-database-modeling.

olofsvensson avatar olofsvensson commented on July 22, 2024

@KarlLevik, I got feedback from our CryoEM scientist and they are happy with what you suggest. So for me it's ok to go ahead and implement your suggestion.

@stufisher , I had a look on our production DB and this is what we use:
DataCollection -> Movie (many)
DataCollection.numberOfImages: no of frames per movie

We don't store no of movies, it's simply the number of movie entries for a given data collection id.

from ispyb-database-modeling.

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.