Skip to content

Commit

Permalink
* revert removal of raw tag from string in igm.py
Browse files Browse the repository at this point in the history
* make log msg about using mkl_fft debug instead of info
* minor whitespace cleanups
  • Loading branch information
jdbuhler committed Sep 5, 2024
1 parent 23aae6f commit 87d4edb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions py/fastspecfit/continuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,9 +751,9 @@ def continuum_to_spectroscopy(self, contmodel):
camerapix = self.data['camerapix']
specwave = self.data['wave']
specres = self.data['res']

modelflux = np.empty(self.wavelen)

for icam, (s, e) in enumerate(camerapix):
resampflux = trapz_rebin(self.ztemplatewave,
contmodel,
Expand Down
2 changes: 1 addition & 1 deletion py/fastspecfit/igm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class Inoue14(object):
"""
r"""
IGM absorption from Inoue et al. (2014)
Parameters
Expand Down
4 changes: 2 additions & 2 deletions py/fastspecfit/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ def init_ffts(self):
if find_spec("mkl_fft") is not None:
import mkl_fft._scipy_fft_backend as be
sc_fft.set_global_backend(be)

self.convolve = sc_sig.convolve
log.info('Using mkl_fft library for FFTs')
log.debug('Using mkl_fft library for FFTs')
else:
self.convolve = sc_sig.oaconvolve

Expand Down

0 comments on commit 87d4edb

Please sign in to comment.