Skip to content

Error in populating_lvls_example.py  #16

@s-rathi

Description

@s-rathi

In the code section corresponding to plotting the populating fraction from the ground versus temperature in the file populating_lvls_example.py, there appears to be a misunderstanding regarding the definition of level 1.
If I correctly understand, the index should be, be.data['processed']['pop_lvl'][1,1,0,:,0]/np.sum(be.data['processed']['pop_lvl'][ 1,:,0,:,0], axis=0)) instead of be.data['processed']['pop_lvl][10,10,0,:,0]/np.sum(be.data['processed']['pop_lvl'][10,:,0,:,0], axis=0)).

I believe the latter refers to level number 10 instead of level number 1. I might be wrong in understanding.
A clarification on this is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions