Re: [fluka-discuss]: export fluka output to a table

From: Answers <answers_at_pcfluka.mi.infn.it>
Date: Fri, 1 May 2020 14:01:51 +0200 (CEST)

Dear Dr Mansy,

there are different methods to obtain text files as output of the USRBDX
card.

1) You can process the files in Flair. Flair will internally call the
    routine usxsuw.f and create 3 output files as described in the
    following.

2) You can run the script bdxsum.sh in $FLUPRO/flutil
    This script will call the routine usxsuw.f , which analyses the output
    of the USRBDX card.
    To run it please type in the terminal

      $FLUPRO/flutil/bdxsum.sh inputname nn

     where inputname is the name of your input file and nn corresponds to
     the unit of your fort file (as chosen in the USRBDX card),
     i.e. inputname###_fort.nn , where ### is the number of cycle.

     bdxsum.sh calls the usxsuw.f routine for all inputname###_fort.nn
     files found in the folder.


The usxsuw.f routine will produce three files:

1) a text file with extension ##_sum.lis, which contains averaged
distributions, standard deviations, cumulative (integral)quantities

2) an unformatted file which can replace the N unformatted estimator files
in further postprocessing

3) a text file with extension ##_tab.lis, to be easily readout by graphics
codes


The ##_tab.lis file contains a header followed by a 4-columns-table, where
the 4 columns correspond to:

1) Left boundary of the bin
2) Right boundary of the bin
3) Scored quantity   
4) Error (%)


You can read the table in ##_tab.lis with your external routine and apply
the required mathematical operations on the values.

I hope this answers your question.

Best regards,
Giulia


On Sun, 26 Apr 2020, Dr. Mansy wrote:

> Dear Fuka Experts
>
> I have simulated my exp. in fluka, where i can find the tables of outputs
> from decay scoring using USRBDX card for example
>
> i detect the attenuation of a gamma source emitted by Cs-137 spherical
> source, so i have scored the radiation intensity at the source and and at the
> detector, now i want to make further mathematical operations on outputs, i
> want to export the spectrum before and after passing through the sample as
> (Energy, intensity) table. How i can do that.
>
> --
> Yours..
> Dr. Muhammad S. Mansy
> PhD Nuclear Physics
> Egyptian Atoic Energy Authority
>
> __________________________________________________________________________
> You can manage unsubscription from this mailing list at
> https://www.fluka.org/fluka.php?id=acc_info
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri May 01 2020 - 16:22:32 CEST

This archive was generated by hypermail 2.3.0 : Fri May 01 2020 - 16:23:06 CEST