Skip to content

Commit

Permalink
Remove unnecessary files
Browse files Browse the repository at this point in the history
Edit small text
Update readme again
  • Loading branch information
Mulan-94 committed Sep 13, 2022
1 parent e6b9f6a commit 0dff42e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
9 changes: 8 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ smops



Python script for interpolating FITS model images over frequency. Use as:
smops - (aka Smooth Operator) is a python package for interpolating channelised FITS model images over larger user-specified frequency channesl. i.e if you give smops 4 channel model fits images, it will return 16 model images. For example:

.. code-block:: bash
smops --ms /ms/used/togen/images.ms -ip prefix-used-for-those-images -co 16 -order 4
Its options are:

.. code-block:: python
Expand Down
12 changes: 0 additions & 12 deletions requirements_dev.txt

This file was deleted.

4 changes: 2 additions & 2 deletions smops/smooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
def configure_logger(out_dir):
formatter = logging.Formatter(
datefmt='%H:%M:%S %d.%m.%Y',
fmt="%(asctime)s : %(levelname)s - %(message)s")
fmt="%(asctime)s : %(name)s - %(levelname)s - %(message)s")

if not os.path.isdir(out_dir):
os.makedirs(out_dir)
Expand Down Expand Up @@ -352,7 +352,7 @@ def main():
MAX_MEM = args.max_mem
else:
MAX_MEM = int(.2 *psutil.virtual_memory().total)//GB
snitch.info(f"Setting memory to: {MAX_MEM} GB")
snitch.info(f"Setting memory cap to: {MAX_MEM} GB")


if not os.path.isdir(output_dir):
Expand Down

0 comments on commit 0dff42e

Please sign in to comment.