"The Diary of the Rose" is a 1976 dystopian science fiction novelette by Ursula K. Le Guin, first published in the Future Power collection.
[1] The tale is set in a totalitarian society which uses brainwashing by "electroshocks" to eradicate any kind of political dissent.
The story is the diary of "psychoscopist" Dr. Rosa Sobel, hired by state security to probe the mind of Flores Sorde for signs of "political psychosis", using a brain-mapping device called a psychoscope.
However, in the introduction to the collection Where on Earth[4] Ursula Le Guin remarked that, while the protagonist has an Orsinian name, she would rather think that the events took place in South America rather than in Orsinia.
[4] In the opinion of Emily Nordling, a reviewer for tor.com, the story was included in the "Real" part of the collection despite the "hardcore" science fiction elements because it truly portrays the possible invasiveness of psychiatry regardless of instruments used.