Skip to content

Commit

Permalink
* fix import and remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshuaalbert committed Sep 4, 2024
1 parent c1fb02f commit fa3f081
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 234 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


@rfi_model_registry(template='lte_cell_tower')
class LWACellTower(AbstractRFIEmitterData):
class DSACellTower(AbstractRFIEmitterData):

def rfi_injection_model(self) -> str:
return os.path.join(*self.content_path, 'rfi_injection_model.mat')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import numpy as np
from astropy import units as au

from dsa2000_cal.assets.rfi.lte_rfi.dsa_cell_tower import LTECellTower
from dsa2000_cal.assets.rfi.lte_rfi.dsa_cell_tower import DSACellTower


def test_lte_rfi_source_factory():
model = LTECellTower()
model = DSACellTower()
import pylab as plt
source_params = model.make_source_params(freqs=np.linspace(700, 800, 50) * au.MHz)
plt.plot(source_params.freqs, source_params.spectral_flux_density[0])
Expand Down
Empty file.
231 changes: 0 additions & 231 deletions dsa2000_cal/dsa2000_cal/rfi/_rfi_simulation_old.py

This file was deleted.

0 comments on commit fa3f081

Please sign in to comment.