<commit_before># em_examples

[![Binder](http://mybinder.org/badge.svg)](http://mybinder.org/repo/ubcgif/em_examples)

This is a repo of notebooks and interactive examples for http://em.geosci.xyz. The examples are based on code available in [SimPEG](http://simpeg.xyz)

## For developers
- when you generate a new notebook, please make sure that the filepath to its location follows the same structure as in [EM GeoSci](http://em.geosci.xyz)
- add the notebook name and path to theindex (index.ipynb)  
- and update the [binder](http://mybinder.org) so it can be shared with the world! 

<img src="./images/binders.png" width="50%">


## In EM GeoSci

To add the binder badge to an rst file, include:

```
.. image:: http://mybinder.org/badge.svg :target: http://mybinder.org/repo/ubcgif/em_examples
```

and if you would like to point directly to a specific example, append the path to the url, ie. 

```
.. image:: http://mybinder.org/badge.svg :target: http://mybinder.org/repo/ubcgif/em_examples/notebooks/geophysical_surveys/DCR_Pseudo-section_Simulation.ipynb
```
<commit_msg>add travis badge to readme<commit_after># em_examples

[![Binder](http://mybinder.org/badge.svg)](http://mybinder.org/repo/ubcgif/em_examples)

[![Build Status](https://travis-ci.org/ubcgif/em_examples.svg?branch=master)](https://travis-ci.org/ubcgif/em_examples)

This is a repo of notebooks and interactive examples for http://em.geosci.xyz. The examples are based on code available in [SimPEG](http://simpeg.xyz)

## For developers
- when you generate a new notebook, please make sure that the filepath to its location follows the same structure as in [EM GeoSci](http://em.geosci.xyz)
- add the notebook name and path to theindex (index.ipynb)
- and update the [binder](http://mybinder.org) so it can be shared with the world!

<img src="./images/binders.png" width="50%">


## In EM GeoSci

To add the binder badge to an rst file, include:

```
.. image:: http://mybinder.org/badge.svg :target: http://mybinder.org/repo/ubcgif/em_examples
```

and if you would like to point directly to a specific example, append the path to the url, ie.

```
.. image:: http://mybinder.org/badge.svg :target: http://mybinder.org/repo/ubcgif/em_examples/notebooks/geophysical_surveys/DCR_Pseudo-section_Simulation.ipynb
```

{'fraction_non_alphanumeric': 0.13501742160278746, 'fraction_numerical': 0.0017421602787456446, 'mean_word_length': 4.430260047281324, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7259239', 'n_tokens_mistral': 815, 'n_tokens_neox': 770, 'n_words': 230}