ixio import *
import numpy as np
import matplotlib.pylab as plt
%matplotlib inline
from utils.notebook import print_stats
from utils.plotting import Plotter<jupyter_output><empty_output><jupyter_text>Open a file and inspect its content<jupyter_code>f = File.open("data/pvc-7.nix.h5", FileMode.ReadOnly)

print_stats(f.blocks)
block = f.blocks[0]

print_stats(block.data_arrays)
print_stats(block.tags)<jupyter_output>DataArrays                                         (05)
	type: runspeed                             (01)
	type: movie                                (02)
	type: stimulus                             (01)
	type: imaging                              (01)

Tags                                               (01)
	type: recording                            (01)<jupyter_text>Explore Stimulus<jupyter_code># get recording tag
recording = block.tags[0]

# stimulus combinations array
stimulus = recording.features[0].data
# display the stimulus conditions
for label in stimulus.dimensions[0].labels:
    print label +':',
print '\n'

# actual stimulus condition values
for cmb in stimulus.data[:]:
    for x in cmb:
        print "%.2f\t" % x,
    print '\n'
# get particular stimulus combination
index = 2
print "a stimulus combination %s" % str(stimulus.data[index])
# find out when stimulus was displayed
start = recording.position[index]
end = recording.extent[index]

print "was displayed from frame %d to frame %d" % (start, end)<jupyter_output>was displayed from frame 5314 to frame 5404<jupyter_text>Explore video and imaging data<jupyter_code># get movie arrays from file
movies = filter(lambda x: x.type =='movie', recording.references)
print_stats(movies)
# get mouse image at the beginning of the selected stimulus
mouse = movies[1]
image_index = int(np.where(np.array(mouse.dimensions[0].ticks) > start)[0][0])

plt.imshow(mouse.data[image_index])
# get eye image at the end of the selected stimulus
eye = movies[0]
image_index = int(np.where(np.array(eye.dimensions[0].ticks) > end)[0][0])

plt.imshow(eye.data[image_index])
# get 2-photon image at the beginning of the selected stimulus
imaging = filter(lambda x: x.type == 'imaging', recording.references)[0]

image_index = int(np.where(np.array(imaging.dimensions[0].ticks) > start)[0][0])

plt.imshow(imaging.data[image_index])
# plot mouse speed in the whole window (TODO: add stimulus events)
speeds = filter(lambda x: x.type == 'runspeed', recording.references)[0]

p = Plotter()
p.add(speeds)
p.plot()
f.close()<jupyter_output><empty_output>Potato plant is a nutritious choice for keeping your wine cellar full in winter! Gardeners who grow big harvests need to keep a few things in mind when harvesting potatoes to prolong the life of their delicious bounty. The following content also has some reference value for raised garden beds.
While the growing season is filled with high humidity weather, in order for them to last through the winter, they prefer a cool and moisture-free environment for storage. Storage can only take place after a process called curing, in which the starch in the sweet potato turns into sugar and the tuber forms a second skin that makes it more resistant to damage.
Long-term storage has been perfected over the centuries and has evolved with human technology. For those living in energy efficient homes or off-grid environments, sweet potatoes can still be stored outside in the old "banking method". Can also be stored in crates and boxes for gardeners looking for a more accessible method. Home cooks can also boil and then freeze potatoes so they have family fries or baby food on hand.
To further increase your chances of a successful harvest, look for varieties that are known to have a longer shelf life or that are best suited to your garden conditions and growing area. Getting healthy tubers is one of the best indicators of your storage success!
The sweet potatoes are ready to be harvested when their tubers start to stick out of the ground and their vines start to turn yellow. If you know what variety to plant, you can better guess the harvest date by looking at its expected growth time.
For backyard and homestead growers, there are two main ways to harvest sweet potatoes. The first is to simply dig the roots out of the ground with your hands and small hand tools. It's actually quite satisfying to get your hands in the dirt and feel these wonderful tubers in the soil. Another way is to use a tool called a garden fork. Insert a fork well outside the growing area of ​​the roots and lift the soil. Continue digging until you gradually get closer to the roots of the plant.
Don't wash the roots right after taking them out of the ground, no matter how tempting it is. It's okay to leave some soil on the potatoes during the pickling process, just brush off any large mounds of dirt you find at the roots.
After harvest, sweet potatoes need to be pickled immediately. During this process, the starch turns into sugar, which makes the potatoes sweeter, and the roots also lose their moisture content. Post-harvest flavors develop over time, which means you do need some patience. This is why sweet potatoes are great for storage.
For proper curing, keep the potatoes in the shade outside the garden for the remainder of the harvest. It would be better if there was a breeze. That night, move the tubers to a place with high humidity and leave for 7-14 days while curing. Ideally, try to keep the heat as high as possible, around 80 degrees if possible. If in a cool climate, cure for another week.
There are several ways to heal these delicious roots. Depending on your conditions, choose the method that works best for you. Each of these options uses a different method to keep moisture out of the tubers, keep them cool (60f is best) and keep the roots dry throughout storage. If done correctly, your crop can last for months or even a year.
The banking method of storing potatoes is probably the most complicated, but it's perfect for storing harvests on small farms. The bank approach was done outdoors and created a cottage-like structure to protect the potatoes from the elements without taking up valuable cellar space.
To create, find a sloping piece of land and dig a shallow hole about six feet wide and one foot deep. Cover the bottom of the hole with straw or dried leaves and start layering the potatoes, keeping the potatoes pointed up and down. Place potatoes around the center upright pole to help provide ventilation. Once you've made one layer, lay down a few more inches of straw and continue to make another layer until you run out of sweet potatoes. Once done, cover it with straw again and create a cone-like structure with planks around it to protect it from the elements. Finally, cover the planks with dirt. The resulting conical structure should provide good storage for several months, or even up to a year.
Sand method is a way to protect against sunlight and other elements that can damage sweet potato roots. However, since this method does not allow for good ventilation, it is not as highly recommended as the other methods.
Put the sweet potatoes in a bucket or bucket (make sure it's opaque and doesn't let light in) and sand the sweet potatoes. Make sure the potatoes don't touch each other. Store in a warm cellar.
Store cured tubers in a cool dark closet or well-ventilated room, or in a large pantry or storage room. If you're concerned about exposing them to the sun, try wrapping individual sweet potatoes in newspaper to keep them out of the light, but allow for air movement. Ideally, the storage temperature will be close to 55 – 60f.
A modern and labor-intensive way to store sweet potatoes is to freeze them. This is ideal for backyard gardeners with small crops or a large freezer.
Tubers cannot be frozen immediately. After the marinating process is complete, peel, cut and cook the sweet potatoes until fork soft. Freeze cut or mashed sweet potatoes immediately after boiling. This is perfect for sweet potato fries or individually portioned baby food.Mentored FileMaker training is one-to-one training with an experienced, fully accredited FileMaker developer, who will work with you to achieve your business needs. Whether that’s helping to plan and build an application alongside you from scratch, shedding light on some of the more complex FileMaker development techniques so you’re able to use them on an existing application yourself or working with you to avoid any potential pitfalls when planning a complex piece of functionality for a legacy system. If you need a File