Comments (10)
def Douglas_Adams_number():
return 42
from plasmapy.
Unless somebody has already started work on this, I'd like to contribute here. I'll update each time I add functionality and be happy to coordinate with anyone else working on this to avoid duplication.
I'll be starting with Mach_number
unless someone is already working on it
from plasmapy.
Hey, I believe Nick has already done some work on this in #34 , #60 and possibly some others. I don't think we have the Mach number just yet, though, so if you could look over there, that'd be amazing! Thanks for the heads up!
from plasmapy.
I haven't worked on Mach_number
yet so it would be great if you could! I'm in the middle of working on Coulomb_logarithm
at the moment.
from plasmapy.
Some other ones:
- Knudsen number
- Degeneracy parameter (theta = thermal kinetic energy / Fermi energy)
- coupling parameter ( Gamma = Coulomb potential between two particles / thermal kinetic energy)
Also it would be cool to have a Plasma object where one defines the temperature, density etc, and then call a method on the object which then calculates all the dimensionless parameters and let's you know what regimes your plasma is in.
from plasmapy.
Yeah, we were thinking about having a PlasmaBlob
object that would include those quantities without bothering with spatial data. That'd fit that.
from plasmapy.
I've sort of started this by adding a module with coupling parameter function in PR #191 . Once I finish and merge that we can add more dimensionless parameter functions.
from plasmapy.
We should be careful with which functions we put in here... For example, the quantum degeneracy parameter is often used in calculating other quantum functions, but it depends on the Fermi energy. So placing ideal_chemical_potential
in quantum.py
which depends on degeneracy_parameter
in dimensionsless.py
, which depends on Fermi_energy
in quantum.py
is a no go due to circular dependencies.
One way around this might be to simply use dimensionless.py
as a dummy module for importing names of functions which are dimensionless from their respective modules.
from plasmapy.
is Prandtl_number available? If the answer is yes I would like to be sure if https://en.wikipedia.org/wiki/Prandtl_number is the correct formula so I can start to code this new function in PlasmaPy/plasmapy/formulary/dimensionless.py file
from plasmapy.
Closing this since we have the bulk of these now in plasmapy.formulary.dimensionless
. If we decide to add more, it'd probably be most sensible to have a separate issue for each additional dimensionless parameter.
from plasmapy.
Related Issues (20)
- Update testing guide to reflect that repeat runs of tox are only a few seconds slower than pytest
- Decide on preferred set of `mypy` rules to adopt HOT 5
- Improve Thomson module
- Different return types for `is_category` method of `ParticleList` than `Particle` & `CustomParticle` HOT 3
- Make it so that mypy thinks that `ParticleLike` has the same attributes as `Particle`
- Store downloaded data in `$XDG_DATA_HOME` if that environment variable exists HOT 1
- Multiple density values in `formulary.radiation.thermal_bremsstrahlung` returns `ValueError`
- `thomson_fitting` error with `lmfit==1.3.0` HOT 3
- Make it so that `plasmapy.__version__` uses current date in editable installs
- Verify that files are included or not included in source distributions and wheels
- Show correct version in title of `latest` docs
- Enable weekly tests with the JIT compiler to be added in Python 3.13
- CI codecov bug HOT 2
- Allow ParticleTracker to accept analytical fields (as functions) or lists of currents/charges
- Add helper functionality to plot quantities against temperature with axes labeled in both K and eV HOT 2
- Add `latex_str` attribute to `Particle`
- Add Jupyter notebook that plots reconnection phase diagram
- what is the unit of temperature defined in the Spitzer resistivity HOT 1
- Requirements files need to be rethought HOT 2
- Spin off plasma calculator into separate affiliated package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasmapy.