Translate

2020-01-28

Xubuntu, you can't regulate the brightness of your laptop screen? Dual screen application!

Prerequisites: See the end of this blog post!!

Running Ubuntu 18.04 LTS in the Xubuntu release, I had this problem. Since I'm nearly 70 yrs old and have had the lenses in my eyes swapped for synthetic ones (cataracts), I'm sensitive to strong contrasts like a white homepage on my 24" screen in a moderately lit room. It dazzles my eyes.

It wasn't the fault of 18.04, it was the implementation in Xubuntu that made my laptop stop reacting when I wanted to lower the brightness of the laptop screen.

So: how do we fix this?

"Using your favorite editor", as the saying goes whenever you are asked to do changes to files in the system, by those who deliver your app or extension you need, we could create a couple of files named "Scron.sh" and "Scroff.sh". Or we could call them "Edna" and "Phil", it's up to you.
In this case we set the filenames when we save them.

We can alternatively do that by opening a "Terminal" or "Konsole" window and enter:

prompt> "touch Edna" <press Enter>
prompt> "touch Phil" <press Enter>
Then we'd like these to be executable, (running as a program) otherwise nothing will happen. So do in the same window:

prompt>chmod 0744 ./Edna <press Enter>
prompt>chmod 0744 ./Phil <press Enter>

When we have entered the code for the programs into these files, the system will now trust (us), that they are executable files. We can read, write and execute them, them others can only read them :0)

So, let's say we associate Edna with the light of you eyes  and Phil, well he's a real a-hole. That means that we associate Edna with light and Phil with darkness.

So now we enter the "code" doing the work for us in Edna.

We enter the following in Edna (by right clicking Edna in "your favorite file manager" and then choosing "your favorite editor"):

"xrandr  --output eDP-1 --brightness 0.9"

and then "Save".

Next we do the same to the Prince of Darkness (or maybe "the Prince of Insufficient Light" as Scott Adams in "Dilbert" so wisely prefers) Phil, right click Phil and choose the same editor and enter:

xrandr  --output eDP-1 --brightness 0.0

and then "Save".

Then we like to have an icon to click on whenever we like to light or turn off the display. 
In Xubuntu we right click the desktop itself, where there is no icon, and choose "Create Launcher". We'll get one of those gray small windows (I wish I were the guy producing them, he/she must be a billionaire by now) with some fields to fill in:

   Name: "Edna"
   Comment: whatever you feel like
   Command: /home/<[y]our user name>/Edna
   Working directory: /home/<[y]our user name> 
And then click the "No icon" button 
    and choose an icon, preferably among the "Applications" icons (more of them there)
and click the  "Create" button

A working Edna icon should now exist on our desktop.
We do the same for Phil but we exchange "Edna" for "Phil".

Done!

Doubleclicking on any one of them should now light up (or  kill)  the light on our laptop. The back light is still on but it's negligable.

Yeah. when youv'e snuffed out the light by clicking Phil, how can you then find the Edna? Well as the title says: in a "Dual screen application" you've chosen to use the big separate screen as your primary screen, letting the laptop screen be your secondary. In that situation, the icons will be in your primary screen's Desktop, it will not be a problem.

You realize, naturally, that by exchanging the "--brightness 0.0" or "--brightness 0.9" for "--brightness 0.5" you'll end up somewhere in between. May be of some use for somebodies.


=== Prerequisites: ====
In a "Terminal"or "Konsole" window enter.

prompt> apt install libXrandr2 [or "libXrandr2:i386"] <press Enter>
... a lot of text...
    ending eventually with the question if you accept to install.
    our answer should be "Yes" <press Enter>
 prompt>

libXrandr2  if we are running a 64 bit system
libXrandr2:i386 if we're running a 32 bit system

How do we know?

prompt> lscpu <press Enter>
   Architecture:        x86_64           <== this is our answer! Our system is 64 bit!
   CPU op-mode(s):      32-bit, 64-bit <== this says "I can run both!"
   Byte Order:          Little Endian
   CPU(s):              4
   On-line CPU(s) list: 0-3
   Thread(s)...
   ...and a lot more text...
prompt>
=== END "Prerequisites"====


If this doesn't work for you you might try using "xrandr  --output eDP-1 --brightness x.x" 
in the launcher itself!



2020-01-18

Homegrown database? You know how to program so what's the problem?

It's not necessarily a good idea. You'll have full control over something other database creators (whole gangs of them), have a had a hard time creating.

Well, at the time I was looking for a suitable data base, I did not  find any. Either the documentation was incomplete or impossible to understand or, as in most cases, didn't exist. So I made my own.

I wouldn't recommend it.

Now I have a data base for around 38 000 images (and growing!) and my idea was to add some metadata to at least a part of them so I wrote an application for it. It's a data base storing the data as clear text, this makes it possible for anybody to check the contents w/o any tools other that an text editor.

To make it fast all data locations are stored as relative positions in the respective data base file, it's indexed and, yes, it's quite fast. It's also a victim of spurious errors, the window focus may be wrong and you enter something, thinking you're in another window and suddenly that entry is a part of your data base, causing seemingly insane errors.

One day, not long ago I did some changes and afterwards I wanted to change the ownership of some files. I did
"cd <my dir>"
and
"chown -Rv user1:user2 ./*"

The output did definitely not look as I had expected so I did Crtl-c and found that the "." was missing. Not good. That was the last time I logged in to that Linux system.

Here I am, three days later, after reloading my backup, correcting bugs in the program that builds the data base from scratch. I'm closing in on the recovery, slowly and painfully.

It's been interesting, and I had my reasons for doing all this but in retrospect, I wouldn't go down that path once more. All that freedom when designing is just too much for a lonely amateur. Also, being close to 70 years old is not an advantage. I'm slow and error prone.


Sigh!

Update 2020-01-27:
I'm up and running and have fixed some bugs. Once more, I'm an optimist!

2020-01-04

Data General Nova 1200 Core Memory

One of the earlier Data General machines was called Nova 1200.
 https://en.wikipedia.org/wiki/Data_General_Nova
They were released during the first half of the 1970:ies.

One of the earlier Data General machines was called Nova 1200. You could buy memories of two types, if I remember correctly, 4kw or 8 kw. "kw" at that time meant kilo word so it was double that number in bytes since the word was 16 bits. When they failed they could be really flaky. We swapped the address driver chips and put the board in a chassis where the voltages were lowered almost a volt and the ran memory test during one night. The next night we did the same but increased the voltage to almost a volt above the specs. If it passed, we put in on the spares shelf and grabbed the next faulty board. The customers never saw a new spare part. They were all "refurbished".

Ther 16kw memories for the Nova 3 had potentiometers, making it possible to adjust the flanks and width of the pulse turning the cores around. Could be nice but the backside is that a potentiometer is not as stable as a fixed resistor. Turning an iron core up or down or on and off or whatever you say, was sort of still being left in the analog world so they must have had problems in the production, tuning them. I remember we had one of those boards where the test voltage went up a bit more than anticipated and all the address drivers around the edge of the stack popped like popcorn. We could look down on the silicon in each DIL package and see the tiny gold wires connecting the pins to the chip.The strange thing was that after cooling, the board still worked perfectly. We couldn't swap it at a customers site though :0)

When i see these memory boards I think about the little Asian ladies, sitting and threading the copper wires through the minute iron cores. That must have been a hard day's work. Well, it's so long ago that one could see each element storing one bit in the computer memories with your eyes. To see the innards of today's memories you'd need an electron microscope...


The Complete and Final Installation (WiFi) of the Brother HL-L2375DW in Ubuntu 22.04.2 LTS

Update 20230412:
I just documented what I did at home as a guide. 

Go to:
https://support.brother.com/g/b/downloadend.aspx?c=us&lang=en&prod=hl2275dw_us&os=128&dlid=dlf006893_000&flang=4&type3=625

Download the linux-brprinter-installer-2.2.3-1.gz
Save it to an empty folder.
cd to that folder.
Unpack it with your favorite unpacker.

Set permission on the resulting linux-brprinter-installer-2.2.3-1 to "executable".
Execute it in bash terminal/konsole.

Input model name ->hll2375DW
You are going to install following packages.
  hll2375dwpdrv-4.0.0-1.i386.deb
OK? [y/N] ->y
License Agreement, [lots and lots of it]

Do you agree? [Y/n] ->y
wget -T 10 -nd --no-cache https://download.brother.com/pub/com/linux/linux/packages/hll2375dwpdrv-4.0.0-1.i386.deb
--2023-04-12 10:02:15--  https://download.brother.com/pub/com/linux/linux/packages/hll2375dwpdrv-4.0.0-1.i386.deb
Resolving download.brother.com (download.brother.com)... 2.23.145.32
Connecting to download.brother.com (download.brother.com)|2.23.145.32|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 123048 (120K) [text/plain]
Saving to: ‘hll2375dwpdrv-4.0.0-1.i386.deb’

hll2375dwpdrv-4.0.0-1.i386.de 100%[================================================>] 120,16K  --.-KB/s    in 0,02s    

2023-04-12 10:02:15 (6,22 MB/s) - ‘hll2375dwpdrv-4.0.0-1.i386.deb’ saved [123048/123048]

dpkg -x hll2375dwpdrv-4.0.0-1.i386.deb /
dpkg-deb: building package 'hll2375dwpdrv' in 'hll2375dwpdrv-4.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir hll2375dwpdrv-4.0.0-1a.i386.deb
dpkg -i --force-all hll2375dwpdrv-4.0.0-1a.i386.deb
Selecting previously unselected package hll2375dwpdrv:i386.                                                             
(Reading database ... 384566 files and directories currently installed.)
Preparing to unpack hll2375dwpdrv-4.0.0-1a.i386.deb ...
Unpacking hll2375dwpdrv:i386 (4.0.0-1) ...
Setting up hll2375dwpdrv:i386 (4.0.0-1) ...
lpadmin -p HLL2375DW -E -v dnssd://Brother%20HL-L2375DW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af46d
a396 -P /usr/share/ppd/brother/brother-HLL2375DW-cups-en.ppd
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
#

Will you specify the Device URI? [Y/n] ->y
0: cups-brf:/
1: socket
2: beh                            
3: https
4: lpd
5: ipps
6: ipp
7: http
8: serial:/dev/ttyS0?baud=115200
9: hp
10: hpfax                                                                            11: dnssd://Brother%20HL-L2375DW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af46da396                    
12: ipp://Brother%20HL-L2375DW%20series._ipp._tcp.local/                             
13 (I): Specify IP address. 14 (A): Auto. (dnssd://Brother%20HL-L2375DW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af46da396)        
                                                                                                                       
select the number of destination Device URI. ->192.168.1.93
Test Print? [y/N] ->y
                                                                                                                       
wait 5s.
lpr -P HLL2375DW /usr/share/cups/data/testprint

Hit Enter/Return key.

root@Bender:/local/imports/BrotherEverything/20230412#

That's it! I guess (at least for now) the hard way still works. Even if it doesn't you can savor what you didn't had to do, this time. 





The Complete and Final Installation (WiFi) of the Brother HL-L2375DW in Ubuntu 18.04 LTS
FINDING INSTALLATION INSTRUCTIONS/DRIVERS
================================
Went here:
https://support.brother.com/g/b/faqtop.aspx?c=us&lang=en&prod=hl2275dw_us
and in "Search by Keyword(s)" I entered "Linux" and clicked "Search"

The first result was the link
"1 To install the printer driver easily using a tool." (Linux)

Which in it's turn took me to the page
https://support.brother.com/g/b/faqend.aspx?c=us&lang=en&prod=hl2275dw_us&faqid=faq00100556_000

On that page, fairly high up was a download link
"> Click here to download the tool."

which took me to the page
https://support.brother.com/g/b/midlink_os.aspx?c=us&lang=en&prod=hl2275dw_us&site=pc&type3=625&orgc=us&orglang=en&orgprod=hl2275dw_us&targetpage=18
where "Linux" was checked and all I had to do was to check "Linux (deb)",
read the "Notes before downloading" and click on the button "Agree to the EULA and Download.

NOTE: I did not use the .deb version of the installer, I already had the file
linux-brprinter-installer-2.2.1-1
but I strongly suspect you'll end up with that script in any case.
Pls remember to check with your file manager (or Terminal) it's executable! Permissions should be
like "-rwxr--xr--x" or  thereabout. "x" for execute!
If not use chmod 750 <user1:user2>

Well, all that you could have figured out yourself, but, just in case...
I think their Linux drivers are horribly hard to find. Just as an exercise, go to their homepage
and try to find it via links they supply! Or don't :0)

*NOTE*. The web address contains "prod=hl2275dw" but in reality there is a whole database of drivers in this installer. I had to try for a while to find the correct way of entering MY printer's model name as an answer to the very first question from the installer. If I remember correctly, it was "hll2375dw" modeled after the entry in the web address.
On the printer's cover this is set as "HL-L2375DW".



INSTALLATION COMMANDS
==================
In Konsole/Terminal as root
("sudo su" followed by  "Enter" is a quick, dirty and unsecure, but effective, way :0 to
get the prompt that says "You're having 'root' privileges, '#'

    (security related things needed to...)
># apt-get install apparmor-utils

    (... lower the seurity in cups!)
># aa-complain /usr/sbin/cupsd
    Answer:"Setting /usr/sbin/cupsd to complain mode."

    (pointing a link entry, 'lpd', to the printing system, 'cups'
># ln -s /etc/init.d/cups /etc/init.d/lpd

    (create a directory to store files to be printed via lpd)
># mkdir /var/spool/lpd

    (install command line interface cshell for some outlandish scripts in the installation)
># apt-get install csh

    (install tools needed for printing)
># apt-get install sane-utils

    (opening communication in- and out ports in the firewall
># sudo iptables -A INPUT -p udp --dport 54925 -j ACCEPT
># sudo iptables -A OUTPUT -p tcp --dport 54921 -j ACCEPT

    (install PostScript tools)
># apt-get install psutils

With your favorite editor (vim?, nano?) create:

/lib/systemd/system/cups-lpd.socket

and enter the following:

    [Unit]
    Description=CUPS LPD Server Socket
    PartOf=cups-lpd.service

    [Socket]
    ListenStream=515
    Accept=true

    [Install]
    WantedBy=sockets.target

and then save it.

Then create:

/lib/systemd/system/cups-lpd@.service



and enter the following:

    [Unit]
    Description=CUPS LPD server
    Documentation=man:cups-lpd(8)

    [Service]
    ExecStart=/usr/lib/cups/daemon/cups-lpd
    StandardInput=socket

    [Install]
    WantedBy=multi-user.target

and then save it.

># systemctl list-unit-files
in the resulting list, check for  'cups-lpd@.service'
    IF it is 'disabled' do:
    ># systemctl enable cups-lpd@.service

    THEN do :
    ># systemctl list-unit-filesand check that
    'cups-lpd@.service' is 'enabled'

OK, now we're on track again. Do:

># sudo systemctl start cups-lpd.socket
#    (No feedback from the system here, you just the prompt back)


WHAT TO DO IN CUPS
==============
With all of the above done stop and start CUPS:
# /etc/init.d/cups stop
    [ ok ] Stopping cups (via systemctl): cups.service.
# /etc/init.d/cups start
    [ ok ] Starting cups (via systemctl): cups.service.

In CUPS add printer  by choosing "LPD/LPR Host or Printer "
and on the next page enter the socket in the text input called "Connection" like
socket://[fdeb:eb74:f12c:0:fe01:7cff:feab:e6fd]
   (See "TO FIND THE IPV6 SOCKET", below)
and click continue.
 You have then to choose your printer make and the correct
driver eventually, using a bit of your imagination. The driver may be found in an unexpected place in the list, the sorting seemed to be haphazardly done, so be imaginative!

I had problems finding the correct socket and I *think* maybe the socket can be found using the procedure below:


TO FIND THE IPV6 SOCKET
==================
To get the last part of the socket...

# arp -a
myhome.mynet (192.168.1.1) at 00:02:61:b1:a7:ae [ether] on wlo1
BrotherEAN (192.168.1.93) at fc:01:7c:ab:e6:fd [ether] on wlo1
android-660492250c86bb45 (192.168.1.151) at <incomplete> on wlo1
nova1 (192.168.1.92) at 7c:8b:ca:08:5b:fb [ether] on wlo1

Then, to get the first part of the socket...:

# ip -6 neigh show
fe80::202:61ff:feb1:a7ae dev wlo1 lladdr 00:02:61:b1:a7:ae router STALE
fdeb:eb74:f12c:0:202:61ff:feb1:a7ae dev wlo1 lladdr 00:02:61:b1:a7:ae router STALE
# ip -6 neigh show
fe80::202:61ff:feb1:a7ae dev wlo1 lladdr 00:02:61:b1:a7:ae router STALE
fdeb:eb74:f12c:0:202:61ff:feb1:a7ae dev wlo1 lladdr 00:02:61:b1:a7:ae router STALE
# ip -6 neigh show
fe80::202:61ff:feb1:a7ae dev wlo1 lladdr 00:02:61:b1:a7:ae router STALE
fdeb:eb74:f12c:0:202:61ff:feb1:a7ae dev wlo1 lladdr 00:02:61:b1:a7:ae router STALE

Grabbing the MAC address for my printer "BrotherEAN" and converting the second
hex number "c" ton "e" using the table below
fc:01:7c:ab:e6:fd
 ^
( from http://www.sput.nl/internet/ipv6/ll-mac.html )
Where y = X XOR 2. Furthermore 'ff:fe' is inserted and 'fe80::' prepended.
(this is preumably for local network use?)

'y = X XOR 2' means inverting the 2nd bit from the right;
X bin    X Hex    y bin    y Hex
0000    0    0010    2
0001    1    0011    3
0010    2    0000    0
0011    3    0001    1
0100    4    0110    6
0101    5    0111    7
0110    6    0100    4
0111    7    0101    5
1000    8    1010    a
1001    9    1011    b
1010    A    1000    8
1011    B    1001    9
1100    C    1110    e
1101    D    1111    f
1110    E    1100    c
1111    F    1101    d

resulting in: "fe01:7cff:feab:e6fd"
                      ^
The "ip -6 neigh show" results in a listing of IPV6 addresses and, (avoiding the
local net prefixed "fe80::"- addresses) grabbing the first four groups of hex numbers,
"fdeb:eb74:f12c:0:" and concatenate them with the earlier four to this:

fdeb:eb74:f12c:0:fe01:7cff:feab:e6fd
                             ^
and entering this as an printing address in CUPS like: socket://[fdeb:eb74:f12c:0:fe01:7cff:feab:e6fd]
works!

2020-01-03

LowTech solution to a High Tech Problem

Last update 2012-07-24

Being on vacation, I got some spare time. I started thinking. Normally I don't but, seeing that I have some spare time... I bought a camera (Fujifilm HS30 EXR) to get a little more zoom and a little more light sensitivity. It seemed the right choice when looking at the specs. Well, specs aren't everything. There are many things in my new camera the specs don't explain. I won't delve into that, it's too complicated to even try.

I had a specific problem I needed to solve. The zoom capability was meant to enhance my photographing the birds in their flight. The bloody birds fly very fast! It was impossible to find them on the LCD viewer and place them in the center of the picture so the camera could focus and then press the trigger to get the camera to take the picture. When I was finished doing that the birds had migrated to southern Europe for the winter.

So I fixed it.

Have a look at my low tech solution (steel wire aiming device). The first picture shows the aiming device. When you see your target, you 1) first align the aming device by aligning the two tips to the same height (| |) and then so they look as one (|) , and then 2) follow your target keeping your alignment at all times and 3) pressing the trigger button when the target is targeted.
See the following three pictures illustrating the alignment, you'll get the idea...


 Now I just had to calibrate my sight against a stable object and when things appearing juuust above the steel wire endpoints, pressuring the trigger should result in an image with the object in the middle.

When done I tried some bird shooting.
Like this:
Bathing, getting wet.
OK, done. Flapping wings to get dry.
And awaaay I go!

Success! This made me search for a red dot sight that would be my high tech solution to the same problem! Nothing like testing ones theories before action!
Bragging about this in another blog post, naturally.

Red/green Dot Sight on a Superzoom for Bird Photography

2018-02-17 I bought a Panasonic DMC-FZ1000 camera w 1" chip and a measly 16x zoom, thinking that maybe the picture quality could compensate for the 16x by making images more 'croppable'. In a way it was correct but unfortunately not enough. Photographing birds was still hard. On the other hand, the camera is extremely fast, sturdy and has a fully-articulated LCD which is a fantastic feature and an extremly high quality viewfinder. It's by far the best camera I've owned.

So: I had to buy another one with 60x zoom för the birds... This time I ended up with a Panasonic FZ-82. From Deal Extreme in China i bought a red/green spot sight for practically nothing and made a very simple dovetail rail which fits in the external flash mount. I've tried the Olympus red dot sight (sold separately) but it's totally inadequate, it's moving in the mount at the slightest touch which results in you recalibrating time and time again. It's a good idea and a worthless application of that idea. The one I use now is fixed and keeps in place if I am reasonable careful. A world of difference!
Possible sources to cheap red/green dot sights are for example
https://www.dx.com or https://www.alibaba.com.
NOTE: green dots are more effective in daylight!

FZ-82 doesn't have the articulated LCD (which sucks), but is of no importance since I'm using the red dot sight. The viewfinder is not good in spite of the 0.2 inch, 1.17 million dot chip. Compared to the FZ1000 it's worthless and this IS a drawback when not taking pictures of birds. It works, though. It also have 4k UHD video at 25 or 30fps, which I don't use much. I could use it because there is the possibility to grab single images of the same quality as the stills. I think I will explore this option later [correction at the end of this]. The camera is much slower to use but, it works.
What I like best is to shoot flying birds. Nothing can compete with a dot sight in that context.

All in all, this combination of red dot sight and 60x zoom is very good when light is good. In weak light it's the same ol' story as with all other 1/2.3-type sensors, grainy pictures and long exposure times. It was worth the money and I really can recommend the Chinese red/green dot sight combination!
Correction 20210904: 
Using 4k video, images can be extracted from the stream, no problem. The image size is not the same as the normal stills, they are smaller. When taking photos of fast moving things, it's still an option to consider.

Lumipan Microscope from the 1950:s.

Lumipan Microscope

I bought a Lumipan microscope from Ebay, price 133€.
I've wanted to own a microscope since I was a kid and when stumbling over it,   I bought a suitable object.
It's been used in a department for biochemistry research on a big hospital.

See descriptive article:
http://www.microscopy-uk.org.uk/mag/artfeb16/sb-Lumipan.pdf
There are a couple of images at the end. My mobile, Samsung Alpha was used, infinitely cheaper and easier than using one of my Lumix [FZ100 or FZ82] cameras.

Almost all controls, object table, focus etc were stuck and needed cleaning an lubrication. Lenses were dirty and a polarizing filter was destroyed, presumably by storing in unstable temperatures and high humidity.

At this time I'm looking for cleaning tools and usage descriptions. One thing (still stuck) is the phase contrast unit below the object table.

Update:after lubricating for two days, I resorted to a pair of "angle nose slip joint pliers" (where I live: polygrip) to come to grips with it. Sucessfully!!

The problem is, I have to have a PHV type lens for it to be of any use. Said and done, i bought one 40X/0.650.17 from ebay.com. With luck it will appear before the end of january. This is the fixed phase contrast variant. There is a variable one too, described in the "sb-Lumipan.pdf" above.

Information on this subject was found at a useful forum:
https://www.mikroskopie-forum.de/index.php?topic=16694.0
pointing to:
http://www.smartrepair.ch/forum/Phasenkontrast.pdf
How to unstick it is my next project :)

My German is like 50/50. I get half of what I read in German and lose the rest so I thought (with the help of Google translate) a translation to English would be nice to have. Not as easy as you might think but easier and faster than a crash course in German. So, at
https://a-zproj.blogspot.com/2020/01/lumipan-microscope-i-bought-lumipan.html
you can find it.

In the case you a link to a PDF ends up in nowhere land, I may supply it if you contact me. I am a total amateur in this field so I have very little practical advice to give, but a couple of PDFs.

By the way, lightbulbs are very expensive,i found them at Ebay, 5 pcs for some 100€. There were other sources selling for considerably highe price. Hard bargains!
You should be looking for NARVA 67273 LWT-P5T 6V/ 15W when searching the Internet

Pollen, two types at 200X



Yeast cells at 600X (dirty lens!)

Phasenkontrast [Document] English Translation


[A combination of my knowledge of the German language and Google's. Click images to get a bigger size]
 
Die Bilder sind nicht in allen Einzelheiten für die Ausführung der Geräte maßgebend. Für wissen- schaftliche Veröffentlichungen stellen wir Druckstöcke der Bilder oder Verkleinerungen davon — soweit sie vorhanden sind — gern zur Verfügung. Die Wiedergabe von Bildern oder Text ohne unsere Genehmigung ist nicht gestattet. Das Recht der Übersetzung ist vorbehalten.VEB CARL ZEISS JENA
Abteilung für Mikroskopie Drahtwort: Zeisswerk Jena Fernsprecher 3541

COMMENT:
Phase contrast is a standard feature in modern microscopes and "Prof. Zernike, Groningen, received the Nobel Prize in Physics for his phase contrast method". See the "Afterword" in ths article.
The prize for a modern standard microscope, with the same functionality, is around 1700€
END COMMENT.

Is is the task of microscopy to make the smallest objects and object structures as visible as possible to the eye. For objects that differ from their surroundings in their absorption (so-called amplitude objects), as Abbe has shown, this is always possible if the aperture of the objective is large enough to resolve the object structures. This subheading includes: B. colored histological sections and smears or scattering preparations of diatoms in air. It is different with such objects, which differ from the surroundings only by a different refractive index (so-called phase objects), such as unstained frozen sections or coverslip preparations from living bacteria or from infusory bloating.


The latter remain invisible in the normal bright field image, since their brightness does not differ from the surroundings. This is where the phase contrast method specified by the Dutch physicist Zernike 1) in 1932 and theoretically founded by him begins, which in all its points is based on the consistent application of the Abbe theory of image formation in a microscope to phase objects and first in the Jena Zeisswerk by A. Köhler and W Loos has been introduced into microscopic practice. With the help of this method, the refractive index in the phase object that deviates from the environment is converted into a brightness that deviates from the environment in the image of the phase object. To gain a deeper understanding of the process, the essence of Abbe's theory must first be explained.


Their physical basis is Huygens' principle of light propagation and the diffraction of light derived from it. Assuming a point of light in the front condenser focal plane, the object plane is struck by a parallel light beam and any inhomogeneity in it caused by that of the surroundings [1) see epilogue 3E] deviating absorption or refractive index, creates a Fraunhofer diffraction pattern of the light source in the rear focal plane of the lens. Since their extension is inversely related to the size of the object, it is spread apart for a sufficiently small object, while the diffraction figure created by the sufficiently large limitation of the illuminated field contracts with the geometric image of the light source (Figure 1). 

This corresponds to the direct light unaffected by the object. Abbe describes the entire diffraction phenomenon in the rear focal plane as the primary intermediate image. The actual intermediate image in the image plane (according to Abbe: secondary intermediate image) is then created by superimposing (interference) the light excitation resulting from the two diffraction figures mentioned above. Abbe has also experimentally proven that the diffraction phenomenon in the rear lens focal plane is essential for image formation. He used an amplitude grating (ordinary line grating) as an object for his experiments and was able to show that a suitable intervention in the rear focal plane can give an image that is not object-like. Zernike has used this knowledge to visualize phase objects. The phase contrast method is therefore an object-unlike image in the Abbe's sense. The essence of the process can best be clarified using vector notation.

A vector is a directed quantity, i. 2. It is only clearly defined when the amount and direction are specified. It can be represented by an arrow and broken down into components; it is identified with a German letter. Examples from physics are the velocity v and the force K.4
If you idealize the wave trains emitted by a light source as infinitely extended sine waves, you can represent them in a known manner with the help of an arrow rotating at constant speed, which we want to call the light vector (Figure 2).
Figure 2. Representation of a sine wave 300390/1aT
The state of vibration can therefore be represented at any point and at any time by a light vector. The intensity is then given by the square of the amount


The parallel light beam originating from a point light source in the front focal plane of the condenser corresponds to a plane wave and therefore has the same phase position in the entire object plane; this can be indicated with arrows of the same direction (Figure 1). Provided that no specimen is initially placed, only diffraction at the light beam limit will occur. Since the diameter of the light beam used is always large compared to the light wavelength, the diffraction figure has only a very small extent; the light source is imaged in the rear lens focal plane.


f there is now a small inhomogeneity in the object plane, the direction and length of the light vector have changed behind this point in relation to the homogeneous environment, depending on 5 | r | = ao = Amplitudeφ = phaser angle a = ao · sin φ = Deflection image 3 300 388 / aT light vectors in the object level
whether it is a place with a different refractive index or different absorption. Generally both will be the case. This modified vector r can, as indicated in Figure 3, becomposed of a vector ru , which corresponds to he undisturbed light, and an additional vector rz,caused by the interference.
  

Light vectors in the object plane Fig. 3 300 388 /aT

This additional vector thus corresponds to the light diffracted from the small object. So we now have the image of the light source in the focal point in the rear lens focal point, caused by the undisturbed light, and - depending on the size of the
object - a more or less extensive diffraction figure of the light source, which is associated with the additional vector, and is derived from the latter (Photo 4). Since all rays that contribute to the imaging of the small object have the same optical path length, the vectors ru and rz in the image plane are composed in the same way as the corresponding vectors r and rz immediately behind the object.
Figure 4. Phase contrast Microscopic image of a phase object 300391/1 a T


The fact that the eye only perceives amplitude differences but no phase differences follows from the fact that a pure phase object remains invisible in the normal microscopic image, because in this case | r | = | ru | or | r '| = | r'u | , If the vector r'u or r'z could be rotated so that both were oriented in the same or opposite directions, a larger or smaller resulting vector would be obtained at the location of the image, that is greater or smaller amplitude and thus greater or smaller brightness than in the
surroundings. This would have made the phase object visible in the image. Zernike has shown that this is possible by consistently applying the Abbe theory to non-absorbing objects. Since only small objects are of interest in microscopy, the diffraction figure they produce always extends considerably, so that with a sufficiently small light source, its image can be seen in the rear focal plane covers the diffraction figure mentioned only slightly and you can largely influence both separately. In the descriptive explanation, we want to restrict ourselves to phase objects with very small phase changes. Then the additional vector stands almost vertically on the undisturbed vector, so that you only have to attach a plate in the geometric image of the light source that rotates the phase of the latter by ± 90 ° (Figure 4).

Bild 5. Phasenkontrastmikroskopische Abbildung eines Amplitudenobjektes 300 389/a
Figure 5. Phase contrast microscopic image of an amplitude object 300 389/a

 
The positive contrast is shown in the illustration (the phase change caused by the phase plate
is - 90 °), places with a higher refractive index appear darker than the surroundings. In the case of small phase changes, the additional vector is significantly smaller I than the undisturbed vector, so that the amount of the resulting and undisturbed vector, ie | r '| and | r'u |, and thus only slightly differentiate the brightness in the image of the object from that of the surroundings. For this reason, the phase plate is given an absorbing effect at the same time and the amount of the resulting vector can thus be reduced to zero, that is. reach complete darkness in the image of the object. However, one has to accept that small amplitude objects disappear in the picture or appear even brighter than the surroundings; this is evident from the illustration in Figure 5, which is analogous to that in Figure 4.

Basically, phase and amplitude objects with maximum contrast cannot be imaged at the same time. With the previous restriction to small relative phase changes in the object, a phase change of 90 ° caused by the phase plate has proven to be the most advantageous, since in this case the additional vector in 


the object stands almost perpendicular to the undisturbed vector (Figure 4). This no longer applies to larger relative phase changes in the object. Here, other phase changes in the phase plate deviating from 90 ° are the cheapest, and its most favorable permeability then also depends on the object. Strictly speaking, a phase plate of a specific permeability and phase change would be required to achieve optimal contrast for each object. This requirement led to the variable phase contrast proposed by some authors. A suitable combination of polarizers with a birefringent crystal plate can be used to continuously change the phase change and permeability, but in practice this proposal, which is good in itself, is of little importance for the following reasons:


 
1. It has been shown that in 90% to 95% of all cases you can get by with a fixed phase plate of 90 ° phase change with a permeability of 25% for each lens. This fact can be justified by the fact that in phase contrast imaging only objects with a very small relative phase change are of interest, since others usually already absorb so strongly that they can also be observed quite well in the bright field.

2.The microscope is extremely sensitive to interference in the beam path (this is precisely the basis of the phase contrast method). One must therefore always endeavor to introduce as few additional, optically effective agents into the beam path and to manufacture them with extreme precision. With the device mentioned to achieve variable phase contrast this can hardly be realized, so that an image deterioration can be expected in any case, especially with strong lenses.

Another complication arises in practical use. Since the light source and thus also the phase plate must have a certain extent in order to achieve sufficient image brightness, part of the diffraction figure originating from the object is always influenced by the phase plate. This leads to structures in the image of a phase object that are not present in the object itself. Bright courtyards are created around the phase object and brightening inside. So you have to give the aperture diaphragm and thus also the phase plate such a shape that the disruptive influence is as small as possible with the largest possible luminous area. These conditions are best met by the annulus. It is therefore not surprising that all replicas of our Jena phase contrast device that have appeared on the market so far use the ring diaphragm and the ring-shaped phase plate. In addition, it is easy to see from the explanation given that the disruptive influence becomes smaller and smaller as the object becomes smaller and the phase ring narrows.

Fig. 6. Köhlersches lighting principle 300 387/1aT

These critical considerations can in no way reduce the importance of the phase contrast method; on the contrary, only when you know the effect of the method can you be largely protected against misdiagnosis based on the images obtained.

In this context, it should be particularly pointed out that with less known objects it is absolutely necessary to compare the bright field image with each phase contrast image. The many scientific publications of recent times testify to the success of the phase contrast method.





Image 7 300 385 / a Annular phase plate in the focal plane of the lens on the image side

 
The Köhler lighting principle (Figure 6) is used to carry out the process in practice. First of all, this achieves the uniform illumination of a sharply delimited part of the object plane and also the required mapping of the aperture diaphragm into the rear lens focal plane, in the following way:

The light source is imaged with the help of a collector lens in the front condenser focal plane (aperture diaphragm plane) and together with the aperture diaphragm by condenser + objective in the rear lens focal plane. The phase plate arranged here is designed so that it just covers the image after adjustment of the aperture diaphragm. To limit the illuminated object field, a light field diaphragm designed as an iris is attached directly behind the collector lens and imaged in the object plane with the aid of the condenser.












Bild 10. Ringblendenzentrierung300 384/a
Fig. 10. Ring aperture centering 300 384/a

To set the Köhler principle, place a conventional transmitted-light specimen on the microscope table, focus on the specimen after the lighting has been roughly set up, and then adjust the height of the condenser until the light field diaphragm appears sharp at the same time as the specimen. Then it is opened until the field of view is just illuminated.
n order not to impair the centering accuracy of the lenses, which is already increased in Zeiss devices, through arbitrarily operated centering, the centering option for the ring diaphragm images was placed in the condenser. With the Zeiss phase condenser, this is done with the tried and tested three-point centering, with the Lumipan with the eccentric device of the aperture diaphragm.

Since phase plates (Fig. 7) of different dimensions are required for the lenses used for phase contrast observation due to their different apertures, aperture diaphragms of different dimensions also had to be provided. Two solutions have been found for this: firstly, the diaphragm turret (Fig. 8), which carries the various diaphragms in an approximately aperture diaphragm plane, and secondly, the variable imaging using a pancratic system under the condenser, as the "Lumipan" ( Fig. 9) was the first microscope to be able to achieve a perfect phase contrast image by precisely adjusting the ring diaphragm image (Fig. 10) .For this it is necessary that the ring diaphragm that matches the lens used is always switched on.

 
The auxiliary microscope belonging to each phase contrast device (Figure 11) is used to observe the centering, with which the ring diaphragm image and the phase ring in the rear focal plane of the lens can be viewed (Figure 10).


Although the phase plates we use can be used for the entire visible spectral range, that is, with the help of our phase contrast device, phase structures can be made visible in objects of any color, it is advisable to observe a limited spectral range to emphasize the last subtleties to use. Since green light is the most pleasant for the eye, each phase contrast device is given a light filter with the maximum permeability at 550 mμ.


A prerequisite for working successfully with the phase contrast device is a microscope light with a collector and iris diaphragm like the types D and E manufactured by us as well as a microscope with a height-adjustable, interchangeable condenser like our L-tripods. At the Lumipan research microscope, the demand for an optically flawless luminaire with the built-in lighting has been met; the interchangeability of the condenser is not applicable with regard to the pancratic system.


The following parts therefore form the Zeiss phase contrast device for normal microscopes (Figure 13):

1. Phase condenser, a dry condenser not specified, 0.65, with aperture turret including 4 ring apertures and 2 free passages

2. Phase objectives Achromat Ph 10 / 0.30; Ph 20 / 0.40; Ph 40 / 0.65; Ph 90 / 1.25 H. I, marked as such by a red-inlaid Ph

3. Separate microscope for alignment

4. Yellow-Green filter

The condenser contains an iris diaphragm, so that when a free passage of the diaphragm turret is switched on, it can be observed like any dry condenser in the bright field and is to be used in polarized light and for luminescence microscopy. The four lenses are correct according to achromatic lenses and can also be used for ordinary bright field observation.

In the future, the phase condenser with individual centering (Fig. 14) will replace the phase condenser shown in Fig. 13. It has the essential advantage over the current design that the ring diaphragms can be individually centered for the respective Ph objective; In addition, the position of the aperture diaphragm can be easily read from a division.

The phase contrast device for the "Lumipan" (see Fig. 9) contains a ring diaphragm instead of the unnecessary phase condenser, which is inserted into the colored glass holder above the aperture diaphragm. Otherwise, the two equipment are completely identical.
The hundreds of years of scientific work that have been carried out with the phase contrast microscope clearly shows the importance of this method. It is essentially based on the following points:
The phase contrast method allows the observation of living or surviving material without the dubious aids previously required for this purpose. Since living objects often have a refractive index very similar to their surrounding medium and are usually not very impressively colored, the bright field observation in this case resulted in extremely low-contrast images. The attempt was made to increase the contrast by closing the aperture diaphragm, adjusting the focus beyond the best, or using vital stains. All of these methods have considerable disadvantages: closing the aperture diaphragm limits the lighting aperture and thus significantly reduces the resolution, setting outside the best focus logically results in blurred images, and vital coloring represents an ultimately uncontrollable intervention in the life of the object.

In the dark field observation that is frequently used, one only sees the outer contours of a phase object and cannot therefore infer its inner structure based on the dark field image.

The phase contrast method enables the living observation of the object in the natural, surrounding medium. With somewhat careful treatment, the observation material can be cultivated further and so z. B. Study development processes in life. Such works are e.g. B. possible with bacterial, fungal and tissue cultures as well as smears, smears, [‘Klatsch-’ / test-] and squeeze preparations of various objects.

Hand and frozen sections of unfixed tissue are also well suited for phase contrast observation. It is therefore understandable that the phase-contrast microscopic examinations come mainly from the fields of biology, medicine and microbiology.

For example, cell division processes were examined and filmed several times, sperm examinations were carried out, and mitochrondria and Golgi apparatuses were observed.

Of particular interest has been the phase contrast microscopic examination of malignant tumors. Several papers dealt with the application of the phase contrast microscope in normal and pathological histology; it was found that the phase contrast method may show more details within colored complexes than the brightfield observation, even in colored specimens.

Much work has also been published on phase contrast observations on living bacteria, and more recently the phase contrast microscopic examination of fresh blood has proven to be promising.

In entomology, the phase contrast method has been used to observe and systematically determine the smallest objects such as mites, mallophages and the like. a., proven. In these transparent objects, the phase contrast microscope shows the finest hair and bristles as well as systematically important chitin structures more clearly than any other device.

Paleontology uses the phase contrast microscope e.g. B. for pollen analysis, and in the study of the structure of coal, its application has led to new results as well as in fiber and textile research.

he phase contrast method has also been used to examine surfaces, in particular by examining the polishing of optical surfaces on glasses, taking collodion or lacquer prints from opaque objects and observing them in transmitted light. The phase contrast method has also been used in the field of mineralogical as well as ore and metal microscopy, where investigations are carried out on thin sections and with the help of varnish prints.

This short, by no means exhaustive summary of the possible uses of the phase contrast microscope shows that over the course of 13 years this device has become an indispensable tool in microscopy. A compilation of publications in the field of phase contrast microscopy that have become known to us is given in our publication CZ 30-L304a-l "Directory of documents on phase contrast microscopy".


Afterword

In November 1953, Prof. Zernike, Groningen, received the Nobel Prize in Physics for his phase contrast method. Since then, various notes on this topic have been published, which do not always correctly depict the facts in their historical development. Therefore, it seems appropriate to us, based on the documents available to us, to reproduce the development of the method and the devices necessary for its implementation true to history. The theoretical foundations of the phase contrast method were already communicated to us by Prof. Zernike in 1932 and 1933 or in Jena from Inventor demonstrated by means of several experiments on suitable objects. In 1933 and 1934, Prof. Zernike published fundamental works on it in various magazines. (Handelingen van het XXIVe Ned. Natuur- u. Geneskundig Congr. 18 to 20 April te Wagenlingen [1933]; Physica 1934; Z. f. Physik 1934 etc.) The patent for this process (DRP 636 Kl. 24 H Gr 610) was issued to Carl Zeiss, Jena, in May 1935. There was a relatively long time between this point in time and the practical implementation of the process on a microscope or until a salable device was sold in 1941. However, it meant years of hard work for the scientific staff at Carl Zeiss, Jena, who were involved at the time, during which some setbacks had to be overcome. We consider ourselves entitled to, in this context, especially the name of our now deceased employee, Prof. Dr. Dr. H. c. August Köhler, who pioneered this area and shared his experience and practical results in 1941 with Dr. Loos published in the journal "Die Naturwissenschaften". It is now generally known that the phase contrast device for microscopy is now produced again in the known quality, and in an improved form, in the VEB Carl Zeiss Jena. Of course, we are also at the birthplace of the practical Realization of the phase contrast process for its further development is constantly striving.

January 15, 1954



Translation from German: Google Translate with some help from
per.funke@gmail.com

The translation method has it’s pitfalls. The original originates from
Errors, ambiguities etc. may be resolved by correlating with this document, the "original". If the link ends up in the big 404-bucket I can supply the PDF.

Just for sake of interest, look through the"Afterword".