Skip to content

Commit

Permalink
Merge pull request #22 from astropenguin/#21-release-v0.2.1
Browse files Browse the repository at this point in the history
Release v0.2.1
  • Loading branch information
astropenguin authored Oct 5, 2020
2 parents 4edfe8a + d54054e commit c2af066
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
poetry install
- name: Publish package
run: |
poetry run python setup.py sdist
poetry run twine upload dist/*
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Akio Taniguchi
Copyright (c) 2019-2020 Akio Taniguchi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ include ndradex/bin/Makefile
include ndradex/bin/radex-uni
include ndradex/bin/radex-lvg
include ndradex/bin/radex-slab
include ndradex/data/config.toml
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[![](https://img.shields.io/pypi/v/ndradex.svg?label=PyPI&style=flat-square)](https://pypi.org/pypi/ndradex/)
[![](https://img.shields.io/pypi/pyversions/ndradex.svg?label=Python&color=yellow&style=flat-square)](https://pypi.org/pypi/ndradex/)
[![Travis](https://img.shields.io/travis/astropenguin/ndradex/master.svg?label=Travis%20CI&style=flat-square)](https://travis-ci.org/astropenguin/ndradex)
[![Test](https://img.shields.io/github/workflow/status/astropenguin/ndradex/Test?logo=github&label=Test&style=flat-square)](https://github.com/astropenguin/ndradex/actions)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?label=License&style=flat-square)](LICENSE)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.3384095-blue?style=flat-square)](https://doi.org/10.5281/zenodo.3384095)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.3384031-blue?style=flat-square)](https://doi.org/10.5281/zenodo.3384031)

:zap: Python package for RADEX grid calculation
Python package for RADEX grid calculation

## TL;DR

Expand All @@ -22,7 +22,7 @@ The output will be multi-dimensional arrays, which may be useful for parameter s

## Requirements

- Python 3.6 or 3.7
- Python 3.6, 3.7, or 3.8 (tested by the author)
- gfortran (necessary to build RADEX)

## Installation
Expand Down Expand Up @@ -105,7 +105,7 @@ As a natural extension, you can run grid RADEX calculation like:
```

There are 13 parameters which can be griddable:
`QN_ul` (transition name), `T_kin` (kinetic temeperature), `N_mol` (column density), `n_H2` (H2 density), `n_pH2` (para-H2 density), `n_oH2` (ortho-H2 density), `n_e` (electron density), `n_H` (atomic hydrogen density), `n_He` (Helium density), `n_Hp` (ionized hydrogen density), `T_bg` (background temperature), `dv` (line width), and `geom` (photon escape geometry).
`QN_ul` (transition name), `T_kin` (kinetic temperature), `N_mol` (column density), `n_H2` (H2 density), `n_pH2` (para-H2 density), `n_oH2` (ortho-H2 density), `n_e` (electron density), `n_H` (atomic hydrogen density), `n_He` (Helium density), `n_Hp` (ionized hydrogen density), `T_bg` (background temperature), `dv` (line width), and `geom` (photon escape geometry).

The output of this example is a [xarray]'s Dataset with three dimensions of (`QN_ul`, `T_kin`, `n_H2`):

Expand Down
2 changes: 1 addition & 1 deletion ndradex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.2.0"
__version__ = "0.2.1"
__author__ = "astropenguin"


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ndradex"
version = "0.2.0"
version = "0.2.1"
description = "Python package for RADEX grid calculation"
authors = ["Akio Taniguchi <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = ndradex
version = 0.2.0
version = 0.2.1
author = astropenguin
author_email = [email protected]
url = https://github.com/astropenguin/ndradex
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ def run(self):

# main script
if __name__ == "__main__":
setup(cmdclass=dict(build=build))
setup(cmdclass=dict(build=Build))

0 comments on commit c2af066

Please sign in to comment.