Skip to content

Commit

Permalink
importing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanaseus committed Nov 29, 2023
1 parent 7f455a7 commit adc335f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
8 changes: 4 additions & 4 deletions rfinder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@

sys.path.append(os.path.join(RFINDER_PATH, 'rfinder'))

import rfi
import rfinder_stats as rfi_stats
import rfinder_plots as rfi_plots
import rfinder_files as rfiFL
from rfinder import rfi
from rfinder import rfinder_stats as rfi_stats
from rfinder import rfinder_plots as rfi_plots
from rfinder import rfinder_files as rfiFL

rfi = rfi.rfi()
rfiST = rfi_stats.rfi_stats()
Expand Down
5 changes: 2 additions & 3 deletions rfinder/rfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
from astropy.io import fits, ascii
from astropy import units as u
from astropy.table import Table, Column, MaskedColumn
import rfinder

import rfinder_stats as rfi_stats
import rfinder_files as rfi_files
from rfinder import rfinder_stats as rfi_stats
from rfinder import rfinder_files as rfi_files


rfiST = rfi_stats.rfi_stats()
Expand Down
6 changes: 3 additions & 3 deletions rfinder/rfinder_files.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import base64
import os, string, sys, glob
import shutil
import numpy as np
import os, string, sys, glob
from astropy.io import fits as fits
from astropy import units as u
from jinja2 import FileSystemLoader, Environment
import shutil
import rfinder_stats as rfi_stats
from rfinder import rfinder_stats as rfi_stats
rfiST = rfi_stats.rfi_stats()

import logging
Expand Down
4 changes: 2 additions & 2 deletions rfinder/rfinder_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

import logging

import rfi
from rfinder import rfi
rfi = rfi.rfi()
import rfinder_stats as rfi_stats
from rfinder import rfinder_stats as rfi_stats
rfiST = rfi_stats.rfi_stats()


Expand Down
8 changes: 2 additions & 6 deletions rfinder/rfinder_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,21 @@
import yaml
import json
import glob
import casacore.tables as tables
import logging
import multiprocessing
import casacore.tables as tables


from astropy.time import Time
from astropy.coordinates import SkyCoord, EarthLocation, AltAz
from astropy.io import fits, ascii
from astropy import units as u
from astropy.table import Table, Column, MaskedColumn


import rfinder
from astropy.coordinates import SkyCoord, EarthLocation, AltAz


class rfi_stats:



def __init__(self):

self.logger = logging.getLogger('log-rfinder.log')
Expand Down

0 comments on commit adc335f

Please sign in to comment.