Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viewer does not keep track of data from lost packages #16

Open
alessandromarras opened this issue May 22, 2018 · 0 comments
Open

viewer does not keep track of data from lost packages #16

alessandromarras opened this issue May 22, 2018 · 0 comments

Comments

@alessandromarras
Copy link
Contributor

alessandromarras commented May 22, 2018

viewer.py does not keep track of illegal pixel values (coming from lost packages).
pixel values coming from lost packages are labeled by the tcpdump-descrambler as : ==ERRDLSraw# (= 65535, an illegal value)

I think we need to add an error mask between the Utils.split data conversion and the visualization
(auxCrs,auxFn,auxGn) = Utils.split(datareadFrom5hFile)
dataTobeShown[:,:,:,:,iGn] = auxGn
dataTobeShown[:,:,:,:,iCrs] = auxCrs
dataTobeShown[:,:,:,:,iFn] = auxFn
errormap= dataTobeShown == ERRDLSraw #(=65535)
dataTobeShown[errormap,:] = ERRint16 #(=-256)
at this point the vmin=-0.1 should filter out those pixels as "white"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant