Code Monkey home page Code Monkey logo

cleanmask's People

Contributors

sphemakh avatar

Watchers

 avatar  avatar  avatar

cleanmask's Issues

Doesn't produce an output image

I get an error at the start as follows, after which it seems to do all the boxing and thresholding operations, but doesn't produce a mask image.

(cleanmask) ianh@ubuntu:/mnt/hgfs/heywood/Desktop/masktests$ cleanmask -i img_1565939836_sdp_l0.full_1284.full_pol_wtspec_COSMOS_4.ms_datablind-MFS-image.fits -o test.fits -s 5.5 -it 10 -nb 50 -ol 0.4 
INFO:root:Creating mask...
INFO:root:Sigma cliping RMS box (0,0)
Traceback (most recent call last):
  File "/home/ianh/venv/cleanmask/bin/cleanmask", line 4, in <module>
    __import__('pkg_resources').run_script('cleanmask==1.3.0', 'cleanmask')
  File "/home/ianh/venv/cleanmask/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 658, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/ianh/venv/cleanmask/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1438, in run_script
    exec(code, namespace, namespace)
  File "/home/ianh/venv/cleanmask/lib/python2.7/site-packages/cleanmask-1.3.0-py2.7.egg/EGG-INFO/scripts/cleanmask", line 5, in <module>
    pkg.main([a for a in sys.argv[1:]])
  File "/home/ianh/venv/cleanmask/local/lib/python2.7/site-packages/cleanmask-1.3.0-py2.7.egg/cleanmask/CleanMask.py", line 195, in main
    for j, imslice, submask in f.result():
  File "/home/ianh/venv/cleanmask/local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 455, in result
    return self.__get_result()
  File "/home/ianh/venv/cleanmask/local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414, in __get_result
    raise exception_type, self._exception, self._traceback
TypeError: sigma_clip() got an unexpected keyword argument 'maxiters'
INFO:root:Sigma cliping RMS box (1,0)
INFO:root:Sigma cliping RMS box (2,0)
INFO:root:Sigma cliping RMS box (3,0)
INFO:root:Sigma cliping RMS box (4,0)
INFO:root:Sigma cliping RMS box (5,0)
INFO:root:Sigma cliping RMS box (6,0)
INFO:root:Sigma cliping RMS box (7,0)
INFO:root:Sigma cliping RMS box (8,0)
INFO:root:Sigma cliping RMS box (9,0)
INFO:root:Sigma cliping RMS box (10,0)
INFO:root:Sigma cliping RMS box (11,0)
INFO:root:Sigma cliping RMS box (12,0)
INFO:root:Sigma cliping RMS box (13,0)
INFO:root:Sigma cliping RMS box (14,0)
INFO:root:Sigma cliping RMS box (15,0)
INFO:root:Sigma cliping RMS box (16,0)
INFO:root:Sigma cliping RMS box (17,0)
INFO:root:Sigma cliping RMS box (18,0)
INFO:root:Sigma cliping RMS box (19,0)
INFO:root:Sigma cliping RMS box (20,0)
INFO:root:Sigma cliping RMS box (21,0)
INFO:root:Sigma cliping RMS box (22,0)
INFO:root:Sigma cliping RMS box (23,0)
INFO:root:Sigma cliping RMS box (24,0)
INFO:root:Sigma cliping RMS box (25,0)
INFO:root:Sigma cliping RMS box (26,0)
INFO:root:Sigma cliping RMS box (27,0)
INFO:root:Sigma cliping RMS box (28,0)
INFO:root:Sigma cliping RMS box (29,0)
INFO:root:Sigma cliping RMS box (30,0)
INFO:root:Sigma cliping RMS box (31,0)
INFO:root:Sigma cliping RMS box (32,0)
INFO:root:Sigma cliping RMS box (33,0)
INFO:root:Sigma cliping RMS box (34,0)
INFO:root:Sigma cliping RMS box (35,0)
INFO:root:Sigma cliping RMS box (36,0)
INFO:root:Sigma cliping RMS box (37,0)
INFO:root:Sigma cliping RMS box (38,0)
INFO:root:Sigma cliping RMS box (39,0)
INFO:root:Sigma cliping RMS box (40,0)
INFO:root:Sigma cliping RMS box (41,0)
INFO:root:Sigma cliping RMS box (42,0)
INFO:root:Sigma cliping RMS box (43,0)
INFO:root:Sigma cliping RMS box (44,0)
INFO:root:Sigma cliping RMS box (45,0)
INFO:root:Sigma cliping RMS box (46,0)
INFO:root:Sigma cliping RMS box (47,0)
INFO:root:Sigma cliping RMS box (48,0)
INFO:root:Sigma cliping RMS box (49,0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.