lofar-astron / factor

Facet calibration for LOFAR
http://www.astron.nl/citt/facet-doc
GNU General Public License v2.0
19 stars 12 forks source link

function thiessen not working when beam_ratio is not set #213

Closed rvweeren closed 6 years ago

rvweeren commented 7 years ago

maybe the default for beam_ratio should be 1.0 in this function? (or the user should be forced to provide this parameter?)

def thiessen(directions_list, field_ra_deg, field_dec_deg, faceting_radius_deg, s=None, check_edges=False, target_ra=None, target_dec=None, target_radius_arcmin=None, beam_ratio=None)

rvweeren commented 7 years ago

The reason is that the function crashes if beam_ratio is not set (I was trying to use this function in an external script)