Questions about skipping points and additional output

Questions related to the scan and plot package SSP
Post Reply
SDrau
Posts: 14
Joined: 21. Feb 2018, 14:54

Questions about skipping points and additional output

Post by SDrau » 7. Mar 2018, 15:00

Hello,

I have a couple of questions about SSP.

1) Is there a way to skip a calculation if some unwanted parameter point has occurred? For example, SkipCalculation[a_]=If[MINPAR[1]==0, True, False]. I see from this forum that it was not possible ~two years ago, but maybe that has changed?

2) Is there a way to output blocks to the SpectrumFiles.spc/Data.m that are defined in SSP, but not defined in SPheno?
In my case scanning requires quite a few extra calculations that I have defined in additional blocks in the SSP input file and it would be useful to use those blocks when plotting. If not, I could define them in SPheno, though fixes are faster when dealing with SSP, since there is no need of recompilation.

Regards,

Simonas D.

FStaub
Site Admin
Posts: 822
Joined: 13. Apr 2016, 14:05

Re: Questions about skipping points and additional output

Post by FStaub » 7. Mar 2018, 21:10

Hi,

concerning 1): no, nothing has changed in this direction. There is hardly any on-going development of SSP.

concerning 2): the blocks you are speaking about are written to the Les Houches input? In that case, it should be sufficient to save the input file together with the spc file for each point. This can be done, when you set instead of

Code: Select all

DEFAULT[SPheno] = PATH/SPhenoMODEL;
a shell-script:

Code: Select all

DEFAULT[SPheno] = PATH/SCRIPT;
This script should run SPheno and append the input file file to the SPheno output, i.e. something like

Code: Select all

#!/bin/bash
PATH/SPhenoMODEL
if [ -f SPheno.spc.MODEL ]
cat LesHouches.in.MODEL >> SPheno.spc.MODEL
fi
Cheers,
Florian

SDrau
Posts: 14
Joined: 21. Feb 2018, 14:54

Re: Questions about skipping points and additional output

Post by SDrau » 8. Mar 2018, 19:06

Thank you, this will be very useful!

Regards,

Simonas

Post Reply