Skip to content

Commit

Permalink
Moves spectrum from montecarlo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed May 8, 2024
1 parent db4d0df commit ddc3d2c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/physics/spectrum/basic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"source": [
"from tardis.io.configuration.config_reader import Configuration\n",
"from tardis.simulation import Simulation\n",
"from tardis.transport.montecarlo.spectrum import TARDISSpectrum\n",
"from tardis.spectrum import TARDISSpectrum\n",
"from tardis.io.atom_data.util import download_atom_data\n",
"from astropy import units as u\n",
"import numpy as np\n",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from tardis import constants as c
import astropy.tests.helper as test_helper
from numpy.testing import assert_almost_equal
from tardis.transport.montecarlo.spectrum import (
from tardis.spectrum import (
TARDISSpectrum,
)

Expand Down
2 changes: 1 addition & 1 deletion tardis/transport/montecarlo/formal_integral.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CudaFormalIntegrator,
)

from tardis.transport.montecarlo.spectrum import TARDISSpectrum
from tardis.spectrum import TARDISSpectrum

C_INV = 3.33564e-11
M_PI = np.arccos(-1)
Expand Down
2 changes: 1 addition & 1 deletion tardis/transport/montecarlo/montecarlo_transport_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
MCDiluteBlackBodyRadFieldSolver,
)
from tardis.transport.montecarlo.formal_integral import IntegrationError
from tardis.transport.montecarlo.spectrum import TARDISSpectrum
from tardis.spectrum import TARDISSpectrum


class MonteCarloTransportState(HDFWriterMixin):
Expand Down

0 comments on commit ddc3d2c

Please sign in to comment.