GithubHelp home page GithubHelp logo

Comments (7)

sbailey avatar sbailey commented on June 22, 2024

For context, desimodel.footprint.find_points_in_tiles() uses desimodel.focalplane.get_tile_radius_deg() for the default radius. This returns the radius of the middle of the outermost positioner, but as you found here that means that there are some targets that are reachable by some positioners that aren't included. This choice was motivated by people doing coverage statistics and not wanting to include too many points that couldn't actually be observed.

I'd be fine with updating desimodel.focalplane.get_tile_radius_deg() to be the furthest radius that any positioner could reach and just accept that that will bring in a superset of targets that actually could be reached. I don't think we should try to update desimodel.footprint.find_points_in_tiles() to do the exact per-positioner coverage calculation which would be much much slower (ok if someone wants to contribute that as a separate function; I have ideas about how that could be done...)

Any strong opinions either way from anyone about whether the tile "radius" should be referring to the maximum possible radius, or the typical radius?

This shows the radius of furthest reach of the positioners along the outer edge of the tile, along with the radius equivalent to what is currently considered to be the tile radius.
image

from desimodel.

kdawson1000 avatar kdawson1000 commented on June 22, 2024

I vote that it is updated to be the maximum possible radius to ensure that all targets will lie within reach of a positioner. I agree that this does not need to do the exact per-positioner coverage.

from desimodel.

Srheft avatar Srheft commented on June 22, 2024

Would be nice to show the tile perimiter in tile plots of the fiber assignment (a fine dashed-line circle superposed on the plots just so that we know if an "edge fiber" is left unassigned, it's not for any reason other than insufficient target density or fiber collision).

And, @sbailey: Agreed. clearly desimodel.focalplane.get_tile_radius_deg() controls the find_points_in_tiles() output so this is more of a "tile radius definition" issue than the find_points_in_tiles() issue. This ticket just shows how we reached to the conclusion about [possibly] changing the tile radius definition.

from desimodel.

tskisner avatar tskisner commented on June 22, 2024

Another note: In fiber assignment, the tile radius (which is used in the tree lookup to find available targets for each tile) is currently hard-coded to 1.65 degrees. This and all of the hardware properties will be reviewed after the merge when updating the positioner geometry, etc. That would be a good time to get this value from some other place like desimodel.

from desimodel.

tskisner avatar tskisner commented on June 22, 2024

For reference: https://github.com/desihub/fiberassign/blob/tsk_refactor/src/hardware.cpp#L94

from desimodel.

Srheft avatar Srheft commented on June 22, 2024

@tskisner

In fiber assignment, the tile radius (which is used in the tree lookup to find available targets for each tile) is currently hard-coded to 1.65 degrees.

The source of difference between hard-coded tile radius in hardware and what I see below is not clear to me:

import desimodel.focalplane
desimodel.focalplane.get_tile_radius_deg()
1.6057735024174122

from desimodel.

sbailey avatar sbailey commented on June 22, 2024

default tile radius updated in PR #102; closing this ticket.

from desimodel.

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.