project8 / katydid

Project 8 data analysis package
Other
5 stars 4 forks source link

Add slot to TrackProcessing that takes SeqLines as input #131

Closed cclaessens closed 6 years ago

cclaessens commented 6 years ago

We want to use the weighted slope algorithm on points from SeqLines. This processor should convert SeqLines to processed Tracks.

guiguem commented 6 years ago

After discussion, we are not going to add a new slot for that, but since the STFU outputs SWCD, we should add one slot using this (and this only). Since the Hough Transform is required for the DoubleCuts, we might not be able to use the DoubleCuts with SFTU algorithm (at least for a first pass).

An upgrade would be to also extract the slope from the SFTU, save it into another object, extend the newly created slot and give this to the TrackProcessing processor.

cclaessens commented 6 years ago

The LineRef objects from SeqLines do have a slope. But I thought the double cuts is there to remove points that are far away from the track. I don't think there is a need to do that with STF output.

guiguem commented 6 years ago

Seems that being able to access the Double cuts algorithm with just KTSparseWaterfallCandidateData will be challenging, as the double cuts uses the slope, intercept and some rescaling factors. I have changed the logic, so if there is only one slot (KTSparseWaterfallCandidateData), it will stop when trying to do the double-cut. Not sure if there is a better way: I could comment the double-cuts out for the moment while we rework this thing.

guiguem commented 6 years ago

Done in #140