Code Monkey home page Code Monkey logo

kingprofile's Introduction

kingprofile

This code encapsulates two methods to estimate the r_c, r_t parameters of a King (1962) profile.

The first one is described in Pieres et al. (2016), and corresponds to maximizing the King profile likelihood through brute force applied on a grid. This method is divided into two: 'KP_2' and 'KP_4'. The former only fits the core and tidal radius, while the latter also fits the eccentricity and rotation angle.

The second one I developed for ASteCA and estimates an "optimal" radius based on maximizing the (normalized) difference between the number of members within the cluster region, and the number of field stars. When testing it here, I discovered that this method returns a fraction of the real r_t value. This fraction is ~0.7 (maybe 1/sqrt(2)?) for all values of CI if we average the K_cp factor (concentration parameter), and varies from ~0.22 to ~0.42 for the K_cp, averaging over the CI.

TODO

  1. Estimate the field density and number of members parameters from the data at each step, instead of fixing them.
  2. Make the center coordinates also free parameters?

kingprofile's People

Contributors

gabriel-p avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

chihuanbin

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.