Comments (2)
Hi @kousikkun, if you launch from within IPython, you need to also run import flika
and then use the long name of the function. For subtract and ratio, these are flika.process.subtract
and flika.process.ratio
. The short names only work if you launch flika from a non-IPython terminal and you open the Script Editor. If you'd still like to use the shortened names, you can run in IPython:
from flika.process import *
generate_random_image()
gaussian_blur(sigma=2)
For instance, I followed these steps and was able to use ratio()
.
- Open a terminal on my Mac (Ventura 13.5.1).
- Clean install of python using a new venv (Python 3.11.7)
- Clean install of flika using and
pip install flika
- Launch of IPython using
ipython
command in the terminal - Launch of flika using
from flika import *; start_flika()
- Importing flika using
from flika.process import *
- Generate a random image using
generate_random_image(500, 20)
- Applying the ratio function using
ratio(0, 100, 'average', 0, True)
from flika.
Hello! Thanks it works fine.
Best,
Kousik
from flika.
Related Issues (20)
- Kymograph update function fails on out of bounds HOT 1
- PolyLine selector fails on remove link HOT 1
- Permission error saving plugins HOT 3
- Pip installed Flika does not support drop events HOT 5
- issues with rect_line HOT 3
- tests fail with new tifffile HOT 1
- BaseProcess preview and Window switch
- Add a 'subtract black level' feature to the ratio by baseline.
- Error exporting to external hard drive
- Silent plugin errors
- viewing n-dimensional array HOT 1
- pyside?? pyside2?? impossible situation? HOT 7
- Kymograph of a rectangle ROI HOT 2
- Cannot open flika on macOS Catalina HOT 4
- Plugin Manager HOT 2
- Butterworth filter HOT 4
- ImportError: DLL load failed while importing _rolling_ball_cy: The specified module could not be found. HOT 4
- Error when starting FLIKA - Assertion Error HOT 5
- Unable to install plugins in clean install HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flika.