Git Product home page Git Product logo

pcay's People

Contributors

zpace avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

cswigg

pcay's Issues

scipy import issue in statsmodels

KDEUnivariate in find_pcs.py tries to import factorial from scipy.misc. This fails, so working around by hard-coding KDE plotting as false in find_pcs.PCA_Result.qty_hist. This is a hot-fix for mostly-unused functionality, not a long-term solution.

refactor veldisp implementation

Veldisp space isn't well-populated enough, doesn't make sense to realize only once per CSP

  • initial CSP spectra get no blur at all
  • each CSP spectrum gets blurred according to a random sample of (10 or so) veldisps
  • can also add in custom (spectrograph-specific) LSF

velocity dispersion

generate all models with appropriate velocity dispersions

do we adjust bounds of random sampling, or take all models and sample them uniformly?

scaling spectral covariance matrix

find the average signal to noise of reobserved spectra, and use that to scale the signal to noise in the spectral covariance calculations.

replace main diagonal with ivar

pre-computing k_PC

steps:

  1. initialize K_inst with eigenspectra, pre-compute all projections onto PC space with diag(K_inst) = 0
  2. compute PC covar cube resulting from ivar separately
  3. call instrumental K_PC based on starting index

Non-instantaneous bursts

These cause a problem with mass-weighted age calculations, and also are just generally messy. Could get around them with wrapping directly around fsps fortran code and specifying a piecewise SFH

factor out PCA reconstruction

Replace StellarMass_PCA.reconstruct_full() and similar methods with a more flexible reconstruction object. Put it in reconstruct.py or something. Transparently implement spaxel-wise and cube-wise reconstruction.

low spectral resolution with fsps

Natively, fsps uses basel or miles spectral library, which is much lower-res than MaNGA data is. Want Castelli+Kurucz+Conroy library, which is unpublished and unavailable (in fact, throws errors when run)

MWA computation is wrong

Doesn't account for bursts in FSPS pre-computation, just uses integrate.quad on SFR (doesn't actually use masses at each age through FSPS).

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.