From 5051ce3b7b5c215d2b2875d2814df3059a6cfcd2 Mon Sep 17 00:00:00 2001 From: Annie Hughes Date: Tue, 30 Aug 2022 12:20:12 +0200 Subject: [PATCH] Renamed and reorganised developer docs --- Docs/DustemWrapp.html | 1008 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Docs/Flow_charts/dustem-wrapper_flow_chart1.drawio | 1 - Docs/Flow_charts/dustem-wrapper_flow_chart1.png | Bin 396700 -> 0 bytes Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.drawio | 1 + Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.png | Bin 0 -> 396700 bytes Docs/developers/List_of_Dustem_IDL_system_variables.txt | 34 ++++++++++++++++++++++++++++++++++ Docs/examples/DustemWrap_development_issues.txt | 14 -------------- Docs/examples/List_of_Dustem_IDL_system_variables.txt | 34 ---------------------------------- 8 files changed, 35 insertions(+), 1057 deletions(-) delete mode 100644 Docs/DustemWrapp.html delete mode 100644 Docs/Flow_charts/dustem-wrapper_flow_chart1.drawio delete mode 100644 Docs/Flow_charts/dustem-wrapper_flow_chart1.png create mode 100644 Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.drawio create mode 100644 Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.png create mode 100644 Docs/developers/List_of_Dustem_IDL_system_variables.txt delete mode 100644 Docs/examples/DustemWrap_development_issues.txt delete mode 100644 Docs/examples/List_of_Dustem_IDL_system_variables.txt diff --git a/Docs/DustemWrapp.html b/Docs/DustemWrapp.html deleted file mode 100644 index 04392e0..0000000 --- a/Docs/DustemWrapp.html +++ /dev/null @@ -1,1008 +0,0 @@ - - - - -Extended Help for DustemWrap routines - - - -

Extended Help for DustemWrap routines

-

-This page was created by the IDL library routine -mk_html_help. For more information on -this routine, refer to the IDL Online Help Navigator -or type:

-

     ? mk_html_help

-at the IDL command line prompt.

-Last modified: Wed Jun 8 12:10:31 2011.

- -


- - -

List of Routines

-

- -


- -

Routine Descriptions

- -

DUSTEM_CC

-[Next Routine] -[List of Routines] -
- NAME:
-    dustem_cc
- PURPOSE:
-    Computes observed sed and color correction for a given spectrum in a given filter
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    sed=dustem_cc(wave,spec,filter_names,cc=cc,fluxconv=fluxconv,help=help)
- INPUTS:
-    wave: array of wavelengths for spec
-    spec: spectrum (must be in brightness units)
-    filter_names: names of filters for which color correction is needed
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    sed: SED as observed in filters provided in filter_names
- OPTIONAL OUTPUT PARAMETERS:
-    cc        = color correction coefficients (spec*cc=sed)
- ACCEPTED KEY-WORDS:
-    fluxconv  = if set, these are taken for flux conventions
-              possible values: 'nuInu=cste', 'IRAC', 'MIPS', 'CMB'
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    
- MODIFICATION HISTORY:
-    Written by J.P. Bernard April 18th 2011
-    replaces individual cc routines for various instruments
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_cc.pro)

-


- - -

DUSTEM_COMPUTE_SED

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_compute_sed
- PURPOSE:
-    Computes an SED from a given Dustem spectrum
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    sed=dustem_compute_sed(p_dim[,st=][,cont=][,_extra=][,/help])
- INPUTS:
-    p_dim      = parameter values
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    sed       = computed SED for filters in !dustem_data
- OPTIONAL OUTPUT PARAMETERS:
-    st        = Dustem output structure
-    cont      = NIR continuum
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_compute_sed.pro)

-


- - -

DUSTEM_FILTER2FLUXCONV

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_filter2fluxconv
- PURPOSE:
-    Returns flux convention given filter name
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    flx_conv=dustem_filter2fluxconv(filter[,/help])
- INPUTS:
-    filter  = Filter name
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    flx_conv = Flux convention string
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    Reads instrument_description.xcat at each call. Not optimal.
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    print,dustem_filter2fluxconv(['IRAS1','MIPS3'])
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_filter2fluxconv.pro)

-


- - -

DUSTEM_FILTER2INSTRU

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_filter2instru
- PURPOSE:
-    Returns instrument name given filter name
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    inst_name=dustem_filter2instru(filter[,/help])
- INPUTS:
-    filter  = Filter name
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    inst_name = Instrument name
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    Reads instrument_description.xcat at each call. Not optimal.
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    print,dustem_filter2instru(['IRAS1','MIPS3'])
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_filter2instru.pro)

-


- - -

DUSTEM_FILTER2WAV

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_filter2wav
- PURPOSE:
-    Returns reference wavelength given filter name
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    wave=dustem_filter2wav(filter[,/help])
- INPUTS:
-    filter  = Filter name
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    wave = reference wavelength (microns)
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    Reads instrument_description.xcat at each call. Not optimal.
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    print,dustem_filter2wav(['IRAS1','MIPS3'])
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_filter2wav.pro)

-


- - -

DUSTEM_FILTER_INIT

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_filter_init
- PURPOSE:
-    Initializes the dustem filter structure (!dustem_filters)
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_filter_init[,dir=]
- INPUTS:
-    None
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    initializes !dustem_filters
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init
-    dustem_filter_init
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_filter_init.pro)

-


- - -

DUSTEM_FIT_SED_README

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_fit_sed_readme
- PURPOSE:
-    This is an example of how to fit SEDs with the dustem wrapper.
-    It is meant to be an example to follow when writing your own
-    programs using the dustem IDL wrapper.
-    It is not meant to reproduce the result in Compiegne et al 2010
-    The SED used here is in sample_SED.xcat
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_fit_sed_readme,postcript=postcript,mode=mode,help=help
- INPUTS:
-    None
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    mode = Selects one of the dust mixture used by dustem
-           'COMPIEGNE_ETAL2010' from Compiegne et al 2010 (default)
-           'DBP90' from Desert et al 1990
-           'DL01' from Draine & Li 2001
-           'DL07' from Draine & Li 2007
-    postcript = if set plot is done in DUSTEM/Docs/Figures/Last_dustem_fit.ps
-    help      = If set print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem fortran code must be installed
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_fit_sed_readme,mode='COMPIEGNE_ETAL2010'
- MODIFICATION HISTORY:
-    Written by J.P. Bernard April 1st 2011
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_fit_sed_readme.pro)

-


- - -

DUSTEM_INIT

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-   dustem_init
- CALLING SEQUENCE:
-   dustem_init
- PURPOSE:
-   Defines system variables to run the DUSTEM code
- INPUTS:
-    mode    = Selects one of the dust mixture used by dustem
-              'COMPIEGNE_ETAL2010' from Compiegne et al 2010 (default)
-              'DBP90' from Desert et al 1990
-              'DL01' from Draine & Li 2001
-              'DL07' from Draine & Li 2007
-   dir      = overrides default directory where to read data
-   wraptest = test running dustem f90 through the wrapper
-   plot_it  = plots run result (only if wraptest)
-   help     = If set print this help
- OPTIONAL INPUT:
-   None
- OUTPUTS:
-   None
- PROCEDURE AND SUBROUTINE USED
-    1/ The folowing system variables are initialized to null values
-	or empty pointers:
-       !dustem_fit
-       !dustem_data
-       !dustem_inputs
-       !dustem_params
-       !run_ionfrac
-       !dustem_idl_continuum
-       !dustem_filters
-       !dustem_verbose
-       !dustem_show_plot
-    2/ optionally runs the fortran code (if wraptest)
-       This step calls the Fortran code to run a standard model
-    3/ !dustem_filters is initialized calling dustem_filter_init.pro.
- RESTRICTIONS:
-    The dustem fortran code must be installed
-    The dustem idl wrapper must be installed
- EXAMPLES
-    dustem_init,/wrap,/plot_it
- MODIFICATION HISTORY:
-    See cvs logs
-    Written by JPB,NF,DP Jan-2007
-    see evolution details on the dustem cvs maintained at CESR
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_init.pro)

-


- - -

DUSTEM_PLANCK_FUNCTION

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-	dustem_planck_function
- PURPOSE: 
-	To calculate the Planck function in units of MJy/sr 
-
- CALLING SEQUENCE: 
-	bbflux = dustem_planck_function(temp,wave) 
-
- INPUT PARAMETERS: 
-	WAVE   in microns
-	TEMP   Scalar giving the temperature of the planck function in degree K
-
- OUTPUT PARAMETERS:
-	BBFLUX - Scalar or vector giving the planck function at the specified
-		wavelength points.
-
- EXAMPLES:
-
- RESTRICTIONS:
-	Values less than approximately 1E-24 are truncated to 0.
-
- PROCEDURE:
-
- MODIFICATION HISTORY:
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_planck_function.pro)

-


- - -

DUSTEM_PLOT_EXTINCTION

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-     dustem_plot_extinction
- PURPOSE:
-    Plots a Dustem extinction
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_plot_extinction,st,st_model[,/help][,_extra=]
- INPUTS:
-    st        = Dustem model output structure
-    st_model  = Dustem model parameters structure
- OPTIONAL INPUT PARAMETERS:
-    _extra    = extra parameters for the plot routine
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    model is plotted
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init,/wrap
-    dir_in=getenv('DUSTEM_SOFT_DIR')+'/src/dustem3.8_web/'
-    st_model=dustem_read_all(dir_in)
-    dir=getenv('DUSTEM_RES')
-    st=dustem_read_all_res(dir_in)
-    loadct,13
-    dustem_plot_extinction,st,st_model,yr=[1.e-6,1.e0],/ysty,xr=[1.,400],/xsty
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_plot_extinction.pro)

-


- - -

DUSTEM_PLOT_FIT_SED

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_plot_fit_sed
- PURPOSE:
-    Plots a Dustem model and SED. Parameter values and error are
-    printed on plot. Used for plotting results during fit.
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_plot_fit_sed,st,sed,cont[,/no_spec_error][,res=][,errors=][,chi2=][,rchi2=][/help][_extra=]
- INPUTS:
-    st        = Dustem model output structure
-    sed       = Dustem model SED
-    cont      = Dustem model NIR continuum
- OPTIONAL INPUT PARAMETERS:
-    res       = fit result values. If set values are written on plot.
-    errors    = fit result errors. If set values are written on plot.
-    chi2      = fit chi^2. if set value is written on plot.
-    rchi2     = Reduced fit chi^2. if set value is written on plot.
-    _extra    = extra parameters for the plot routine
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    SED and model are plotted
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_plot_fit_sed,st,sed,cont
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_plot_fit_sed.pro)

-


- - -

DUSTEM_PLOT_NUINU_EM

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-     dustem_plot_nuinu_em
- PURPOSE:
-    Plots a Dustem spectrum
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_plot_fit_sed,st[,/help][,_extra=]
- INPUTS:
-    st        = Dustem model output structure
- OPTIONAL INPUT PARAMETERS:
-    _extra    = extra parameters for the plot routine
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    model is plotted
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init,/wrap
-    dir=getenv('DUSTEM_RES')
-    st=dustem_read_all_res(dir)
-    dustem_plot_nuinu_em,st,yr=[1e-28,1.e-22],/ysty,xr=[1,5e3],/xsty
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_plot_nuinu_em.pro)

-


- - -

DUSTEM_READ_ALL

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_read_all
- PURPOSE:
-    Reads all Dustem input data
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    st=dustem_read_all(dir_in,silent=silent,help=help)
- INPUTS:
-    dir_in: input directory
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    st: input structure
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    silent    = If set, function is silent
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init
-    dir=getenv('DUSTEM_SOFT_DIR')+'/src/dustem3.8_web/'
-    st=dustem_read_all(dir)
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_read_all.pro)

-


- - -

DUSTEM_READ_ALL_RES

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_read_all_res
- PURPOSE:
-    Reads all Dustem outputs
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    st=dustem_read_all_res(dir_out[,/silent][,/help])
- INPUTS:
-    dir_out: Dustem output directory
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    st: Dustem output structure
-      structure:
-      DUSTEM          STRUCT    ->  Array[800]
-        WAV             FLOAT         0.0400000
-        EM_GRAIN_1      FLOAT           0.00000
-        EM_GRAIN_2      FLOAT           0.00000
-        EM_GRAIN_3      FLOAT           0.00000
-        EM_GRAIN_4      FLOAT           0.00000
-        EM_GRAIN_5      FLOAT           0.00000
-        EM_TOT          FLOAT           0.00000
-      EXT             STRUCT    ->  Array[799]
-        WAV             FLOAT         0.0406570
-        ABS_GRAIN       FLOAT     Array[5]
-        SCA_GRAIN       FLOAT     Array[5]
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
-    silent    = If set, function is silent
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init,/wrap
-    dir=getenv('DUSTEM_RES')
-    st=dustem_read_all_res(dir)
-    help,st,/str
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_read_all_res.pro)

-


- - -

DUSTEM_RESTORE_SED_FIT

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_restore_sed_fit
- PURPOSE:
-    Restore Dustem SED fit results from a file.
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_restore_sed_fit,file[,/help]
- INPUTS:
-    file      = File name
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    The !dustem_fit structure is updated
-    The !dustem_data, !dustem_filters, !dustem_verbose and
-    !run_ionfrac are also affected.
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_fit_sed_readme
-    file=getenv('DUSTEM_RES')+'DUSTEM_fit_example.sav'
-    dustem_restore_sed_fit,file
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_restore_sed_fit.pro)

-


- - -

DUSTEM_RUN

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_run
- PURPOSE:
-    Runs the DUSTEM code and returns the results into a structure.
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    st=dustem_run(params[,/help])
- INPUTS:
-    params = model parameter values
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    st: output structure
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    st=dustem_run(params)
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard, N. Flagey, D. Paradis Jan 2007
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_run.pro)

-


- - -

DUSTEM_RUN_README

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_run_readme
- PURPOSE:
-    This is an example of how to run dustem SEDs with the dustem wrapper.
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_run_readme,mode=mode,help=help,/postcript,/help,/plot_it
- INPUTS:
-    None
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    mode = Selects one of the dust mixture used by dustem
-           'COMPIEGNE_ETAL2010' from Compiegne et al 2010 (default)
-           'DBP90' from Desert et al 1990
-           'DL01' from Draine & Li 2001
-           'DL07' from Draine & Li 2007
-    postcript = if set, plot is done in DUSTEM/Docs/Figures/Last_dustem_fit.ps
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem fortran code must be installed
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_run_readme,mode='COMPIEGNE_ETAL2010'
- MODIFICATION HISTORY:
-    Written by J.P. Bernard April 1st 2011
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_run_readme.pro)

-


- - -

DUSTEM_SAVE_SED_FIT

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_save_sed_fit
- PURPOSE:
-    Save Dustem SED fit results in a file
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_save_sed_fit,file[,/help]
- INPUTS:
-    file      = File name
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    File is stored.
-    The stored data are taken from !dustem_fit, !dustem_data,
-    !dustem_filters, !dustem_verbose and !run_ionfrac
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_save_sed_fit.pro)

-


- - -

DUSTEM_SET_DATA

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-    dustem_set_data
- PURPOSE:
-    Initializes the dustem data structure (!dustem_data)
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_set_data,spec[,help=]
- INPUTS:
-    spec: array of structures containing a SED
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    initializes !dustem_data
-    wavelengths are forced to be the central filter wavelength for
-    photometric data
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init
-    dir=getenv('DUSTEM_SOFT_DIR')+'/src/dustem3.8_web/SEDs/'
-    file=dir+'Gal_composite_spectrum.xcat'
-    spec=read_xcat(file,/silent)
-    dustem_set_data,spec
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_set_data.pro)

-


- - -

DUSTEM_SET_FUNC_IND

-[Previous Routine] -[Next Routine] -[List of Routines] -
- NAME:
-       dustem_set_func_ind
- CALLING SEQUENCE:
-       dustem_set_func_ind
- PURPOSE:
-	Sorts the parameter descriptions and values the way they must
-	be processed.
- INPUTS:
-       None
- OPTIONAL INPUT:
-       None
- OUTPUTS:
-       None
- PROCEDURE AND SUBROUTINE USED
-       Parameter description (!param_desc) and values (!init_value) are
-       ordered the way they should be processed. The ordered information
-       is put into system variables !PDO and !IDO respectively
-       If the isrf is being modified, then, PAH ionization fraction
-       is set to be updated as well.
- SIDE EFFECTS:
-       !PDO and !IDO variables are set.
-       Optionally !ionfrac is set.
-       The !func_ind variable is set.
- MODIFICATION HISTORY:
-       See cvs logs
-       Written by NF,JPB,DP Jan-2007
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_set_func_ind.pro)

-


- - -

DUSTEM_WRITE_ALL

-[Previous Routine] -[List of Routines] -
- NAME:
-    dustem_write_all
- PURPOSE:
-    Write all Dustem input data
- CATEGORY:
-    Dustem
- CALLING SEQUENCE:
-    dustem_write_all,st,dir_out[,/help]
- INPUTS:
-    st: Dustem input structure
-    dir_out: output directory
- OPTIONAL INPUT PARAMETERS:
-    None
- OUTPUTS:
-    None
- OPTIONAL OUTPUT PARAMETERS:
-    None
- ACCEPTED KEY-WORDS:
-    help      = If set, print this help
- COMMON BLOCKS:
-    None
- SIDE EFFECTS:
-    None
- RESTRICTIONS:
-    The dustem idl wrapper must be installed
- PROCEDURE:
-    None
- EXAMPLES
-    dustem_init
-    dir=getenv('DUSTEM_SOFT_DIR')+'/src/dustem3.8_web/'
-    st=dustem_read_all(dir)
-    dirout=getenv('DUSTEM_DAT')
-    dustem_write_all,st,dirout
- MODIFICATION HISTORY:
-    Written by J.-Ph. Bernard
-    see evolution details on the dustem cvs maintained at CESR
-    Contact J.-Ph. Bernard (Jean-Philippe.Bernard@cesr.fr) in case of problems.
-

-(See /Users/jpb/Soft_Librairies/DUSTEM/src/idl/dustem_write_all.pro)

-


- - - diff --git a/Docs/Flow_charts/dustem-wrapper_flow_chart1.drawio b/Docs/Flow_charts/dustem-wrapper_flow_chart1.drawio deleted file mode 100644 index b32faa7..0000000 --- a/Docs/Flow_charts/dustem-wrapper_flow_chart1.drawio +++ /dev/null @@ -1 +0,0 @@ -7V1bk6M2Fv4t+9CP04W485jpnk6ylWRT2w8z8+Si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m9WFznCq2OAIoP+4+mi5kYOZSQ07D+TMrLNsz7o5MqIlhOQO5aeVVDYvrO0c+5nnstOtm3YpeinqfejaSaOHEprUZt32OenokOVlqOJVVp8dcetwrT7YgrIP2tsfTE9/03m8/ZpwbIqiboqO0pZGc3+BkSySltLfTNuoGFh24UptHp3mh84nZ5tPNPb1bNjqlTe3UVrcReWI8GCho4zjkrFKskdW6hKBf3yJ+UBUqWiWu8jdinltSklfG6K5qGUyak16+QUqFIpjaaUdG4/T+xa3iva8xiAfsfALozAl7A3vc69kfey9qY3h5YjLIDUF52+uAhSc2/FszBSDy4QE09qeTLO1KS+0FNErKHToAWQ+qKTOxdBautCST38zAXhpJ7sbBxJ6prUvOXpSyP1BU8ULzrNdRGk5t4mfFmkti93oqjSAq8YqYOdW4Db5nF96THYbdBzw+AF/fXCIFmVu7M8efEu2VerwZ7+gvlLHP9YAdV+R//dJ9GmO7z69PTFcJxxoqbEdjfV2xZXRiotRG/TuFg4fUQodZPtn7EPizv+Dw== \ No newline at end of file diff --git a/Docs/Flow_charts/dustem-wrapper_flow_chart1.png b/Docs/Flow_charts/dustem-wrapper_flow_chart1.png deleted file mode 100644 index 31ca8f7..0000000 Binary files a/Docs/Flow_charts/dustem-wrapper_flow_chart1.png and /dev/null differ diff --git a/Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.drawio b/Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.drawio new file mode 100644 index 0000000..b32faa7 --- /dev/null +++ b/Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.drawio @@ -0,0 +1 @@ +7V1bk6M2Fv4t+9CP04W485jpnk6ylWRT2w8z8+SiQbapwUAA92V//YqbjXUxggGEbU1VOjbGQtb3nYvOOZLutIfd+6+pm2z/jH0Y3qmK/36nPd6pKrBVBf2vuPJRX9FVrbqySQO/vna88Bz8D9YX6y9u9oEPs5Mb8zgO8yA5vejFUQS9/OSam6bx2+lt6zg8fWribiBx4dlzQ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UptHp3mh84nZ5tPNPb1bNjqlTe3UVrcReWI8GCho4zjkrFKskdW6hKBf3yJ+UBUqWiWu8jdinltSklfG6K5qGUyak16+QUqFIpjaaUdG4/T+xa3iva8xiAfsfALozAl7A3vc69kfey9qY3h5YjLIDUF52+uAhSc2/FszBSDy4QE09qeTLO1KS+0FNErKHToAWQ+qKTOxdBautCST38zAXhpJ7sbBxJ6prUvOXpSyP1BU8ULzrNdRGk5t4mfFmkti93oqjSAq8YqYOdW4Db5nF96THYbdBzw+AF/fXCIFmVu7M8efEu2VerwZ7+gvlLHP9YAdV+R//dJ9GmO7z69PTFcJxxoqbEdjfV2xZXRiotRG/TuFg4fUQodZPtn7EPizv+Dw== \ No newline at end of file diff --git a/Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.png b/Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.png new file mode 100644 index 0000000..31ca8f7 Binary files /dev/null and b/Docs/developers/Code_Structure_Flowcharts/dustem-wrapper_flow_chart1.png differ diff --git a/Docs/developers/List_of_Dustem_IDL_system_variables.txt b/Docs/developers/List_of_Dustem_IDL_system_variables.txt new file mode 100644 index 0000000..53e828f --- /dev/null +++ b/Docs/developers/List_of_Dustem_IDL_system_variables.txt @@ -0,0 +1,34 @@ +%List of Dustem IDL system variables + + +!DUSTEM_DAT = '/tmp/ramdisk8MB/' +!DUSTEM_DATA = -> Array[1] +!DUSTEM_DO_CC = 1 +!DUSTEM_F90_EXEC = '$HOME/Soft_Librairies/dustem4.3_wk/src/dustem' +!DUSTEM_FILTERS = +!DUSTEM_FIT = +!DUSTEM_F_HI = 1.00000 +!DUSTEM_IDL_CONTINUUM = 0.00000 +!DUSTEM_IDL_FREEFREE = 0.00000 +!DUSTEM_IDL_SYNCHROTRON = 0.00000 +!DUSTEM_INPUTS = +!DUSTEM_INSTRUMENT_DESCRIPTION = -> Array[120] +!DUSTEM_NEVER_DO_CC = 0 +!DUSTEM_PARAMS = +!DUSTEM_PARINFO = +!DUSTEM_PREVIOUS_CC = +!DUSTEM_RES = '/tmp/ramdisk8MB/' +!DUSTEM_SHOW_PLOT = 1 +!DUSTEM_SOFT_DIR = '$HOME/Soft_Librairies/dustem4.3_wk/' +!DUSTEM_VERBOSE = 1 +!DUSTEM_WHICH = 'WEB3p8' +!DUSTEM_WRAP_SOFT_DIR = '$HOME/Soft_Librairies/dustem-wrapper_idl/' +!FIT_RCHI2_WEIGHT = -> Array[1] +!RUN_ANIS = 0.00000 +!RUN_CIRC = 0.00000 +!RUN_IONFRAC = 0.00000 +!RUN_LIN = 1.00000 +!RUN_POL = 1 +!RUN_RRF = 0.00000 +!RUN_TLS = 0.00000 +!RUN_UNIV = 0.00000 \ No newline at end of file diff --git a/Docs/examples/DustemWrap_development_issues.txt b/Docs/examples/DustemWrap_development_issues.txt deleted file mode 100644 index 86e9a21..0000000 --- a/Docs/examples/DustemWrap_development_issues.txt +++ /dev/null @@ -1,14 +0,0 @@ -%This is a note describing known current development issues for Dustem -%This file is called DustemWrap_development_issues.txt and is managed by J.-Ph. Bernard and Ilyes Choubani -%Issues must be described as explicitly as possible -%These issues must be checked before the next joint release of Dustem and Dustemwrap - -- JPB, April 8th 2022: - Dustem has a bug due to calculation accuracy for the THEMIS model, which solves by replacing max size values in GRAIN_THEMIS.DAT from 9.00E-6 into 8.99E-05 - -- JPB, April 8th 2022: - Dustemwrap causes the Fortran to crash if the chrg keyword is not specified in the initial GRAIN.DAT file, but is subsequently added by the (*!dustem_params).grains[0].TYPE_KEYWORDS. A similar error is likely to occur for the spin keyword (untested). - We must force these pointers to not be empty just after writing our own GRAIN.DAT in /tmp, in the same way this is done in dustem_init.pro with the GRAIN.DAT from the fortran directory. -- *FOLLOW UP*: IC, May 15th 2022: A SOLUTION HAS BEEN IMPLEMENTED BY INTRODUCING the 'kwords' -;keyword and specifying the necessary population keywords. IE: kwords=['plaw-ed-chrg-spin'] for the first grain population -;to enable the use of spinning dust. THIS IS NOT AN ISSUE ANYMORE. \ No newline at end of file diff --git a/Docs/examples/List_of_Dustem_IDL_system_variables.txt b/Docs/examples/List_of_Dustem_IDL_system_variables.txt deleted file mode 100644 index 53e828f..0000000 --- a/Docs/examples/List_of_Dustem_IDL_system_variables.txt +++ /dev/null @@ -1,34 +0,0 @@ -%List of Dustem IDL system variables - - -!DUSTEM_DAT = '/tmp/ramdisk8MB/' -!DUSTEM_DATA = -> Array[1] -!DUSTEM_DO_CC = 1 -!DUSTEM_F90_EXEC = '$HOME/Soft_Librairies/dustem4.3_wk/src/dustem' -!DUSTEM_FILTERS = -!DUSTEM_FIT = -!DUSTEM_F_HI = 1.00000 -!DUSTEM_IDL_CONTINUUM = 0.00000 -!DUSTEM_IDL_FREEFREE = 0.00000 -!DUSTEM_IDL_SYNCHROTRON = 0.00000 -!DUSTEM_INPUTS = -!DUSTEM_INSTRUMENT_DESCRIPTION = -> Array[120] -!DUSTEM_NEVER_DO_CC = 0 -!DUSTEM_PARAMS = -!DUSTEM_PARINFO = -!DUSTEM_PREVIOUS_CC = -!DUSTEM_RES = '/tmp/ramdisk8MB/' -!DUSTEM_SHOW_PLOT = 1 -!DUSTEM_SOFT_DIR = '$HOME/Soft_Librairies/dustem4.3_wk/' -!DUSTEM_VERBOSE = 1 -!DUSTEM_WHICH = 'WEB3p8' -!DUSTEM_WRAP_SOFT_DIR = '$HOME/Soft_Librairies/dustem-wrapper_idl/' -!FIT_RCHI2_WEIGHT = -> Array[1] -!RUN_ANIS = 0.00000 -!RUN_CIRC = 0.00000 -!RUN_IONFRAC = 0.00000 -!RUN_LIN = 1.00000 -!RUN_POL = 1 -!RUN_RRF = 0.00000 -!RUN_TLS = 0.00000 -!RUN_UNIV = 0.00000 \ No newline at end of file -- libgit2 0.21.2