Opened 19 years ago

Closed 18 years ago

#49 closed defect (fixed)

fitter does not honor mask

Reported by: Chris Phillips Owned by: Malte Marquarding
Priority: high Milestone: ASAP2 release
Component: General Version: 2.0
Severity: major Keywords:
Cc:

Description

When using the fitter, the mask used in set_scan did not seem to be honoured:

msk = scan.create_mask([-20,-40])
f = fitter()
f.set_function(gauss=1)
f.set_scan(scan,msk)
f.fit()

The final fit was outside the masked region

Change History (2)

comment:1 by Malte Marquarding, 19 years ago

Status: newassigned

I have just tested this using a channel mask and it worked.

I am pretty sure I am using a channel mask in the fitter even when the x values are in velocity, which is incorrect.

comment:2 by anonymous, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk. Mask got overwritten internally by a 10% edge mask.

Note: See TracTickets for help on using tickets.