Giter VIP home page Giter VIP logo

companion_simulations's People

Contributors

codacy-badger avatar dependabot[bot] avatar jason-neal avatar pyup-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar

companion_simulations's Issues

Fix handling requested spectra outside of available range.

Some ideas:

  • If companion temp is too low, display warning and default to the 5 lowest spectral models or something.
  • Not able to request a spectra that is not available,/ be able to handle that better, not just fail, maybe warn though.

continuum normalization

Try F = F * cont model / cont obs from chi**2 parameter paper renormalization of observation

Lithium 6 parabola

Nuno suggests making a parabola line his lithium 6 paper.

For each parameter. Pick the chi2 value that is smallest and we should get a parabola.

He also suggest adding a variable normalization that is thrown away at the minimum chi2.
I could add another broadcasted parameter and multiple 1 model or obs by 0.98 and 1.02 and then reduce back to minimum chi 2 for each.

Refactor code!

Combine the analysis from the 3 branches into one logical flow. Having a mode/model parameter to choose different code paths.

Wavelength Interpolation

Can I interpolate Multi dimensional data along one axis?

To interpolate to the points of the observation.

Also for the doppler shift of the companion, and system.

Co-add chi2 values from detectors.

Find out how to co-add chi2 values. from the same obervation together.

Do this for the enitire gird and then use that chi2 value as the minimum value.

Then average or co-add these across the observations.

Broadcast inner loops

broadcast the alpha parameter for the combined modeling.

something like
xy = x + y[:, np.newaxis] * alpha

will result in shape(len(x), len(alpha))

Obtain spectrum using STARFISH

Be able to obtain the spectra with the 4 input parameters. teff feh logg alpha=0.
Be able to iterate over them.

Want to do the models on the outer loops, want to open each one as little as possible.

Try fitting model with lmfit.

Try use lmfit to match observation to model.

Possibly all parameters. 2 templates, 2 rvs, and an alpha value.
Or else just 1 rv and correct to center of host.

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.