Skip to content

Commit 880da3e

Browse files
committed
moved class into isce3 pacakge
1 parent 81a6f15 commit 880da3e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

python/packages/isce3/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from . import polsar
1515
from . import product
1616
from . import signal
17+
from . import splitspectrum
1718
from . import unwrap
1819

1920
if hasattr(_pybind_isce3, "cuda"):
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

python/packages/nisar/workflows/splitspectrum.py renamed to python/packages/isce3/splitspectrum/splitspectrum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ def construct_range_bandpass_kaiser_cosine(self,
355355

356356
# sampling frequency is 1.2 times wider than bandwith
357357
sampling_bandwidth_ratio = 1.2
358-
sampling_low_frequency = fL - (sampling_bandwidth_ratio - 1) * subbandwidth *.5
359-
sampling_high_frequency = fH + (sampling_bandwidth_ratio - 1) * subbandwidth *.5
358+
sampling_low_frequency = fL - (sampling_bandwidth_ratio - 1) * subbandwidth * 0.5
359+
sampling_high_frequency = fH + (sampling_bandwidth_ratio - 1) * subbandwidth * 0.5
360360

361361
# index for low and high sampling frequency in frequency_range
362362
idx_fL = np.abs(frequency_range - sampling_low_frequency).argmin()

python/packages/nisar/workflows/bandpass_insar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from nisar.workflows.bandpass_insar_runconfig import BandpassRunConfig
1414
from nisar.workflows.yaml_argparse import YamlArgparse
1515
from nisar.h5 import cp_h5_meta_data
16-
import nisar.workflows.splitspectrum as splitspectrum
16+
from isce3.splitspectrum import splitspectrum
1717

1818

1919
def run(cfg: dict):

0 commit comments

Comments
 (0)