BDNYC / sedkit

Spectral energy distribution construction and analysis tools
https://sedkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
18 stars 13 forks source link

Spectra not plotting for source id 1304 #5

Closed ECGonzales closed 6 years ago

ECGonzales commented 7 years ago

problem1304 Spectra not plotting correctly. Could the conversion from Jy to erg/s/cm2/A be not functioning properly?

hover2pi commented 6 years ago

Should be fixed in the rewrite. Can you post a snippet so I can try to reproduce the issue?

ECGonzales commented 6 years ago

a= SEDs.MakeSED(1304, db, spec_ids=[3175,3061,1668], age=(5000,10000), est_mags=False, evo_model='nc-03_age', pi=(40.2369,0.6389))

I'm not sure if you have the latest version of the database, but you should have spec id 1668, which is the problematic one.

ECGonzales commented 6 years ago

So this source has two MIR spectra and 1668 gives this problem, but 3076 doesn't.