jerichooconnell / fastcat

GNU General Public License v3.0
30 stars 13 forks source link

Spekpy issue #17

Closed justingm closed 2 years ago

justingm commented 2 years ago

Hi!

I am trying out the advanced demo but I am getting an error generating a spectra from Spekpy. Screenshot 2022-05-12 at 13 06 18

I am not sure if it is just an installation issue on my side.

justingm commented 2 years ago

By the way, I added shift=None to the parameters in Spekpy (found in spectrum.py) to make it work. I am not sure if I'm the only one getting this error but that's how I solved it.

jerichooconnell commented 2 years ago

You can just generate a spectrum by importing spekpy and then setting spectrum.x and spectrum.y in the fastcat spectrum object if you like. That is about all the spectrum object is looking for