Git Product home page Git Product logo

intrinsic_alignments's People

Contributors

jablazek avatar nvanalfen avatar

Watchers

 avatar  avatar

intrinsic_alignments's Issues

Issues with the Jupyter notebooks

Running all the Jupyter notebooks in the intrinsic_alignment repo gives some issues. Some are specific to my computer (which I have listed as such and will update when I can fix them on my machine), but most seem to be issues with the notebooks not being able to find certain imported models.

Important note: these "module not found" errors are not a result of not having installed certain packages. The modules either simply do not exist in the expected directory (some of these can be solved by changing the import statement to import from a different package, which I have noted below), or they do, but through several layers of imports (See vector_utilities error below) cannot seem to find it.

Below is a list of all the errors with each notebook (At least all the errors I was able to get to). The hope is to document them here, solve them, and move on to a new set of errors until I've figured them all out. First are the general errors (as most of the notebooks suffer from just a handful of the same issues) followed by a more lengthy list showing each Jupyter notebook.

Summary of missing pieces:

  • Missing .dat files
  • No module named 'intrinsic_alignments.data.MB2_subfind_cat_utils'
  • No halotools.mock_observables.alignments when importing intrinsic_alignments,utils.jackknife_observables
    • When directly trying to import "halotools.mock_observables.alignments", simply change to "halotools_ia.correlation_functions"
  • When importing from ia_model_components, the import within ia_model_components of "from rotations.mcrotations" calls "from vector_utilities import *" and results in a "No module names vector_utilities" error
    • The module is there, but it's not catching that for some reason

In-Depth List:

  • galaxy_shape_correlations
    • Illustris_alignments
      • Missing some .dat files in data directory
    • MBII_alignments
      • No MB2_subfind_cat_utils module
    • MBII_galaxy_demographics
      • No MB2_subfind_cat_utils module
    • MBII_Halo_Shapes
      • No MB2_subfind_cat_utils module
    • Modelling_MBII_alignments
      • No MB2_subfind_cat_utils module
  • halo_shape_correlations
    • notebooks
      • 2_halo_effects
        • No module halotools.mock_observables.alignments
          • When directly imported, fixed by changing to: import halotools_ia.correlation_functions
            *** - same error when running: from intrinsic_alignments.utils.jackknife_observables
            • possible solution: check this module and change imports to call from halotools_ia
      • anisotropy_2
        • same "No module halotools.mock_observables.alignments" error when importing intrinsic_alignments,utils.jackknife_observables
      • fitting_functions
        • same "No module halotools.mock_observables.alignments" error when importing intrinsic_alignments,utils.jackknife_observables
      • halo_model_validation
        • Fine
      • section_3
        • Uses specific path on Duncan's computer
      • section_4
        • Empty, fine
      • subhalo_alignment_models
        • When importing from ia_model_components, the import within ia_model_components of "from rotations.mcrotations" calls from vector_utilities import * and results in a "No module names vector_utilities" error
      • suhalo_alignments
        *** - No matching catalog (This I think I just need to search around more)
      • subhalo_anisotropy
        • When importing from ia_model_components, the import within ia_model_components of "from rotations.mcrotations" calls from vector_utilities import * and results in a "No module names vector_utilities" error
      • subhalo_profile_effects
        • Effectively empty, fine
  • ia_models
    • alignment_model_cartoon
      • Fine
    • IA_Modelling_Demo
      • same "No vector_utilities" issue when importing intrinsic_alignments.ia_models.ia_model_components
  • literature_ia_models
    • HRH_model_demo
      • Fine
    • Linear_IA_Demo
      *** - camb (My machine, need to install camb)
    • literature_models_demo
      • importing from "intrinsic_alignments.literature_ia_models.literature_ia_model_components" gives the "No module named vector_utilities" error
  • modelling_illustris
    • illustris_alignment_strength
      • Same "No module named vector_utilities" issue from mcrotations
    • tng300_model
      • Same "No module named vector_utilities" issue from mcrotations
    • tng_correlations_plot
      • Fine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.