simonsobs / fgspectra

Foreground SED and power spectrum library for building cross frequency power spectrum models
BSD 3-Clause "New" or "Revised" License
8 stars 7 forks source link

bandpass integration #3

Open xzackli opened 5 years ago

xzackli commented 5 years ago

Paraphrased from @damonge,

fgspectra can include bandpass convolution, as long as

  1. it does it at the SED level, and
  2. the code that does it lives in a separate module that other pipelines can also use.

and from @dpole

integration functions don’t take a list of file names as arguments but rather a list of arrays

Probably a good first attempt should be just to copy over the tile-c bandpass module. The default behavior should be to have a delta function bandpass.

jcolinhill commented 5 years ago

take a look at: https://github.com/ACTCollaboration/tile-c/blob/master/tilec/fg.py

xzackli commented 5 years ago

I think SO bandpasses in text files here (thanks Max)

https://github.com/simonsobs/BBPipe/tree/bbpower_bandpass_work/examples

dpole commented 4 years ago

32