GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Stage. Mapping arbitrary units to phisical units · Issue #288 · python-microscope/microscope

Stage. Mapping arbitrary units to phisical units #288

New issue
Copy link
New issue
Copy link
Open
Open
Stage. Mapping arbitrary units to phisical units#288
Copy link

Description

@juliomateoslangerak
juliomateoslangerak
opened on Oct 26, 2023
Issue body actions

I have a question that rose while testing the ASI stage but I find applies to others.

The move_by method takes an value and it Move axis by given amount. It is not specified the amount in physical units. In the case of the ASI this is translated into 1/10 microns, and that value must be different for any stage.

I cannot find anywhere a mapping of these arbitrary units and the physical units. Where is this to be defined?

Activity

  1. iandobbie commented on Oct 26, 2023

    @iandobbie
    iandobbie
    on Oct 26, 2023
    Collaborator
    More actions

    Microscope stages are just defined in terms of "units" whatever the stage wants to use. Any mapping to real units is defined in cockpit, see https://microscope-cockpit.org/depot-config#stages

  2. juliomateoslangerak commented on Oct 26, 2023

    @juliomateoslangerak
    juliomateoslangerak
    on Oct 26, 2023
    ContributorAuthor
    More actions

    I see. Thanks

    Does it make sense to implement some function to get this information from the stage? Best effort

  3. iandobbie commented on Oct 26, 2023

    @iandobbie
    iandobbie
    on Oct 26, 2023
    Collaborator
    More actions

    I guess, although we would then have to implement some well defined mechanism to signal that there is no physical unit and the user needs to provide one.

  4. iandobbie commented on Nov 8, 2023

    @iandobbie
    iandobbie
    on Nov 8, 2023
    Collaborator
    More actions

    Thinking about this I would say that more and more info will be encoded on the stage so we probably should read units from the stage if possible.

    Maybe have cockpit do,

    try:
    get stage units from microscope
    except:
    try:
    get stage units from depot config
    except:
    fail, no stage units.

    The one drawback of this is how do you overwrite the stage units if they are mad. Maybe the opposite is better and try read from config, then the stage if both fail then error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.