Skip to content

Instantly share code, notes, and snippets.

module Issue22125
import Base: convert
# Define some "Field" types which are basically a wrapper around a 2-D matrix,
# whose size is known at compile-time (i.e. "Nside"), which can converted
# between "map" and "fourier" bases via FFT
abstract type Pix end
abstract type Flat{Nside} <: Pix end
<scheduler_request>
<authenticator>f45d2862ed21aca86b1cd540a2499470</authenticator>
<hostid>0</hostid>
<rpc_seqno>0</rpc_seqno>
<core_client_major_version>7</core_client_major_version>
<core_client_minor_version>6</core_client_minor_version>
<core_client_release>31</core_client_release>
<resource_share_fraction>1.000000</resource_share_fraction>
<rrs_fraction>1.000000</rrs_fraction>
<prrs_fraction>1.000000</prrs_fraction>
@marius311
marius311 / clvariance.ipynb
Created May 5, 2021 19:44
Cl variance example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@marius311
marius311 / dynamic_imports.jl
Last active April 1, 2022 21:13
An idea for putting imports inside of Julia functions
using Profile
"""
@dynamic import Foo[: bar, baz, ...]
Allows you to put an import inside of a function. The package won't be
loaded until the first time the function gets run. Note that, in order
to avoid world-age errors, the function is effectively "restarted from