Git Product home page Git Product logo

dpa_check's Introduction

DEPRECATED!

dpa_check has been merged into the acis_thermal_check repository. This repository is no longer functional and is only of historical interest.

dpa_check's People

Contributors

jzuhone avatar taldcroft avatar javierggt avatar gregg140 avatar jeanconn avatar chandra-xray avatar cegrant avatar richardjedgar avatar

Watchers

 avatar  avatar James Cloos avatar Nancy RA. Wolk avatar  avatar  avatar  avatar

Forkers

nrawolk jzuhone

dpa_check's Issues

Need some clarification regarding the getting of commanded states

Hi @taldcroft and @jeanconn,

@Gregg140 and I had some questions about what is going on in this code snippet:

dpa_check/dpa_check.py

Lines 267 to 277 in ca60736

# If cmd lines options were not fully specified then get state0 as last
# cmd_state that starts within available telemetry. Update with the
# mean temperatures at the start of state0.
if None in state0.values():
state0 = cmd_states.get_state0(tlm['date'][-5], db,
datepar='datestart')
ok = ((tlm['date'] >= state0['tstart'] - 700) &
(tlm['date'] <= state0['tstart'] + 700))
state0.update({'T_dpa': np.mean(tlm['1dpamzt'][ok])})

  1. Why do we go back 5 values from the end of telemetry in line 272?
  2. Is it necessary to take an average in lines 274-276?
  3. Is there any particular reason why we can't just pick some arbitrary time in the past long enough ago to pick a starting temperature, instead of the last commanded state with available telemetry?

We're just looking for ways to simplify this particular part of the code. We will be implementing these changes primarily in acis_thermal_check, but since this is the code that is running at the moment I thought we'd comment here.

Thanks!

Documentation style and location

Following issue sot/ska-projects/issues/126, change documentation theme to use our own (based on astropy) and migrate to gh-pages.

run_dpa_daily.py

The code run_dpa_daily.py still refers to the PSMC model. If this is not needed, perhaps it should be removed from GitHub.

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.