spacetelescope/roman_tools

Issue with Customized SED Input

Opened this issue · 0 comments

Hi,

I've encountered problems while trying to use the roman tools for customized spectrum. No matter how I've scaled my source spectrum(by 10,100 times etc), I've always received the same SNR value after calculation. Therefore, I've tried to sort it out by plotting the SED of my target that was used for calculation. Here're the screenshots of my configurations.
Screen Shot 2022-01-09 at 9 03 59 PM

In the screenshot above, I set the sed_type to be input and normalization to be none so that it will only take the customized SED without normalizing it. Here pop3SED is a customized function that takes some input value and generates SED spectrum in the format [wavelength, flux] in the units of micron and mJy. The following shows the parameters zipped in the scene.

Screen Shot 2022-01-09 at 9 07 57 PM

Screen Shot 2022-01-09 at 8 44 31 PM
Screen Shot 2022-01-09 at 9 09 54 PM

In the second last screenshot, I've tried to make a plot from the target spectrum and it seems that the program does the normalization at 2micron and 0.01 mJy as the default value, as it indicates in the warning part(last screenshot). Please let me know if there's a way to fix it. Any help would be greatly appreciated!