The best is to move to the directory  base  which was created during the run of the program  da0amaS  and which contains mostly
all files you need to calculate the expectation values.

componiatomiS
--------------------------------------------------------------------------------------------------------------------

1. The script of the command  componiatomiS  is:

componiatomiS fileatomo N filematrix1 weight1 ... filematrixN weightN denergia

where

fileatomo and filematrix (H0base, HCrist, Scambioguscio5, slaterridottiDguscio5_5, slaterridottiSguscio5) are the files generated precedently by  da0amaS  (see   INSTRUCTIONS   for explanation ). The weights of different contributions are the same as those used during the generation of the spectrum by  componispettro .
The file denergia is equal to the file  denergia  used precedently by  componispettro .

estraiasfhsS
--------------------------------------------------------------------------------------------------------------------

2. The script of the command  estraiasfhfsS  is:

estraiasfhfsS fileatomo

The program is printing the line

ENERGIA  LL  sLL  SS  sSS  Mz  Sz  Jz  JJ  SLpar  LLpar  SSpar  QUIT

asking for which operators you desire to calculate the medium values (LL, SS, JJ are respectively L2, S2 and J2 , Mz, Sz and Jz the projections
of the L, S and J along the quantization axis and "par" means "shell by shell").

Making your choice your answer is (for example):

ENERGIA     Enter
Mz                  Enter
Sz                    Enter
QUIT                Enter

The program is asking for the name of an output file:

dammi il nome del file di uscita

Your answer (e.g.):

mediumvalues    Enter

The output file contains in this case three columns

ENERGIA    Mz    Sz

The number of lines is determined by the energy interval defined in the file  denergia . The expectation values
correspond to the lowest energy.