Skip to content

chunliangmu/clmuphantomlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clmuphantomlib

A python library for analyzing Phantom SPH data using Sarracen

Meta

Author: Chunliang Mu

Requrie python 3.10+ (since I am using the | operator for type hints)

This library is written by me for my PhD project:

Project20230125: Radiative Transfer (RT) in Common Envelope Evolution (CEE)

(Official provisional project name: "Non-adiabatic Common Envelope Simulation of Massive Stars")

Creator: Chunliang Mu (PhD student at Macquarie University 2023-2026(expected))

Principal Supervisor: Professor Orsola De Marco

Associate Supervisor: Professor Mark Wardle

There are some examples in the examples/ folder for running the code. They are directly copied from my scripts on 2024-05-10, and you may want to change the input parameters (the *__input.py file and the _*.py files) and put them into the src/ directory (or alternatively put a symbolic link in the examples/ directory to src/clmuphantomlib, so the package can be loaded correctly) before using them. See https://github.com/chunliangmu/RTinCEE-scripts-2024 for all of my scripts using this library in 2024 so far.

Have fun!

Disclaimer

This project is a work in progress. No guarrantees whatsoever. Use it at your own risk.

Note: Please cite the sarracen paper if you use this code (see below link for the sarracen repository description), since this code uses sarracen behind the scene.

Dependencies

  • Python libraries:
    • python3 (version >= 3.10)
    • numpy scipy astropy h5py numba matplotlib ipympl moviepy
    • sarracen

( I think that's all. If that doesn't work, try install all of those with anaconda: numpy scipy astropy sympy h5py numba pandas seaborn matplotlib ipympl ipynbname pylint moviepy jupyter jupyterlab and then install sarracen with pip. )

Externel files

Useful links

About

A python library for analyzing Phantom SPH data using Sarracen.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy