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

Improve X11 display controls #1

Open
MarkRivers opened this issue Jan 10, 2019 · 0 comments
Open

Improve X11 display controls #1

MarkRivers opened this issue Jan 10, 2019 · 0 comments

Comments

@MarkRivers
Copy link
Member

Implement delay per e-mail from Mark Tate

GrabDisplayDelay(delay)

sets the time between displays where delay (float) is in seconds. The default is 0.1 seconds

in linear display mode
padcom mildisp bitshift on/off offset

Display is 16 bit LUT over a 32 bit space (display wraps around on high bits)
bitshift moves 16 bit LUT left or right
bitshift = 0 displays modulo(0-64k)
bitshift = -4 displays modulo(0-4k)
bitshift = 2 displays modulao(0-256k)

on/off=0 - don't display images
on/off=1 - display images

offset - constant subtracted from image before display


in log mode
padcom loglin loglinflag logscale offset
loglinflag = 0 - use linear display (with last mildisp parameters)
loglinflag = 1 - use log display

logscale - sets max value in greyscale 
e.g. logscale = 6 - max = 10^6 ADU

offset - subtracted before log_10 is computed - haven't used this too much in practice - but could be used if there were a uniform background, say.
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