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
| >>> from astropy.modeling import models, fitting | |
| >>> import asdf | |
| >>> import numpy as np | |
| >>> x = np.random.random(100) | |
| >>> y = np.random.random(100) | |
| >>> | |
| >>> mymodel = models.Polynomial1D(degree=3) | |
| >>> fitter = fitting.LevMarLSQFitter() | |
| >>> myfit = fitter(mymodel,x,y) | |
| WARNING: Model is linear in parameters; consider using linear fitting methods. [astropy.modeling.fitting] |
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
| # I'll be doing another one for Linux, but this one will give you | |
| # a pop up notification and sound alert (using the built-in sounds for macOS) | |
| # Requires https://github.com/caarlos0/timer to be installed | |
| # Mac setup for pomo | |
| alias work="timer 60m && terminal-notifier -message 'Pomodoro'\ | |
| -title 'Work Timer is up! Take a Break 😊'\ | |
| -appIcon '~/Pictures/pumpkin.png'\ | |
| -sound Crystal" |
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
| /* | |
| * Kevin Powell | |
| * https://youtu.be/cCAtD_BAHNw | |
| */ | |
| *, *::before, *::after { | |
| box-sizing: border-box; | |
| } | |
| * { |
OlderNewer