Giter Club home page Giter Club logo

Comments (1)

stscijgbot-jp avatar stscijgbot-jp commented on July 19, 2024

Comment by Mihai Cara on JIRA:

I do not see anything wrong with this test but it appears that I am the one who designed it and so, maybe I am biased, or maybe I am thinking the same (wrong) way as I was thinking a year ago.

The test is set-up in the following way:

resample data to create an output image of a size different from the "default" (normal/expected) output size for the given image;

extract that output image WCS;

resample data (2nd attempt) but this time provide the WCS from the previous step as a custom reference WCS

repeat tests with a modified step 3 above in which we override custom WCS shape with user-provided output shape.

check that the output image size is exactly what is expected (either defined by the custom reference image from step 2 or user-provided output shape)

The fact that weight and context and data are all 0s or nan is irrelevant for this test and having some "real" data would not improve the test and just make the test run longer.

This test is checking that the code uses the provided custom reference WCS and that some of the custom reference WCS parameters (such as output shape) can be further overwritten by the user.

from jwst.

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.