Giter VIP home page Giter VIP logo

refstis's Introduction

STIS superdark and superbias reference file creation routines

Contribute

This library primarily serves the internal needs of the STIS instrument team at STScI, and as such not all requested changes will be able to be accommodated.
Still, we'd love to know what issues and modifications are out there, so please don't be shy!

For bugs, issues, suggestions, please use the github issue tracker. For code, please fork the repo, make your changes, and issue a pull request.

Build Status and things

build

Documentation: Documentation Status

Conda install: Anaconda-Server Badge

refstis's People

Contributors

ariley1472 avatar dougbrn avatar jneu avatar justincely avatar pllim avatar sean-lockwood avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

refstis's Issues

Update the help

Tyler Desjardins mentions that we should consider moving emails from help[at]stsci.edu to point to the web portal where possible and appropriate. For HST (or any non-JWST), it is https://hsthelp.stsci.edu . For JWST, it is https://jwsthelp.stsci.edu . Please update info in setup.py, setup.cfg, documentation, etc as appropriate.

Please close this issue if it is irrelevant to your repository. This is an automated issue. If this is opened in error, please let pllim know!

xref spacetelescope/hstcal#317

TST: Use GitHub Actions

Or at the very least, don't use -c astropy-ci-extras because that is no longer supported by Astropy org.

Remove IRAF/PyRAF dependencies!

There are still IRAF/PyRAF dependencies that we should get rid of as soon as possible. The functions.py script appears to be the only one with these dependencies

Unit Tests

We should make some tests so that every time we make a change, we can run it really quickly to confirm that it's still working. One example would be a script that calculates some of the stats for the newly created darks and biases and compares them to the stats of those we know to be true.

functions.refaver() doesn't update output super-bias header

functions.refaver(all_subnames, weekbias_name)

Super-biases constructed from over 120 imsets are bisected, processed with refbias and recombined with refaver. However, refaver keeps the header of the first file and doesn't update it with info relevant to both (e.g. the full component bias file list).

Code that sums the two scaled files:

msarith(all_subfiles[0], '+', all_subfiles[1], combined_name, verbose=True)

Remove iutil dependency

@philhodge
Can we replace iutil.splitOnComma(operand) with [x.strip() for x in operand.split(',')] ?

E.g.:

operand1 = iutil.splitOnComma(operand1)

Not really sure where the iutil package comes from, so not sure if it's supposed to handle different format data, etc.

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.