Scan of a parameter in log space

Asked by Mattia Di Mauro

I read from the instructions that it is possible to scan a parameter of the model.
For example the mass can be scanned with the command:
set mxd scan:range(50,700,25)
Is it possible to make a scan in log_10 space?

Question information

Language:
English Edit question
Status:
Solved
For:
MadDM Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

you can do something like

set mxd scan:[10**i for i in range(5)]

Basically any python expression returning a list are allowed here.

Cheers,

Olivier

> On 3 May 2022, at 09:50, Mattia Di Mauro <email address hidden> wrote:
>
> New question #701639 on MadDM:
> https://answers.launchpad.net/maddm/+question/701639
>
> I read from the instructions that it is possible to scan a parameter of the model.
> For example the mass can be scanned with the command:
> set mxd scan:range(50,700,25)
> Is it possible to make a scan in log_10 space?
>
> --
> You received this question notification because your team maddm is an
> answer contact for MadDM.

Revision history for this message
Mattia Di Mauro (mdimauro) said :
#2

Thanks Olivier Mattelaer, that solved my question.