Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix configurational state heat capacities for low population fractions #147

Open
@cwalker7

Description

@cwalker7

When bootstrapping the individual state heat capacities withbootstrap_partial_heat_capacities(), KeyErrors can result when certain configurational states have low populations, leading to no data points in some bootstrap trials.

One solution could be to just ignore those trials when computing the average and uncertainty for the configurational states affected (such as by numpy.nanmean and nanstd). Theget_partial_heat_capacities() function should be updated to keep track of which states do and don't have data, rather than setting state indices withn_conf_states = len(np.unique(array_folded_states))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp