Skip to content
Snippets Groups Projects
Commit e9f217f2 authored by Alexander Kutkin's avatar Alexander Kutkin
Browse files

clean

parent f7e33dd8
No related branches found
No related tags found
No related merge requests found
...@@ -86,10 +86,6 @@ def create_mask(imgfits, residfits, clipval, outname='mask.fits'): ...@@ -86,10 +86,6 @@ def create_mask(imgfits, residfits, clipval, outname='mask.fits'):
""" """
Create mask using Tom's code (e-mail on 1 Jul 2021) Create mask using Tom's code (e-mail on 1 Jul 2021)
""" """
# cfitsio_dir = '$HOME/lib/cfitsio-3.49'
# if not cfitsio_dir in os.environ['LD_LIBRARY_PATH']:
# os.environ['LD_LIBRARY_PATH'] += f':{cfitsio_dir}'
cmd = f'makeNoiseMapFits {imgfits} {residfits} noise.fits noiseMap.fits' cmd = f'makeNoiseMapFits {imgfits} {residfits} noise.fits noiseMap.fits'
logging.debug("Running command: %s", cmd) logging.debug("Running command: %s", cmd)
subprocess.call(cmd, shell=True) subprocess.call(cmd, shell=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment