Skip to content

Instantly share code, notes, and snippets.

View mishinma's full-sized avatar
⛰️

Misha Mishin mishinma

⛰️
  • Data Engineer at Oda
  • Oslo, Norway
View GitHub Profile
function tunnel {
port=$1
target=$2
ssh -L ${port}:localhost:${port} -N -f -l parks1 ${target}
}
from carsus import init_db
from carsus.io.output import AtomData
dbname = "path/to/nonempty.db"
session = init_db(dbname)
ad = AtomData(session, selected_atoms='H-Zn', chianti_ions="H; He")
storename = "path/to/hdfstore.h5"
ad.to_hdf(storename, store_atom_masses=True, store_ionization_energies=True,
store_levels=True, store_lines=True, store_macro_atom=True, store_collisions=False,
from carsus import init_db
from carsus.io.nist import NISTWeightsCompIngester, NISTIonizationEnergiesIngester
from carsus.io.kurucz import GFALLIngester
from carsus.io.chianti_ import ChiantiIngester
def create_test_db(db_fname, gfall_fname):
"""
Create a database
Parameters

Final Evaluation of the GSoC Project "Carsus - TARDIS support package for creating atomic datasets".

This gist identifies all the work I have done for my 2016 GSoC project with the TARDIS-SN organization.

Links to My Work

For the most part, I worked on the tardis-sn/carsus repository:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.