hpproj/wcs_helper.py
File wcs_helper.py
has 267 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2016 IAS / CNRS / Univ. Paris-Sud
# LGPL License - see attached LICENSE file
Function build_wcs_2pts
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_wcs_2pts(coords, pixsize=None, shape_out=DEFAULT_SHAPE_OUT, proj_sys='EQUATORIAL', proj_type='TAN', relative_pos=(2. / 5, 3. / 5)):
Function build_wcs_cube
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_wcs_cube(coord, index, pixsize=0.01, shape_out=DEFAULT_SHAPE_OUT, proj_sys='EQUATORIAL', proj_type='TAN'):
Function build_wcs
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_wcs(coord, pixsize=0.01, shape_out=DEFAULT_SHAPE_OUT, proj_sys='EQUATORIAL', proj_type='TAN'):