%% Live Render https://mermaid-js.github.io/mermaid-live-editor/edit#eyJjb2RlIjoiZ3JhcGggTFJcbiAgICAlJXN1YmdyYXBoIE91dHB1dHNcbiAgICAgICAgY29tcGxleC1jaXJjdWl0LWJvYXJkW0NvbXBsZXggQ2lyY3VpdCBCb2FyZF1cbiAgICAlJWVuZFxuXG4gICAgJSVzdWJncmFwaCBSYXcgTWF0ZXJpYWxzXG4gICAgICAgIGFsdW1pbml1bS1wbGF0ZVtBbHVtaW5pdW0gUGxhdGVdXG4gICAgICAgIGFtbW9uaWFbQW1tb25pYV1cbiAgICAgICAgYXJhbWlkLWZpYmVyW0FyYW1pZCBGaWJlcl1cbiAgICAgICAgYXJvbWF0aWNzW0Fyb21hdGljc11cbiAgICAgICAgYXNoW0FzaF1cbiAgICAgICAgYmVuemVuZVtCZW56ZW5lXVxuICAgICAgICBib3JheFtCb3JheF1cbiAgICAgICAgY2FyYm9uLWRpb3hpZGVbQ2FyYm9uIERpb3hpZGVdXG4gICAgICAgIGNlcmFtaWNbQ2VyYW1pY11cbiAgICAgICAgY2VybWV0W0Nlcm1ldF1cbiAgICAgICAgY2hsb3JpbmVbQ2hsb3JpbmVdXG4gICAgICAgIGNocm9taXVtW0Nocm9taXVtXVxuICAgICAgICBjbGFkZGluZ1tDbGFkZGluZ11cbiAgICAgICAgY29rZVtDb2tlXVxuICAgICAgICBjb3BwZXItY2FibGVbQ29wcGVyIENhYmxlXVxuICAgICAgICBjb3BwZXItY29hdGluZ1tDb3BwZXIgQ29hdGluZ11cbiAgICAgICAgY29wcGVyLXBsYXRlW0NvcHBlciBQbGF0ZV1cbiAgICAgICAgY3J1c2hlZC1xdWFydHpbQ3J1c2hlZCBRdWFydHpdXG4gICAgICAgIGZpYmVyYm9hcmRbRmli
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| from astropy.io import fits | |
| def make_fits_axis_array(hdu, axis): | |
| count = hdu.header[f"NAXIS{axis}"] | |
| crval = hdu.header[f"CRVAL{axis}"] | |
| cdelt = hdu.header[f"CDELT{axis}"] | |
| crpix = hdu.header[f"CRPIX{axis}"] | |
| return cdelt * (np.arange(count) - crpix) + crval |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -l | |
| #SBATCH -J "*:~.✩" | |
| #SBATCH --nodes=1 | |
| #SBATCH --ntasks-per-node=1 | |
| #SBATCH --account=mwaeor | |
| #SBATCH --export=NONE | |
| #SBATCH --partition=gpuq | |
| #SBATCH --cpus-per-task=32 | |
| #SBATCH --mem=350G | |
| #SBATCH --tmp=500G |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0eNqdvc1uXTnSZn0rDY/lwuY/WYMe9hX07EMh4bRdmQKctj9ZTnShUffee8s6R8cyn3OexUH5fZ2WFrkZDJIRDEb83ze/f/r+8evD/efHN//8v2++fX739e3jl7d/PNx/OP7+f978M9S7N/85/s9/7968+/3bl0/fHz++PX7u6/3nP9788/Hh+8e7N/fvv3z+9uaf/99OuP/j87tPx+8+/ufrxzf/fHP/+PGvN3dvPr/76/jbw7v7T2920v3nDx8P+H/vJr/y9/3D4/f9v5x/68dP7L36+PHzxW/H//7r7s3Hz4/3j/cff7T+9Jf//Pb5+1+/f3zY8S/tfvn9y9cvD4878+uXb/svfPn88/e9Tf89+vIKEA1AzVcAyelBiFcI2fqG7QqhGIS49SuE6hDKtYFsBiFt10ayO4RybSSHQcjbtZEMm4PI14YyvMzJ3+//ePvx08f3jw/3799+/fLpo5yc2z7nP3+8/+PP3798fzhmesj/mrFfpuu3x13T/vjz8e2Twv0qrPGji2HaxfSTur591s+JvP5RfmD2/2fv4Yf7h/1jnv49z7CZfHmK4svDXdji9OuL+/WpXPv6Srr5rPy/dnObS6gh6QcxCHGbwrs7ACFeHYHhyT/EiiZA3NDHxy6Gtu0zoM4GIAZ7AFK4MgAxMh3d1Bzo014mQj8tzBP6mNKRlp0W7YmaTadYLEiHN6UdIUzpSPVOi/2v2tHvds2ZNvCift/+evfp09tP7/76OiOny4k9A3XU0ypkuH9wnEtxIH7PciTSVI4JqeJpU/yVP+5SmvJtTczHbiM1MUVvKcoho6UoIR3MahvehzHMt+KU/QG4thcnpHCno8dE4aYLZro42L378O5htrg9j2ucK0Jq8Mgx/8punjhOeinUMg14BJj2Jm83RyXE68OSA92K5z2J7k48rg9MTnRnnPcn3xqZfbu6MTLlFmLfNW4gqrmKbzcG5WXufvryx/23x12v3v/58dvj29+///vfHx+uIcPTKvPw8f//vv/8b/+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # particle physics simulation of charged particles in a toroidal field with electrostatic repoulsion | |
| # (basically all the fish are attracted to an invisible rotating donut, and repelled by each other | |
| # assumes all particles of equal mass and charge | |
| # constant simulation parameters: | |
| # screen size | |
| SS = 800 | |
| # number of particles | |
| NP = 16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Benchmark details: | |
| # test was done to/from /tmp mounted in memory to remove disk io variability | |
| # - observation: 46GiB, 214-timestep, 768-channel, 128-tile, 0.5s / 40kHz | |
| # - virtual machine: 64 cores, 256GB of memory, Nimbus. | |
| # - corrections: cable delays, digital gains, pfb passband, geometric delays, | |
| # 8x time averaging, 4x frequency averaging, aoflagger disabled because not support | |
| # - software versions: | |
| # - Birli 0.6.3 | |
| # - Cotter 4.6 | |
| # - Pyuvdata 2.2.8 on Python 3.8.10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generate messages in background | |
| (while true; do echo "$(vcgencmd measure_volts) $(vcgencmd measure_temp)" | systemd-cat; sleep 1; done)& | |
| # View messages | |
| journalctl -f |