Skip to content

fractal dimensionality #377

Answered by luisfabib
kmytsay asked this question in Q&A
Sep 30, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Yes, you can do that by using the freeze() method of the corresponding parameter.

For example, if you have constructed a dipolar model called Vmodel which contains the bg_homfractal as the background model you can fix the value as follows:

fdim_fixed = 2
Vmodel.fdim.freeze(fdim)

and then just run the fit as usual.

Due to the mathematical nature of the bg_homfractal model, it can be that the fractal concentration parameter adopts significantly low values. It might be getting rounded when printing the value. You can check whether the value stored in the fit results object is not exactly zero.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kmytsay
Comment options

Answer selected by kmytsay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants